Geant4.10
|
#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 |
Definition at line 64 of file G4RDVCrossSectionHandler.hh.
G4RDVCrossSectionHandler::G4RDVCrossSectionHandler | ( | ) |
Definition at line 59 of file G4RDVCrossSectionHandler.cc.
References ActiveElements(), and Initialise().
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().
|
virtual |
Definition at line 83 of file G4RDVCrossSectionHandler.cc.
References n.
|
protected |
Definition at line 624 of file G4RDVCrossSectionHandler.cc.
References G4DataVector::contains(), FatalException, G4Exception(), G4Material::GetElementVector(), G4Material::GetMaterialTable(), G4Material::GetNumberOfElements(), G4Material::GetNumberOfMaterials(), G4Element::GetZ(), python.hepunit::m, and eplot::material.
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(), plottest35::bin, BuildCrossSectionsForMaterials(), CreateInterpolation(), DBL_MAX, energy(), FatalException, G4RDVEMDataSet::FindValue(), G4Exception(), G4RDVEMDataSet::GetComponent(), G4ProductionCutsTable::GetProductionCutsTable(), G4ProductionCutsTable::GetTableSize(), python.hepunit::m, 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().
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 G4RDVEMDataSet::FindValue(), G4cout, and G4endl.
Referenced by G4RDCrossSectionHandler::BuildCrossSectionsForMaterials(), G4RDBremsstrahlungCrossSectionHandler::BuildCrossSectionsForMaterials(), G4RDeIonisationCrossSectionHandler::BuildCrossSectionsForMaterials(), SelectRandomShell(), and ValueForMaterial().
Definition at line 355 of file G4RDVCrossSectionHandler.cc.
References G4RDVEMDataSet::FindValue(), G4cout, G4endl, G4RDVEMDataSet::GetComponent(), nComponents, and G4RDVEMDataSet::NumberOfComponents().
|
inlineprotected |
Definition at line 120 of file G4RDVCrossSectionHandler.hh.
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().
Referenced by G4LowEnergyBremsstrahlung::BuildPhysicsTable(), G4LowEnergyGammaConversion::G4LowEnergyGammaConversion(), G4RDeIonisationCrossSectionHandler::G4RDeIonisationCrossSectionHandler(), and G4RDVCrossSectionHandler().
Definition at line 157 of file G4RDVCrossSectionHandler.cc.
References test::a, G4RDVDataSetAlgorithm::Clone(), FatalException, and G4Exception().
Referenced by G4LowEnergyRayleigh::BuildPhysicsTable(), G4LowEnergyCompton::BuildPhysicsTable(), G4LowEnergyGammaConversion::BuildPhysicsTable(), G4LowEnergyPhotoElectric::BuildPhysicsTable(), and G4LowEnergyPolarizedCompton::BuildPhysicsTable().
Definition at line 225 of file G4RDVCrossSectionHandler.cc.
References test::a, G4RDVDataSetAlgorithm::Clone(), FatalException, G4Exception(), and G4RDVEMDataSet::LoadData().
Referenced by G4LowEnergyPhotoElectric::BuildPhysicsTable(), G4LowEnergyIonisation::BuildPhysicsTable(), and G4LowEnergyBremsstrahlung::BuildPhysicsTable().
Definition at line 657 of file G4RDVCrossSectionHandler.cc.
References G4cout, G4endl, n, and G4RDVEMDataSet::NumberOfComponents().
Referenced by G4RDeIonisationCrossSectionHandler::BuildCrossSectionsForMaterials().
Definition at line 136 of file G4RDVCrossSectionHandler.cc.
References G4cout, G4endl, 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(), G4Material::GetZ(), and eplot::material.
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(), G4Material::GetNumberOfElements(), and eplot::material.
Referenced by G4LowEnergyGammaConversion::PostStepDoIt().
Definition at line 586 of file G4RDVCrossSectionHandler.cc.
References G4RDVEMDataSet::FindValue(), FindValue(), G4UniformRand, G4RDVEMDataSet::GetComponent(), and G4RDVEMDataSet::NumberOfComponents().
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().