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

#include <G4HadronElasticDataSet.hh>

+ Inheritance diagram for G4HadronElasticDataSet:

Public Member Functions

 G4HadronElasticDataSet (const G4String &name="GheishaElastic")
 
virtual ~G4HadronElasticDataSet ()
 
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 44 of file G4HadronElasticDataSet.hh.

Constructor & Destructor Documentation

◆ G4HadronElasticDataSet()

G4HadronElasticDataSet::G4HadronElasticDataSet ( const G4String name = "GheishaElastic")

Definition at line 40 of file G4HadronElasticDataSet.cc.

42{
43 theHadronCrossSections = G4HadronCrossSections::Instance();
44}
static G4HadronCrossSections * Instance()

◆ ~G4HadronElasticDataSet()

G4HadronElasticDataSet::~G4HadronElasticDataSet ( )
virtual

Definition at line 47 of file G4HadronElasticDataSet.cc.

47{}

Member Function Documentation

◆ CrossSectionDescription()

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

Reimplemented from G4VCrossSectionDataSet.

Definition at line 50 of file G4HadronElasticDataSet.cc.

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

◆ GetElementCrossSection()

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

Reimplemented from G4VCrossSectionDataSet.

Definition at line 69 of file G4HadronElasticDataSet.cc.

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

◆ IsElementApplicable()

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

Reimplemented from G4VCrossSectionDataSet.

Definition at line 61 of file G4HadronElasticDataSet.cc.

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

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