G4CrossSectionHandler Class Reference

#include <G4CrossSectionHandler.hh>

Inheritance diagram for G4CrossSectionHandler:

Inheritance graph
[legend]
List of all members.

Detailed Description

Definition at line 59 of file G4CrossSectionHandler.hh.

Public Member Functions

 G4CrossSectionHandler ()
 ~G4CrossSectionHandler ()
void Initialise (G4VDataSetAlgorithm *interpolation=0, G4double minE=250 *eV, G4double maxE=100 *GeV, G4int numberOfBins=200, G4double unitE=MeV, G4double unitData=barn, G4int minZ=1, G4int maxZ=99)
G4int SelectRandomAtom (const G4MaterialCutsCouple *couple, G4double e) const
const G4ElementSelectRandomElement (const G4MaterialCutsCouple *material, G4double e) const
G4int SelectRandomShell (G4int Z, G4double e) const
G4VEMDataSetBuildMeanFreePathForMaterials (const G4DataVector *energyCuts=0)
G4double FindValue (G4int Z, G4double e) const
G4double FindValue (G4int Z, G4double e, G4int shellIndex) const
G4double ValueForMaterial (const G4Material *material, G4double e) const
void LoadData (const G4String &dataFile)
void LoadShellData (const G4String &dataFile)
void PrintData () const
void Clear ()

Protected Member Functions

virtual std::vector< G4VEMDataSet * > * BuildCrossSectionsForMaterials (const G4DataVector &energyVector, const G4DataVector *energyCuts=0)
G4int NumberOfComponents (G4int Z) const
void ActiveElements ()
virtual G4VDataSetAlgorithmCreateInterpolation ()
const G4VDataSetAlgorithmGetInterpolation () const

Private Member Functions

 G4CrossSectionHandler (const G4CrossSectionHandler &)
G4CrossSectionHandleroperator= (const G4CrossSectionHandler &right)


Constructor & Destructor Documentation

G4CrossSectionHandler::G4CrossSectionHandler (  ) 

Definition at line 55 of file G4CrossSectionHandler.cc.

G4CrossSectionHandler::~G4CrossSectionHandler (  ) 

Definition at line 58 of file G4CrossSectionHandler.cc.

G4CrossSectionHandler::G4CrossSectionHandler ( const G4CrossSectionHandler  )  [private]


Member Function Documentation

void G4VCrossSectionHandler::ActiveElements (  )  [protected, inherited]

Definition at line 619 of file G4VCrossSectionHandler.cc.

References G4VCrossSectionHandler::activeZ, G4DataVector::contains(), G4Exception(), G4Material::GetMaterialTable(), G4Material::GetNumberOfMaterials(), m, G4VCrossSectionHandler::zMax, and G4VCrossSectionHandler::zMin.

Referenced by G4VCrossSectionHandler::Clear(), and G4VCrossSectionHandler::G4VCrossSectionHandler().

Here is the call graph for this function:

std::vector< G4VEMDataSet * > * G4CrossSectionHandler::BuildCrossSectionsForMaterials ( const G4DataVector energyVector,
const G4DataVector energyCuts = 0 
) [protected, virtual]

Implements G4VCrossSectionHandler.

Definition at line 62 of file G4CrossSectionHandler.cc.

References G4VEMDataSet::AddComponent(), G4VDataSetAlgorithm::Clone(), G4VCrossSectionHandler::CreateInterpolation(), G4VCrossSectionHandler::FindValue(), G4Material::GetAtomicNumDensityVector(), G4Material::GetElementVector(), G4MaterialCutsCouple::GetMaterial(), G4ProductionCutsTable::GetMaterialCutsCouple(), G4Material::GetNumberOfElements(), G4ProductionCutsTable::GetProductionCutsTable(), G4ProductionCutsTable::GetTableSize(), and m.

Here is the call graph for this function:

G4VEMDataSet * G4VCrossSectionHandler::BuildMeanFreePathForMaterials ( const G4DataVector energyCuts = 0  )  [inherited]

Definition at line 412 of file G4VCrossSectionHandler.cc.

References G4VEMDataSet::AddComponent(), G4VCrossSectionHandler::BuildCrossSectionsForMaterials(), G4VCrossSectionHandler::CreateInterpolation(), G4VCrossSectionHandler::crossSections, DBL_MAX, G4VCrossSectionHandler::eMax, G4VCrossSectionHandler::eMin, G4VEMDataSet::FindValue(), G4Exception(), G4VEMDataSet::GetComponent(), G4ProductionCutsTable::GetProductionCutsTable(), G4ProductionCutsTable::GetTableSize(), m, G4VCrossSectionHandler::nBins, and G4VEMDataSet::NumberOfComponents().

Referenced by G4VLowEnergyDiscretePhotonProcess::BuildPhysicsTable(), G4PenelopePhotoElectric::BuildPhysicsTable(), G4PenelopeGammaConversion::BuildPhysicsTable(), G4LowEnergyRayleigh::BuildPhysicsTable(), G4LowEnergyPolarizedCompton::BuildPhysicsTable(), G4LowEnergyPhotoElectric::BuildPhysicsTable(), G4LowEnergyGammaConversion::BuildPhysicsTable(), and G4LowEnergyCompton::BuildPhysicsTable().

Here is the call graph for this function:

void G4VCrossSectionHandler::Clear (  )  [inherited]

Definition at line 302 of file G4VCrossSectionHandler.cc.

References G4VCrossSectionHandler::ActiveElements(), G4VCrossSectionHandler::activeZ, and G4VCrossSectionHandler::dataMap.

Referenced by G4VLowEnergyDiscretePhotonProcess::BuildPhysicsTable(), G4PenelopePhotoElectric::BuildPhysicsTable(), G4PenelopeGammaConversion::BuildPhysicsTable(), G4LowEnergyRayleigh::BuildPhysicsTable(), G4LowEnergyPolarizedCompton::BuildPhysicsTable(), G4LowEnergyPhotoElectric::BuildPhysicsTable(), G4LowEnergyGammaConversion::BuildPhysicsTable(), and G4LowEnergyCompton::BuildPhysicsTable().

Here is the call graph for this function:

G4VDataSetAlgorithm * G4VCrossSectionHandler::CreateInterpolation (  )  [protected, virtual, inherited]

Definition at line 645 of file G4VCrossSectionHandler.cc.

Referenced by BuildCrossSectionsForMaterials(), G4VCrossSectionHandler::BuildMeanFreePathForMaterials(), and G4VCrossSectionHandler::Initialise().

G4double G4VCrossSectionHandler::FindValue ( G4int  Z,
G4double  e,
G4int  shellIndex 
) const [inherited]

Definition at line 351 of file G4VCrossSectionHandler.cc.

References G4VCrossSectionHandler::dataMap, G4cout, and G4endl.

G4double G4VCrossSectionHandler::FindValue ( G4int  Z,
G4double  e 
) const [inherited]

Definition at line 328 of file G4VCrossSectionHandler.cc.

References G4VCrossSectionHandler::dataMap, G4cout, and G4endl.

Referenced by G4PenelopeCrossSectionHandler::BuildCrossSectionsForMaterials(), G4eIonisationCrossSectionHandler::BuildCrossSectionsForMaterials(), BuildCrossSectionsForMaterials(), G4BremsstrahlungCrossSectionHandler::BuildCrossSectionsForMaterials(), G4LowEnergyIonisation::BuildLossTable(), G4LowEnergyBremsstrahlung::BuildLossTable(), G4VCrossSectionHandler::SelectRandomShell(), and G4VCrossSectionHandler::ValueForMaterial().

const G4VDataSetAlgorithm* G4VCrossSectionHandler::GetInterpolation (  )  const [inline, protected, inherited]

