Geant4 9.6.0
Toolkit for the simulation of the passage of particles through matter
Loading...
Searching...
No Matches
G4HadronInelasticDataSet Class Reference

#include <G4HadronInelasticDataSet.hh>

+ Inheritance diagram for G4HadronInelasticDataSet:

Public Member Functions

 G4HadronInelasticDataSet (const G4String &name="GheishaInelastic")
 
virtual ~G4HadronInelasticDataSet ()
 
virtual void CrossSectionDescription (std::ostream &) const
 
virtual G4bool IsElementApplicable (const G4DynamicParticle *aParticle, G4int, const G4Material *)
 
virtual G4double GetElementCrossSection (const G4DynamicParticle *aParticle, G4int Z, const G4Material *)
 
- Public Member Functions inherited from G4VCrossSectionDataSet
 G4VCrossSectionDataSet (const G4String &nam="")
 
virtual ~G4VCrossSectionDataSet ()
 
virtual G4bool IsElementApplicable (const G4DynamicParticle *, G4int Z, const G4Material *mat=0)
 
virtual G4bool IsIsoApplicable (const G4DynamicParticle *, G4int Z, G4int A, const G4Element *elm=0, const G4Material *mat=0)
 
G4double GetCrossSection (const G4DynamicParticle *, const G4Element *, const G4Material *mat=0)
 
G4double ComputeCrossSection (const G4DynamicParticle *, const G4Element *, const G4Material *mat=0)
 
virtual G4double GetElementCrossSection (const G4DynamicParticle *, G4int Z, const G4Material *mat=0)
 
virtual G4double GetIsoCrossSection (const G4DynamicParticle *, G4int Z, G4int A, const G4Isotope *iso=0, const G4Element *elm=0, const G4Material *mat=0)
 
virtual G4IsotopeSelectIsotope (const G4Element *, G4double kinEnergy)
 
virtual void BuildPhysicsTable (const G4ParticleDefinition &)
 
virtual void DumpPhysicsTable (const G4ParticleDefinition &)
 
virtual void CrossSectionDescription (std::ostream &) const
 
void SetVerboseLevel (G4int value)
 
G4double GetMinKinEnergy () const
 
void SetMinKinEnergy (G4double value)
 
G4double GetMaxKinEnergy () const
 
void SetMaxKinEnergy (G4double value)
 
const G4StringGetName () const
 

Additional Inherited Members

- Protected Member Functions inherited from G4VCrossSectionDataSet
void SetName (const G4String &)
 
- Protected Attributes inherited from G4VCrossSectionDataSet
G4int verboseLevel
 

Detailed Description

Definition at line 43 of file G4HadronInelasticDataSet.hh.

Constructor & Destructor Documentation

◆ G4HadronInelasticDataSet()

G4HadronInelasticDataSet::G4HadronInelasticDataSet ( const G4String name = "GheishaInelastic")

Definition at line 38 of file G4HadronInelasticDataSet.cc.

40{
41 theHadronCrossSections = G4HadronCrossSections::Instance();
42}
static G4HadronCrossSections * Instance()

◆ ~G4HadronInelasticDataSet()

G4HadronInelasticDataSet::~G4HadronInelasticDataSet ( )
virtual

Definition at line 45 of file G4HadronInelasticDataSet.cc.

45{}

Member Function Documentation

◆ CrossSectionDescription()

void G4HadronInelasticDataSet::CrossSectionDescription ( std::ostream &  outFile) const
virtual

Reimplemented from G4VCrossSectionDataSet.

Definition at line 48 of file G4HadronInelasticDataSet.cc.

49{
50 outFile << "G4HadronInelasticDataSet contains inelastic cross sections\n"
51 << "for all long-lived hadrons at all incident energies. It was\n"
52 << "developed as part of the Gheisha hadronic package\n"
53 << "by H. Fesefeldt, and consists of a set of parameterizations\n"
54 << "of inelastic scattering data.\n";
55}

◆ GetElementCrossSection()

G4double G4HadronInelasticDataSet::GetElementCrossSection ( const G4DynamicParticle aParticle,
G4int  Z,
const G4Material  
)
virtual

Reimplemented from G4VCrossSectionDataSet.

Definition at line 67 of file G4HadronInelasticDataSet.cc.

70{
71 G4int A = G4lrint(G4NistManager::Instance()->GetAtomicMassAmu(Z));
72 return theHadronCrossSections->GetInelasticCrossSection(aParticle, Z, A);
73}
int G4int
Definition: G4Types.hh:66
G4double GetInelasticCrossSection(const G4DynamicParticle *, G4int, G4int)
static G4NistManager * Instance()
int G4lrint(double ad)
Definition: templates.hh:163

◆ IsElementApplicable()

G4bool G4HadronInelasticDataSet::IsElementApplicable ( const G4DynamicParticle aParticle,
G4int  ,
const G4Material  
)
virtual

Reimplemented from G4VCrossSectionDataSet.

Definition at line 59 of file G4HadronInelasticDataSet.cc.

62{
63 return theHadronCrossSections->IsApplicable(aParticle);
64}
G4bool IsApplicable(const G4DynamicParticle *aParticle)

The documentation for this class was generated from the following files: