Geant4  10.03
G4ParticleHPThermalScatteringData Class Reference

#include <G4ParticleHPThermalScatteringData.hh>

+ Inheritance diagram for G4ParticleHPThermalScatteringData:
+ Collaboration diagram for G4ParticleHPThermalScatteringData:

Public Member Functions

 G4ParticleHPThermalScatteringData ()
 
 ~G4ParticleHPThermalScatteringData ()
 
G4bool IsIsoApplicable (const G4DynamicParticle *, G4int, G4int, const G4Element *, const G4Material *)
 
G4double GetIsoCrossSection (const G4DynamicParticle *, G4int, G4int, const G4Isotope *, const G4Element *, const G4Material *)
 
G4bool IsApplicable (const G4DynamicParticle *, const G4Element *)
 
G4double GetCrossSection (const G4DynamicParticle *, const G4Element *, const G4Material *)
 
G4double GetInelasticCrossSection (const G4DynamicParticle *, const G4Element *, const G4Material *)
 
G4double GetCoherentCrossSection (const G4DynamicParticle *, const G4Element *, const G4Material *)
 
G4double GetIncoherentCrossSection (const G4DynamicParticle *, const G4Element *, const G4Material *)
 
void BuildPhysicsTable (const G4ParticleDefinition &)
 
void DumpPhysicsTable (const G4ParticleDefinition &)
 
void AddUserThermalScatteringFile (G4String, G4String)
 
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=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 G4Isotope * SelectIsotope (const G4Element *, G4double kinEnergy)
 
virtual G4int GetVerboseLevel () const
 
virtual void SetVerboseLevel (G4int value)
 
G4double GetMinKinEnergy () const
 
void SetMinKinEnergy (G4double value)
 
G4double GetMaxKinEnergy () const
 
void SetMaxKinEnergy (G4double value)
 
const G4String & GetName () const
 

Private Member Functions

G4double GetX (const G4DynamicParticle *, G4double aT, std::map< G4double, G4ParticleHPVector * > *)
 
void clearCurrentXSData ()
 
std::map< G4double,
G4ParticleHPVector * > * 
readData (G4String)
 
G4int getTS_ID (const G4Material *, const G4Element *)
 

Private Attributes

G4double emax
 
std::map< G4int, std::map
< G4double, G4ParticleHPVector * > * > * 
coherent
 
std::map< G4int, std::map
< G4double, G4ParticleHPVector * > * > * 
incoherent
 
std::map< G4int, std::map
< G4double, G4ParticleHPVector * > * > * 
inelastic
 
std::vector< G4int > indexOfThermalElement
 
G4ParticleHPThermalScatteringNames * names
 
G4double ke_cache
 
G4double xs_cache
 
const G4Element * element_cache
 
const G4Material * material_cache
 
std::map< std::pair< const
G4Material *, const G4Element * >
, G4int > 
dic
 

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 61 of file G4ParticleHPThermalScatteringData.hh.

Constructor & Destructor Documentation

G4ParticleHPThermalScatteringData::G4ParticleHPThermalScatteringData ( )

Definition at line 56 of file G4ParticleHPThermalScatteringData.cc.

References element_cache, emax, eV, indexOfThermalElement, ke_cache, material_cache, MeV, names, G4VCrossSectionDataSet::SetMaxKinEnergy(), G4VCrossSectionDataSet::SetMinKinEnergy(), and xs_cache.

+ Here is the call graph for this function:

G4ParticleHPThermalScatteringData::~G4ParticleHPThermalScatteringData ( )

Definition at line 77 of file G4ParticleHPThermalScatteringData.cc.

References clearCurrentXSData(), and names.

+ Here is the call graph for this function:

Member Function Documentation

void G4ParticleHPThermalScatteringData::AddUserThermalScatteringFile ( G4String  nameG4Element,
G4String  filename 
)

Definition at line 568 of file G4ParticleHPThermalScatteringData.cc.

References G4ParticleHPThermalScatteringNames::AddThermalElement(), and names.

Referenced by G4ParticleHPThermalScattering::AddUserThermalScatteringFile().

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

void G4ParticleHPThermalScatteringData::BuildPhysicsTable ( const G4ParticleDefinition &  aP)
virtual
void G4ParticleHPThermalScatteringData::clearCurrentXSData ( )
private

Definition at line 128 of file G4ParticleHPThermalScatteringData.cc.

References coherent, incoherent, and inelastic.

Referenced by BuildPhysicsTable(), and ~G4ParticleHPThermalScatteringData().

+ Here is the caller graph for this function:

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

Reimplemented from G4VCrossSectionDataSet.

Definition at line 572 of file G4ParticleHPThermalScatteringData.cc.

void G4ParticleHPThermalScatteringData::DumpPhysicsTable ( const G4ParticleDefinition &  aP)
virtual

Reimplemented from G4VCrossSectionDataSet.

Definition at line 401 of file G4ParticleHPThermalScatteringData.cc.

References G4Neutron::Neutron().

+ Here is the call graph for this function:

G4double G4ParticleHPThermalScatteringData::GetCoherentCrossSection ( const G4DynamicParticle *  aP,
const G4Element *  anE,
const G4Material *  aM 
)

