Geant4.10
|
#include <G4VCrossSectionHandler.hh>
Protected Member Functions | |
G4int | NumberOfComponents (G4int Z) const |
void | ActiveElements () |
virtual std::vector < G4VEMDataSet * > * | BuildCrossSectionsForMaterials (const G4DataVector &energyVector, const G4DataVector *energyCuts=0)=0 |
virtual G4VDataSetAlgorithm * | CreateInterpolation () |
const G4VDataSetAlgorithm * | GetInterpolation () const |
Definition at line 64 of file G4VCrossSectionHandler.hh.
G4VCrossSectionHandler::G4VCrossSectionHandler | ( | ) |
Definition at line 88 of file G4VCrossSectionHandler.cc.
References ActiveElements(), and Initialise().
G4VCrossSectionHandler::G4VCrossSectionHandler | ( | G4VDataSetAlgorithm * | 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 97 of file G4VCrossSectionHandler.cc.
References ActiveElements().
|
virtual |
Definition at line 112 of file G4VCrossSectionHandler.cc.
References n.
|
protected |
Definition at line 695 of file G4VCrossSectionHandler.cc.
References G4DataVector::contains(), FatalException, G4Exception(), G4Material::GetElementVector(), G4Material::GetMaterialTable(), G4Material::GetNumberOfElements(), G4Material::GetNumberOfMaterials(), G4Element::GetZ(), and eplot::material.
Referenced by Clear(), and G4VCrossSectionHandler().
|
protectedpure virtual |
Implemented in G4eIonisationCrossSectionHandler, G4BremsstrahlungCrossSectionHandler, G4CrossSectionHandler, and G4eCrossSectionHandler.
Referenced by BuildMeanFreePathForMaterials().
G4VEMDataSet * G4VCrossSectionHandler::BuildMeanFreePathForMaterials | ( | const G4DataVector * | energyCuts = 0 | ) |
Definition at line 463 of file G4VCrossSectionHandler.cc.
References G4VEMDataSet::AddComponent(), plottest35::bin, BuildCrossSectionsForMaterials(), CreateInterpolation(), DBL_MAX, energy(), FatalException, G4VEMDataSet::FindValue(), G4Exception(), G4VEMDataSet::GetComponent(), G4ProductionCutsTable::GetProductionCutsTable(), G4ProductionCutsTable::GetTableSize(), and G4VEMDataSet::NumberOfComponents().
Referenced by G4LivermorePolarizedComptonModel::Initialise(), and G4LivermoreIonisationModel::Initialise().
void G4VCrossSectionHandler::Clear | ( | ) |
Definition at line 353 of file G4VCrossSectionHandler.cc.
References ActiveElements().
Referenced by export_G4VCrossSectionHandler(), G4LivermorePolarizedPhotoElectricModel::Initialise(), G4BoldyshevTripletModel::Initialise(), G4LivermorePolarizedRayleighModel::Initialise(), G4LivermoreNuclearGammaConversionModel::Initialise(), G4LivermoreGammaConversionModelRC::Initialise(), G4LivermorePolarizedGammaConversionModel::Initialise(), G4LivermorePolarizedComptonModel::Initialise(), G4LivermoreComptonModifiedModel::Initialise(), G4LivermoreIonisationCrossSection::Initialise(), G4LivermoreIonisationModel::Initialise(), and G4LowEPComptonModel::Initialise().
|
protectedvirtual |
Definition at line 722 of file G4VCrossSectionHandler.cc.
Referenced by G4CrossSectionHandler::BuildCrossSectionsForMaterials(), BuildMeanFreePathForMaterials(), and Initialise().
Definition at line 379 of file G4VCrossSectionHandler.cc.
References G4VEMDataSet::FindValue(), G4cout, and G4endl.
Referenced by G4CrossSectionHandler::BuildCrossSectionsForMaterials(), G4BremsstrahlungCrossSectionHandler::BuildCrossSectionsForMaterials(), G4eIonisationCrossSectionHandler::BuildCrossSectionsForMaterials(), G4LivermorePolarizedPhotoElectricModel::ComputeCrossSectionPerAtom(), G4BoldyshevTripletModel::ComputeCrossSectionPerAtom(), G4LivermoreNuclearGammaConversionModel::ComputeCrossSectionPerAtom(), G4LivermorePolarizedRayleighModel::ComputeCrossSectionPerAtom(), G4LivermoreGammaConversionModelRC::ComputeCrossSectionPerAtom(), G4LivermorePolarizedGammaConversionModel::ComputeCrossSectionPerAtom(), G4LivermorePolarizedComptonModel::ComputeCrossSectionPerAtom(), G4LivermoreComptonModifiedModel::ComputeCrossSectionPerAtom(), G4LowEPComptonModel::ComputeCrossSectionPerAtom(), G4LivermoreIonisationModel::ComputeDEDXPerVolume(), G4LivermoreIonisationCrossSection::CrossSection(), G4BremsstrahlungCrossSectionHandler::GetCrossSectionAboveThresholdForElement(), G4eIonisationCrossSectionHandler::GetCrossSectionAboveThresholdForElement(), SelectRandomShell(), and ValueForMaterial().
Definition at line 402 of file G4VCrossSectionHandler.cc.
References G4VEMDataSet::FindValue(), G4cout, G4endl, G4VEMDataSet::GetComponent(), nComponents, and G4VEMDataSet::NumberOfComponents().
|
inlineprotected |
Definition at line 126 of file G4VCrossSectionHandler.hh.
void G4VCrossSectionHandler::Initialise | ( | G4VDataSetAlgorithm * | 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 140 of file G4VCrossSectionHandler.cc.
References CreateInterpolation().
Referenced by export_G4VCrossSectionHandler(), G4eCrossSectionHandler::G4eCrossSectionHandler(), G4eIonisationCrossSectionHandler::G4eIonisationCrossSectionHandler(), G4LivermorePolarizedGammaConversionModel::G4LivermorePolarizedGammaConversionModel(), G4VCrossSectionHandler(), G4BoldyshevTripletModel::Initialise(), G4LivermoreNuclearGammaConversionModel::Initialise(), and G4LivermoreGammaConversionModelRC::Initialise().
Definition at line 187 of file G4VCrossSectionHandler.cc.
References test::a, G4VDataSetAlgorithm::Clone(), FatalException, and G4Exception().
Referenced by export_G4VCrossSectionHandler(), G4LivermorePolarizedPhotoElectricModel::Initialise(), G4BoldyshevTripletModel::Initialise(), G4LivermorePolarizedRayleighModel::Initialise(), G4LivermoreNuclearGammaConversionModel::Initialise(), G4LivermoreGammaConversionModelRC::Initialise(), G4LivermorePolarizedComptonModel::Initialise(), G4LivermorePolarizedGammaConversionModel::Initialise(), G4LivermoreComptonModifiedModel::Initialise(), and G4LowEPComptonModel::Initialise().
Definition at line 264 of file G4VCrossSectionHandler.cc.
References test::a, G4VDataSetAlgorithm::Clone(), FatalException, and G4Exception().
Definition at line 334 of file G4VCrossSectionHandler.cc.
References G4VDataSetAlgorithm::Clone(), and G4VEMDataSet::LoadData().
Referenced by export_G4VCrossSectionHandler(), G4LivermorePolarizedPhotoElectricModel::Initialise(), G4LivermoreIonisationCrossSection::Initialise(), and G4LivermoreIonisationModel::Initialise().
Definition at line 728 of file G4VCrossSectionHandler.cc.
References G4cout, G4endl, n, and G4VEMDataSet::NumberOfComponents().
Referenced by G4eIonisationCrossSectionHandler::BuildCrossSectionsForMaterials(), and G4eIonisationCrossSectionHandler::GetCrossSectionAboveThresholdForElement().
Definition at line 166 of file G4VCrossSectionHandler.cc.
References G4cout, G4endl, G4VEMDataSet::PrintData(), and z.
Referenced by export_G4VCrossSectionHandler(), and G4LivermoreIonisationModel::Initialise().
G4int G4VCrossSectionHandler::SelectRandomAtom | ( | const G4MaterialCutsCouple * | couple, |
G4double | e | ||
) | const |
Definition at line 562 of file G4VCrossSectionHandler.cc.
References G4VEMDataSet::FindValue(), G4UniformRand, G4VEMDataSet::GetComponent(), G4Material::GetElementVector(), G4MaterialCutsCouple::GetIndex(), G4MaterialCutsCouple::GetMaterial(), G4Material::GetNumberOfElements(), G4Material::GetZ(), and eplot::material.
Referenced by G4LivermoreIonisationModel::SampleSecondaries().
const G4Element * G4VCrossSectionHandler::SelectRandomElement | ( | const G4MaterialCutsCouple * | material, |
G4double | e | ||
) | const |
Definition at line 604 of file G4VCrossSectionHandler.cc.
References G4VEMDataSet::FindValue(), G4cout, G4endl, G4UniformRand, G4VEMDataSet::GetComponent(), G4Material::GetElementVector(), G4MaterialCutsCouple::GetIndex(), G4MaterialCutsCouple::GetMaterial(), G4Material::GetNumberOfElements(), and eplot::material.
Referenced by export_G4VCrossSectionHandler().
Definition at line 650 of file G4VCrossSectionHandler.cc.
References FatalException, FindValue(), G4Exception(), and G4UniformRand.
Referenced by export_G4VCrossSectionHandler(), G4LivermorePolarizedPhotoElectricModel::SampleSecondaries(), and G4LivermoreIonisationModel::SampleSecondaries().
G4double G4VCrossSectionHandler::ValueForMaterial | ( | const G4Material * | material, |
G4double | e | ||
) | const |
Definition at line 442 of file G4VCrossSectionHandler.cc.
References FindValue(), G4Material::GetElementVector(), G4Material::GetNumberOfElements(), and G4Material::GetVecNbOfAtomsPerVolume().
Referenced by export_G4VCrossSectionHandler().