Definition at line 118 of file G4VCrossSectionHandler.hh.

References G4VCrossSectionHandler::interpolation.

void G4VCrossSectionHandler::Initialise ( G4VDataSetAlgorithm interpolation = 0,
G4double  minE = 250 *eV,
G4double  maxE = 100 *GeV,
G4int  numberOfBins = 200,
G4double  unitE = MeV,
G4double  unitData = barn,
G4int  minZ = 1,
G4int  maxZ = 99 
) [inherited]

Definition at line 111 of file G4VCrossSectionHandler.cc.

References G4VCrossSectionHandler::CreateInterpolation(), G4VCrossSectionHandler::eMax, G4VCrossSectionHandler::eMin, G4VCrossSectionHandler::interpolation, G4VCrossSectionHandler::nBins, G4VCrossSectionHandler::unit1, G4VCrossSectionHandler::unit2, G4VCrossSectionHandler::zMax, and G4VCrossSectionHandler::zMin.

Referenced by G4PenelopeBremsstrahlung::BuildPhysicsTable(), G4LowEnergyBremsstrahlung::BuildPhysicsTable(), G4eIonisationCrossSectionHandler::G4eIonisationCrossSectionHandler(), G4LowEnergyGammaConversion::G4LowEnergyGammaConversion(), G4PenelopeCrossSectionHandler::G4PenelopeCrossSectionHandler(), G4PenelopeGammaConversion::G4PenelopeGammaConversion(), and G4VCrossSectionHandler::G4VCrossSectionHandler().

Here is the call graph for this function:

void G4VCrossSectionHandler::LoadData ( const G4String dataFile  )  [inherited]

Definition at line 157 of file G4VCrossSectionHandler.cc.

References G4VCrossSectionHandler::activeZ, G4VDataSetAlgorithm::Clone(), G4VCrossSectionHandler::dataMap, G4Exception(), G4VCrossSectionHandler::interpolation, G4VCrossSectionHandler::unit1, and G4VCrossSectionHandler::unit2.

Referenced by G4VLowEnergyDiscretePhotonProcess::BuildPhysicsTable(), G4PenelopePhotoElectric::BuildPhysicsTable(), G4PenelopeIonisation::BuildPhysicsTable(), G4PenelopeGammaConversion::BuildPhysicsTable(), G4LowEnergyRayleigh::BuildPhysicsTable(), G4LowEnergyPolarizedCompton::BuildPhysicsTable(), G4LowEnergyPhotoElectric::BuildPhysicsTable(), G4LowEnergyGammaConversion::BuildPhysicsTable(), and G4LowEnergyCompton::BuildPhysicsTable().

Here is the call graph for this function:

void G4VCrossSectionHandler::LoadShellData ( const G4String dataFile  )  [inherited]

Definition at line 223 of file G4VCrossSectionHandler.cc.

References G4VCrossSectionHandler::activeZ, G4VDataSetAlgorithm::Clone(), G4VCrossSectionHandler::dataMap, G4Exception(), G4VCrossSectionHandler::interpolation, G4VEMDataSet::LoadData(), G4VCrossSectionHandler::unit1, and G4VCrossSectionHandler::unit2.

Referenced by G4PenelopePhotoElectric::BuildPhysicsTable(), G4PenelopeBremsstrahlung::BuildPhysicsTable(), G4LowEnergyPhotoElectric::BuildPhysicsTable(), G4LowEnergyIonisation::BuildPhysicsTable(), and G4LowEnergyBremsstrahlung::BuildPhysicsTable().

Here is the call graph for this function:

G4int G4VCrossSectionHandler::NumberOfComponents ( G4int  Z  )  const [protected, inherited]

Definition at line 651 of file G4VCrossSectionHandler.cc.

References G4VCrossSectionHandler::dataMap, G4cout, and G4endl.

Referenced by G4eIonisationCrossSectionHandler::BuildCrossSectionsForMaterials().

