ECCE @ EIC Software
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
G4ParticleHPElasticData Class Reference

#include <geant4/tree/geant4-10.6-release/source/processes/hadronic/models/particle_hp/include/G4ParticleHPElasticData.hh>

+ Inheritance diagram for G4ParticleHPElasticData:
+ Collaboration diagram for G4ParticleHPElasticData:

Public Member Functions

 G4ParticleHPElasticData ()
 
 ~G4ParticleHPElasticData ()
 
G4bool IsIsoApplicable (const G4DynamicParticle *, G4int, G4int, const G4Element *, const G4Material *)
 
G4double GetIsoCrossSection (const G4DynamicParticle *, G4int, G4int, const G4Isotope *, const G4Element *, const G4Material *)
 
G4double GetCrossSection (const G4DynamicParticle *, const G4Element *, G4double aT)
 
void BuildPhysicsTable (const G4ParticleDefinition &)
 
void DumpPhysicsTable (const G4ParticleDefinition &)
 
void IgnoreOnFlightDopplerBroadening ()
 
void EnableOnFlightDopplerBroadening ()
 
void SetVerboseLevel (G4int)
 
G4int GetVerboseLevel () const
 
virtual void CrossSectionDescription (std::ostream &) const
 
- Public Member Functions inherited from G4VCrossSectionDataSet
 G4VCrossSectionDataSet (const G4String &nam="")
 
virtual ~G4VCrossSectionDataSet ()
 
virtual G4bool IsElementApplicable (const G4DynamicParticle *, G4int Z, const G4Material *mat=nullptr)
 
G4double GetCrossSection (const G4DynamicParticle *, const G4Element *, const G4Material *mat=nullptr)
 
G4double ComputeCrossSection (const G4DynamicParticle *, const G4Element *, const G4Material *mat=nullptr)
 
virtual G4double GetElementCrossSection (const G4DynamicParticle *, G4int Z, const G4Material *mat=nullptr)
 
virtual const G4IsotopeSelectIsotope (const G4Element *, G4double kinEnergy, G4double logE)
 
G4double GetMinKinEnergy () const
 
void SetMinKinEnergy (G4double value)
 
G4double GetMaxKinEnergy () const
 
void SetMaxKinEnergy (G4double value)
 
bool ForAllAtomsAndEnergies () const
 
void SetForAllAtomsAndEnergies (G4bool val)
 
const G4StringGetName () const
 

Private Attributes

G4PhysicsTabletheCrossSections
 
G4bool onFlightDB
 
G4bool instanceOfWorker
 
G4double ke_cache
 
G4double xs_cache
 
const G4Elementelement_cache
 
const G4Materialmaterial_cache
 

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 51 of file G4ParticleHPElasticData.hh.

View newest version in sPHENIX GitHub at line 51 of file G4ParticleHPElasticData.hh

Constructor & Destructor Documentation

G4ParticleHPElasticData::G4ParticleHPElasticData ( )

Definition at line 49 of file G4ParticleHPElasticData.cc.

View newest version in sPHENIX GitHub at line 49 of file G4ParticleHPElasticData.cc

References element_cache, instanceOfWorker, G4Threading::IsWorkerThread(), ke_cache, material_cache, MeV, onFlightDB, G4VCrossSectionDataSet::SetMaxKinEnergy(), G4VCrossSectionDataSet::SetMinKinEnergy(), theCrossSections, and xs_cache.

+ Here is the call graph for this function:

G4ParticleHPElasticData::~G4ParticleHPElasticData ( )

Definition at line 68 of file G4ParticleHPElasticData.cc.

View newest version in sPHENIX GitHub at line 68 of file G4ParticleHPElasticData.cc

References G4PhysicsTable::clearAndDestroy(), instanceOfWorker, and theCrossSections.

+ Here is the call graph for this function:

Member Function Documentation

void G4ParticleHPElasticData::BuildPhysicsTable ( const G4ParticleDefinition aP)
virtual
void G4ParticleHPElasticData::CrossSectionDescription ( std::ostream &  outFile) const
virtual

Reimplemented from G4VCrossSectionDataSet.

Definition at line 299 of file G4ParticleHPElasticData.cc.

View newest version in sPHENIX GitHub at line 299 of file G4ParticleHPElasticData.cc

void G4ParticleHPElasticData::DumpPhysicsTable ( const G4ParticleDefinition aP)
virtual

Reimplemented from G4VCrossSectionDataSet.

Definition at line 157 of file G4ParticleHPElasticData.cc.

View newest version in sPHENIX GitHub at line 157 of file G4ParticleHPElasticData.cc

References barn, eV, G4cout, G4endl, G4ThreadLocal, G4Element::GetElementTable(), G4Pow::GetInstance(), G4Element::GetNumberOfElements(), MeV, G4Neutron::Neutron(), and G4Pow::powA().

+ Here is the call graph for this function:

void G4ParticleHPElasticData::EnableOnFlightDopplerBroadening ( )
inline

Definition at line 84 of file G4ParticleHPElasticData.hh.

View newest version in sPHENIX GitHub at line 84 of file G4ParticleHPElasticData.hh

References onFlightDB.

G4double G4ParticleHPElasticData::GetCrossSection ( const G4DynamicParticle aP,
const G4Element anE,
G4double  aT 
)

Definition at line 213 of file G4ParticleHPElasticData.cc.

View newest version in sPHENIX GitHub at line 213 of file G4ParticleHPElasticData.cc

