Geant4
10.01.p03
|
#include <G4RDVCrossSectionHandler.hh>
Protected Member Functions | |
G4int | NumberOfComponents (G4int Z) const |
void | ActiveElements () |
virtual std::vector < G4RDVEMDataSet * > * | BuildCrossSectionsForMaterials (const G4DataVector &energyVector, const G4DataVector *energyCuts=0)=0 |
virtual G4RDVDataSetAlgorithm * | CreateInterpolation () |
const G4RDVDataSetAlgorithm * | GetInterpolation () const |
Private Member Functions | |
G4RDVCrossSectionHandler (const G4RDVCrossSectionHandler &) | |
G4RDVCrossSectionHandler & | operator= (const G4RDVCrossSectionHandler &right) |
Private Attributes | |
G4RDVDataSetAlgorithm * | interpolation |
G4double | eMin |
G4double | eMax |
G4int | nBins |
G4double | unit1 |
G4double | unit2 |
G4int | zMin |
G4int | zMax |
G4DataVector | activeZ |
std::map< G4int, G4RDVEMDataSet *, std::less < G4int > > | dataMap |
std::vector< G4RDVEMDataSet * > * | crossSections |
Definition at line 64 of file G4RDVCrossSectionHandler.hh.
G4RDVCrossSectionHandler::G4RDVCrossSectionHandler | ( | ) |
Definition at line 59 of file G4RDVCrossSectionHandler.cc.
References ActiveElements(), crossSections, Initialise(), and interpolation.
G4RDVCrossSectionHandler::G4RDVCrossSectionHandler | ( | G4RDVDataSetAlgorithm * | interpolation, |
G4double | minE = 250*CLHEP::eV , |
||
G4double | maxE = 100*CLHEP::GeV , |
||
G4int | nBins = 200 , |
||
G4double | unitE = CLHEP::MeV , |
||
G4double | unitData = CLHEP::barn , |
||
G4int | minZ = 1 , |
||
G4int | maxZ = 99 |
||
) |
Definition at line 68 of file G4RDVCrossSectionHandler.cc.
References ActiveElements(), and crossSections.
|
virtual |
Definition at line 83 of file G4RDVCrossSectionHandler.cc.
References crossSections, dataMap, interpolation, n, and pos.
|
private |
|
protected |
Definition at line 624 of file G4RDVCrossSectionHandler.cc.
References activeZ, G4DataVector::contains(), FatalException, G4Exception(), G4Material::GetElementVector(), G4Material::GetMaterialTable(), G4Material::GetNumberOfElements(), G4Material::GetNumberOfMaterials(), G4Element::GetZ(), m, zMax, and zMin.
Referenced by Clear(), and G4RDVCrossSectionHandler().
|
protectedpure virtual |
Implemented in G4RDeIonisationCrossSectionHandler, G4RDBremsstrahlungCrossSectionHandler, and G4RDCrossSectionHandler.
Referenced by BuildMeanFreePathForMaterials().
G4RDVEMDataSet * G4RDVCrossSectionHandler::BuildMeanFreePathForMaterials | ( | const G4DataVector * | energyCuts = 0 | ) |
Definition at line 416 of file G4RDVCrossSectionHandler.cc.
References G4RDVEMDataSet::AddComponent(), BuildCrossSectionsForMaterials(), CreateInterpolation(), crossSections, DBL_MAX, eMax, eMin, G4INCL::KinematicsUtils::energy(), FatalException, G4RDVEMDataSet::FindValue(), G4Exception(), G4RDVEMDataSet::GetComponent(), G4ProductionCutsTable::GetProductionCutsTable(), G4ProductionCutsTable::GetTableSize(), m, nBins, and G4RDVEMDataSet::NumberOfComponents().
Referenced by G4LowEnergyRayleigh::BuildPhysicsTable(), G4LowEnergyCompton::BuildPhysicsTable(), G4LowEnergyGammaConversion::BuildPhysicsTable(), G4LowEnergyPhotoElectric::BuildPhysicsTable(), and G4LowEnergyPolarizedCompton::BuildPhysicsTable().
void G4RDVCrossSectionHandler::Clear | ( | ) |
Definition at line 306 of file G4RDVCrossSectionHandler.cc.
References ActiveElements(), activeZ, dataMap, and pos.
Referenced by G4LowEnergyRayleigh::BuildPhysicsTable(), G4LowEnergyCompton::BuildPhysicsTable(), G4LowEnergyGammaConversion::BuildPhysicsTable(), G4LowEnergyPhotoElectric::BuildPhysicsTable(), and G4LowEnergyPolarizedCompton::BuildPhysicsTable().
|
protectedvirtual |
Definition at line 651 of file G4RDVCrossSectionHandler.cc.
Referenced by G4RDCrossSectionHandler::BuildCrossSectionsForMaterials(), BuildMeanFreePathForMaterials(), and Initialise().
Definition at line 332 of file G4RDVCrossSectionHandler.cc.
References dataMap, G4RDVEMDataSet::FindValue(), G4cout, G4endl, and pos.
Referenced by G4RDCrossSectionHandler::BuildCrossSectionsForMaterials(), G4RDBremsstrahlungCrossSectionHandler::BuildCrossSectionsForMaterials(), G4RDeIonisationCrossSectionHandler::BuildCrossSectionsForMaterials(), G4LowEnergyBremsstrahlung::BuildLossTable(), G4LowEnergyIonisation::BuildLossTable(), SelectRandomShell(), and ValueForMaterial().
Definition at line 355 of file G4RDVCrossSectionHandler.cc.
References dataMap, G4RDVEMDataSet::FindValue(), G4cout, G4endl, G4RDVEMDataSet::GetComponent(), nComponents, G4RDVEMDataSet::NumberOfComponents(), and pos.
|
inlineprotected |
Definition at line 120 of file G4RDVCrossSectionHandler.hh.
References interpolation.
void G4RDVCrossSectionHandler::Initialise | ( | G4RDVDataSetAlgorithm * | interpolation = 0 , |
G4double | minE = 250*CLHEP::eV , |
||
G4double | maxE = 100*CLHEP::GeV , |
||
G4int | numberOfBins = 200 , |
||
G4double | unitE = CLHEP::MeV , |
||
G4double | unitData = CLHEP::barn , |
||
G4int | minZ = 1 , |
||
G4int | maxZ = 99 |
||
) |
Definition at line 111 of file G4RDVCrossSectionHandler.cc.
References CreateInterpolation(), eMax, eMin, interpolation, nBins, unit1, unit2, zMax, and zMin.
Referenced by G4LowEnergyBremsstrahlung::BuildPhysicsTable(), G4LowEnergyGammaConversion::G4LowEnergyGammaConversion(), G4RDeIonisationCrossSectionHandler::G4RDeIonisationCrossSectionHandler(), and G4RDVCrossSectionHandler().
void G4RDVCrossSectionHandler::LoadData | ( | const G4String & | dataFile | ) |
Definition at line 157 of file G4RDVCrossSectionHandler.cc.
References a, activeZ, G4RDVDataSetAlgorithm::Clone(), dataMap, FatalException, G4Exception(), interpolation, unit1, and unit2.
Referenced by G4LowEnergyRayleigh::BuildPhysicsTable(), G4LowEnergyCompton::BuildPhysicsTable(), G4LowEnergyGammaConversion::BuildPhysicsTable(), G4LowEnergyPhotoElectric::BuildPhysicsTable(), and G4LowEnergyPolarizedCompton::BuildPhysicsTable().
void G4RDVCrossSectionHandler::LoadShellData | ( | const G4String & | dataFile | ) |
Definition at line 225 of file G4RDVCrossSectionHandler.cc.
References a, activeZ, G4RDVDataSetAlgorithm::Clone(), dataMap, FatalException, G4Exception(), interpolation, G4RDVEMDataSet::LoadData(), unit1, and unit2.
Referenced by G4LowEnergyPhotoElectric::BuildPhysicsTable(), G4LowEnergyIonisation::BuildPhysicsTable(), and G4LowEnergyBremsstrahlung::BuildPhysicsTable().
Definition at line 657 of file G4RDVCrossSectionHandler.cc.
References dataMap, G4cout, G4endl, n, G4RDVEMDataSet::NumberOfComponents(), and pos.
Referenced by G4RDeIonisationCrossSectionHandler::BuildCrossSectionsForMaterials().
|
private |
void G4RDVCrossSectionHandler::PrintData | ( | void | ) | const |
Definition at line 136 of file G4RDVCrossSectionHandler.cc.
References dataMap, G4cout, G4endl, pos, G4RDVEMDataSet::PrintData(), and z.
Referenced by G4LowEnergyIonisation::BuildPhysicsTable(), and G4LowEnergyBremsstrahlung::BuildPhysicsTable().
G4int G4RDVCrossSectionHandler::SelectRandomAtom | ( | const G4MaterialCutsCouple * | couple, |
G4double | e | ||
) | const |
Definition at line 498 of file G4RDVCrossSectionHandler.cc.
References G4RDVEMDataSet::FindValue(), G4UniformRand, G4RDVEMDataSet::GetComponent(), G4Material::GetElementVector(), G4MaterialCutsCouple::GetIndex(), G4MaterialCutsCouple::GetMaterial(), G4Material::GetNumberOfElements(), and G4Material::GetZ().
Referenced by G4LowEnergyRayleigh::PostStepDoIt(), G4LowEnergyCompton::PostStepDoIt(), G4LowEnergyPhotoElectric::PostStepDoIt(), G4LowEnergyPolarizedCompton::PostStepDoIt(), G4LowEnergyIonisation::PostStepDoIt(), and G4LowEnergyBremsstrahlung::PostStepDoIt().
const G4Element * G4RDVCrossSectionHandler::SelectRandomElement | ( | const G4MaterialCutsCouple * | material, |
G4double | e | ||
) | const |
Definition at line 540 of file G4RDVCrossSectionHandler.cc.
References G4RDVEMDataSet::FindValue(), G4cout, G4endl, G4UniformRand, G4RDVEMDataSet::GetComponent(), G4Material::GetElementVector(), G4MaterialCutsCouple::GetIndex(), G4MaterialCutsCouple::GetMaterial(), and G4Material::GetNumberOfElements().
Referenced by G4LowEnergyGammaConversion::PostStepDoIt().
Definition at line 586 of file G4RDVCrossSectionHandler.cc.
References dataMap, G4RDVEMDataSet::FindValue(), FindValue(), G4UniformRand, G4RDVEMDataSet::GetComponent(), G4RDVEMDataSet::NumberOfComponents(), and pos.
Referenced by G4LowEnergyIonisation::DeexciteAtom(), G4LowEnergyPhotoElectric::PostStepDoIt(), and G4LowEnergyIonisation::PostStepDoIt().
G4double G4RDVCrossSectionHandler::ValueForMaterial | ( | const G4Material * | material, |
G4double | e | ||
) | const |
Definition at line 395 of file G4RDVCrossSectionHandler.cc.
References FindValue(), G4Material::GetElementVector(), G4Material::GetNumberOfElements(), and G4Material::GetVecNbOfAtomsPerVolume().
Referenced by G4LowEnergyPhotoElectric::GetMeanFreePath().
|
private |
Definition at line 141 of file G4RDVCrossSectionHandler.hh.
Referenced by ActiveElements(), Clear(), LoadData(), and LoadShellData().
|
private |
Definition at line 145 of file G4RDVCrossSectionHandler.hh.
Referenced by BuildMeanFreePathForMaterials(), G4RDVCrossSectionHandler(), and ~G4RDVCrossSectionHandler().
|
private |
Definition at line 143 of file G4RDVCrossSectionHandler.hh.
Referenced by Clear(), FindValue(), LoadData(), LoadShellData(), NumberOfComponents(), PrintData(), SelectRandomShell(), and ~G4RDVCrossSectionHandler().
|
private |
Definition at line 132 of file G4RDVCrossSectionHandler.hh.
Referenced by BuildMeanFreePathForMaterials(), and Initialise().
|
private |
Definition at line 131 of file G4RDVCrossSectionHandler.hh.
Referenced by BuildMeanFreePathForMaterials(), and Initialise().
|
private |
Definition at line 129 of file G4RDVCrossSectionHandler.hh.
Referenced by G4RDVCrossSectionHandler(), GetInterpolation(), Initialise(), LoadData(), LoadShellData(), and ~G4RDVCrossSectionHandler().
|
private |
Definition at line 133 of file G4RDVCrossSectionHandler.hh.
Referenced by BuildMeanFreePathForMaterials(), and Initialise().
|
private |
Definition at line 135 of file G4RDVCrossSectionHandler.hh.
Referenced by Initialise(), LoadData(), and LoadShellData().
|
private |
Definition at line 136 of file G4RDVCrossSectionHandler.hh.
Referenced by Initialise(), LoadData(), and LoadShellData().
|
private |
Definition at line 139 of file G4RDVCrossSectionHandler.hh.
Referenced by ActiveElements(), and Initialise().
|
private |
Definition at line 138 of file G4RDVCrossSectionHandler.hh.
Referenced by ActiveElements(), and Initialise().