G4CrossSectionHandler& G4CrossSectionHandler::operator= ( const G4CrossSectionHandler right  )  [private]

void G4VCrossSectionHandler::PrintData (  )  const [inherited]

Definition at line 136 of file G4VCrossSectionHandler.cc.

References G4VCrossSectionHandler::dataMap, G4cout, and G4endl.

Referenced by G4PenelopeBremsstrahlung::BuildPhysicsTable(), G4LowEnergyIonisation::BuildPhysicsTable(), and G4LowEnergyBremsstrahlung::BuildPhysicsTable().

G4int G4VCrossSectionHandler::SelectRandomAtom ( const G4MaterialCutsCouple couple,
G4double  e 
) const [inherited]

Definition at line 493 of file G4VCrossSectionHandler.cc.

References G4VEMDataSet::FindValue(), G4UniformRand, G4VEMDataSet::GetComponent(), G4Material::GetElementVector(), G4MaterialCutsCouple::GetIndex(), G4MaterialCutsCouple::GetMaterial(), G4Material::GetNumberOfElements(), and G4Material::GetZ().

Referenced by G4PenelopePhotoElectric::PostStepDoIt(), G4PenelopeIonisation::PostStepDoIt(), G4PenelopeBremsstrahlung::PostStepDoIt(), G4LowEnergyRayleigh::PostStepDoIt(), G4LowEnergyPolarizedRayleigh::PostStepDoIt(), G4LowEnergyPolarizedCompton::PostStepDoIt(), G4LowEnergyPhotoElectric::PostStepDoIt(), G4LowEnergyIonisation::PostStepDoIt(), G4LowEnergyCompton::PostStepDoIt(), and G4LowEnergyBremsstrahlung::PostStepDoIt().

Here is the call graph for this function:

const G4Element * G4VCrossSectionHandler::SelectRandomElement ( const G4MaterialCutsCouple material,
G4double  e 
) const [inherited]

Definition at line 535 of file G4VCrossSectionHandler.cc.

References G4VEMDataSet::FindValue(), G4cout, G4endl, G4UniformRand, G4VEMDataSet::GetComponent(), G4Material::GetElementVector(), G4MaterialCutsCouple::GetIndex(), G4MaterialCutsCouple::GetMaterial(), and G4Material::GetNumberOfElements().

Referenced by G4PenelopeGammaConversion::PostStepDoIt(), and G4LowEnergyGammaConversion::PostStepDoIt().

Here is the call graph for this function:

G4int G4VCrossSectionHandler::SelectRandomShell ( G4int  Z,
G4double  e 
) const [inherited]

Definition at line 581 of file G4VCrossSectionHandler.cc.

References G4VCrossSectionHandler::dataMap, G4VCrossSectionHandler::FindValue(), G4UniformRand, G4VEMDataSet::GetComponent(), and G4VEMDataSet::NumberOfComponents().

Referenced by G4LowEnergyIonisation::DeexciteAtom(), G4PenelopePhotoElectric::PostStepDoIt(), G4LowEnergyPhotoElectric::PostStepDoIt(), and G4LowEnergyIonisation::PostStepDoIt().

Here is the call graph for this function:

G4double G4VCrossSectionHandler::ValueForMaterial ( const G4Material material,
G4double  e 
) const [inherited]

Definition at line 391 of file G4VCrossSectionHandler.cc.

References G4VCrossSectionHandler::FindValue(), G4Material::GetElementVector(), G4Material::GetNumberOfElements(), and G4Material::GetVecNbOfAtomsPerVolume().

Referenced by G4PenelopePhotoElectric::GetMeanFreePath(), and G4LowEnergyPhotoElectric::GetMeanFreePath().

Here is the call graph for this function:


The documentation for this class was generated from the following files:
Generated on Sat Apr 12 06:10:30 2008 for Geant4 by  doxygen 1.4.7