References kdfinder::abs(), eps, G4DynamicParticle::GetDefinition(), G4Element::GetIndex(), G4ReactionProduct::GetKineticEnergy(), G4DynamicParticle::GetKineticEnergy(), G4ReactionProduct::GetMass(), G4ReactionProduct::GetMomentum(), G4DynamicParticle::GetMomentum(), G4Element::GetN(), G4NucleiProperties::GetNuclearMass(), G4ParticleDefinition::GetPDGMass(), G4Nucleus::GetThermalNucleus(), G4Element::GetZ(), source.hepunit::k_Boltzmann, kelvin, G4ReactionProduct::Lorentz(), CLHEP::Hep3Vector::mag(), max, G4Neutron::Neutron(), onFlightDB, G4ReactionProduct::SetMomentum(), and theCrossSections.

Referenced by GetIsoCrossSection().

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

G4double G4ParticleHPElasticData::GetIsoCrossSection ( const G4DynamicParticle dp,
G4int  ,
G4int  ,
const G4Isotope ,
const G4Element element,
const G4Material material 
)
virtual

Reimplemented from G4VCrossSectionDataSet.

Definition at line 91 of file G4ParticleHPElasticData.cc.

View newest version in sPHENIX GitHub at line 91 of file G4ParticleHPElasticData.cc

References element_cache, GetCrossSection(), G4DynamicParticle::GetKineticEnergy(), ke_cache, material(), material_cache, and xs_cache.

+ Here is the call graph for this function:

G4int G4ParticleHPElasticData::GetVerboseLevel ( ) const
virtual

Reimplemented from G4VCrossSectionDataSet.

Definition at line 289 of file G4ParticleHPElasticData.cc.

View newest version in sPHENIX GitHub at line 289 of file G4ParticleHPElasticData.cc

References G4ParticleHPManager::GetInstance(), and G4ParticleHPManager::GetVerboseLevel().

+ Here is the call graph for this function:

void G4ParticleHPElasticData::IgnoreOnFlightDopplerBroadening ( )
inline

Definition at line 83 of file G4ParticleHPElasticData.hh.

View newest version in sPHENIX GitHub at line 83 of file G4ParticleHPElasticData.hh

References onFlightDB.

G4bool G4ParticleHPElasticData::IsIsoApplicable ( const G4DynamicParticle dp,
G4int  ,
G4int  ,
const G4Element ,
const G4Material  
)
virtual

Reimplemented from G4VCrossSectionDataSet.

Definition at line 77 of file G4ParticleHPElasticData.cc.

View newest version in sPHENIX GitHub at line 77 of file G4ParticleHPElasticData.cc

References G4DynamicParticle::GetDefinition(), G4DynamicParticle::GetKineticEnergy(), G4VCrossSectionDataSet::GetMaxKinEnergy(), G4VCrossSectionDataSet::GetMinKinEnergy(), and G4Neutron::Neutron().

+ Here is the call graph for this function:

void G4ParticleHPElasticData::SetVerboseLevel ( G4int  newValue)
virtual

Reimplemented from G4VCrossSectionDataSet.

Definition at line 295 of file G4ParticleHPElasticData.cc.

View newest version in sPHENIX GitHub at line 295 of file G4ParticleHPElasticData.cc

References G4ParticleHPManager::GetInstance(), and G4ParticleHPManager::SetVerboseLevel().

+ Here is the call graph for this function:

Member Data Documentation

const G4Element* G4ParticleHPElasticData::element_cache
private

Definition at line 98 of file G4ParticleHPElasticData.hh.

View newest version in sPHENIX GitHub at line 98 of file G4ParticleHPElasticData.hh

Referenced by G4ParticleHPElasticData(), and GetIsoCrossSection().

G4bool G4ParticleHPElasticData::instanceOfWorker
private

Definition at line 94 of file G4ParticleHPElasticData.hh.

View newest version in sPHENIX GitHub at line 94 of file G4ParticleHPElasticData.hh

Referenced by G4ParticleHPElasticData(), and ~G4ParticleHPElasticData().

G4double G4ParticleHPElasticData::ke_cache
private

Definition at line 96 of file G4ParticleHPElasticData.hh.

View newest version in sPHENIX GitHub at line 96 of file G4ParticleHPElasticData.hh

Referenced by G4ParticleHPElasticData(), and GetIsoCrossSection().

const G4Material* G4ParticleHPElasticData::material_cache
private

Definition at line 99 of file G4ParticleHPElasticData.hh.

View newest version in sPHENIX GitHub at line 99 of file G4ParticleHPElasticData.hh

Referenced by G4ParticleHPElasticData(), and GetIsoCrossSection().

G4bool G4ParticleHPElasticData::onFlightDB
private
G4PhysicsTable* G4ParticleHPElasticData::theCrossSections
private

Definition at line 92 of file G4ParticleHPElasticData.hh.

View newest version in sPHENIX GitHub at line 92 of file G4ParticleHPElasticData.hh

Referenced by BuildPhysicsTable(), G4ParticleHPElasticData(), GetCrossSection(), and ~G4ParticleHPElasticData().

G4double G4ParticleHPElasticData::xs_cache
private

Definition at line 97 of file G4ParticleHPElasticData.hh.

View newest version in sPHENIX GitHub at line 97 of file G4ParticleHPElasticData.hh

Referenced by G4ParticleHPElasticData(), and GetIsoCrossSection().


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