Definition at line 481 of file G4ParticleHPThermalScatteringData.cc.

References coherent, G4Material::GetTemperature(), getTS_ID(), and GetX().

Referenced by G4ParticleHPThermalScattering::ApplyYourself().

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

G4double G4ParticleHPThermalScatteringData::GetCrossSection ( const G4DynamicParticle *  aP,
const G4Element *  anE,
const G4Material *  aM 
)

Definition at line 450 of file G4ParticleHPThermalScatteringData.cc.

References coherent, G4Material::GetTemperature(), getTS_ID(), GetX(), incoherent, and inelastic.

Referenced by G4ParticleHPThermalScattering::ApplyYourself(), and GetIsoCrossSection().

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

G4double G4ParticleHPThermalScatteringData::GetIncoherentCrossSection ( const G4DynamicParticle *  aP,
const G4Element *  anE,
const G4Material *  aM 
)

Definition at line 490 of file G4ParticleHPThermalScatteringData.cc.

References G4Material::GetTemperature(), getTS_ID(), GetX(), and incoherent.

+ Here is the call graph for this function:

G4double G4ParticleHPThermalScatteringData::GetInelasticCrossSection ( const G4DynamicParticle *  aP,
const G4Element *  anE,
const G4Material *  aM 
)

Definition at line 472 of file G4ParticleHPThermalScatteringData.cc.

References G4Material::GetTemperature(), getTS_ID(), GetX(), and inelastic.

Referenced by G4ParticleHPThermalScattering::ApplyYourself().

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

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

Reimplemented from G4VCrossSectionDataSet.

Definition at line 110 of file G4ParticleHPThermalScatteringData.cc.

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

+ Here is the call graph for this function:

G4int G4ParticleHPThermalScatteringData::getTS_ID ( const G4Material *  material,
const G4Element *  element 
)
private

Definition at line 501 of file G4ParticleHPThermalScatteringData.cc.

References dic.

Referenced by GetCoherentCrossSection(), GetCrossSection(), GetIncoherentCrossSection(), and GetInelasticCrossSection().

+ Here is the caller graph for this function:

G4double G4ParticleHPThermalScatteringData::GetX ( const G4DynamicParticle *  aP,
G4double  aT,
std::map< G4double, G4ParticleHPVector * > *  amapTemp_EnergyCross 
)
private

Definition at line 514 of file G4ParticleHPThermalScatteringData.cc.

References G4cout, G4endl, G4DynamicParticle::GetKineticEnergy(), and kelvin.

Referenced by GetCoherentCrossSection(), GetCrossSection(), GetIncoherentCrossSection(), and GetInelasticCrossSection().

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

G4bool G4ParticleHPThermalScatteringData::IsApplicable ( const G4DynamicParticle *  aP,
const G4Element *  anEle 
)

Definition at line 182 of file G4ParticleHPThermalScatteringData.cc.

References emax, G4DynamicParticle::GetDefinition(), G4Element::GetIndex(), G4DynamicParticle::GetKineticEnergy(), indexOfThermalElement, and G4Neutron::Neutron().

+ Here is the call graph for this function:

G4bool G4ParticleHPThermalScatteringData::IsIsoApplicable ( const G4DynamicParticle *  dp,
G4int  ,
G4int  ,
const G4Element *  element,
const G4Material *  material 
)
virtual

Reimplemented from G4VCrossSectionDataSet.

Definition at line 85 of file G4ParticleHPThermalScatteringData.cc.

References dic, eV, G4DynamicParticle::GetDefinition(), G4DynamicParticle::GetKineticEnergy(), and G4Neutron::Neutron().

+ Here is the call graph for this function:

std::map< G4double, G4ParticleHPVector * > * G4ParticleHPThermalScatteringData::readData ( G4String  full_name)
private

Definition at line 370 of file G4ParticleHPThermalScatteringData.cc.

References barn, eV, G4ParticleHPManager::GetDataStream(), G4ParticleHPManager::GetInstance(), and G4ParticleHPVector::Init().

Referenced by BuildPhysicsTable().

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

Member Data Documentation

std::map< G4int , std::map< G4double , G4ParticleHPVector* >* >* G4ParticleHPThermalScatteringData::coherent
private
std::map< std::pair < const G4Material* , const G4Element* > , G4int > G4ParticleHPThermalScatteringData::dic
private
const G4Element* G4ParticleHPThermalScatteringData::element_cache
private
G4double G4ParticleHPThermalScatteringData::emax
private
std::map< G4int , std::map< G4double , G4ParticleHPVector* >* >* G4ParticleHPThermalScatteringData::incoherent
private
std::vector< G4int > G4ParticleHPThermalScatteringData::indexOfThermalElement
private
std::map< G4int , std::map< G4double , G4ParticleHPVector* >* >* G4ParticleHPThermalScatteringData::inelastic
private
G4double G4ParticleHPThermalScatteringData::ke_cache
private
const G4Material* G4ParticleHPThermalScatteringData::material_cache
private
G4double G4ParticleHPThermalScatteringData::xs_cache
private

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