Geant4
10.00.p01
|
#include <G4PixeCrossSectionHandler.hh>
Private Member Functions | |
G4PixeCrossSectionHandler (const G4PixeCrossSectionHandler &) | |
G4PixeCrossSectionHandler & | operator= (const G4PixeCrossSectionHandler &right) |
G4int | NumberOfComponents (G4int Z) const |
void | ActiveElements () |
void | BuildForMaterials () |
std::vector< G4IDataSet * > * | BuildCrossSectionsForMaterials (const G4DataVector &energyVector) |
G4IInterpolator * | CreateInterpolation () |
const G4IInterpolator * | GetInterpolation () const |
Private Attributes | |
G4IInterpolator * | interpolation |
G4double | eMin |
G4double | eMax |
G4int | nBins |
G4double | unit1 |
G4double | unit2 |
G4int | zMin |
G4int | zMax |
G4DataVector | activeZ |
std::map< G4int, G4IDataSet *, std::less< G4int > > | dataMap |
std::vector< G4IDataSet * > * | crossSections |
std::vector< G4String > | crossModel |
Definition at line 60 of file G4PixeCrossSectionHandler.hh.
G4PixeCrossSectionHandler::G4PixeCrossSectionHandler | ( | ) |
Definition at line 61 of file G4PixeCrossSectionHandler.cc.
References ActiveElements(), barn, crossSections, GeV, Initialise(), interpolation, keV, and MeV.
G4PixeCrossSectionHandler::G4PixeCrossSectionHandler | ( | G4IInterpolator * | interpolation, |
const G4String & | modelK = "ecpssr" , |
||
const G4String & | modelL = "ecpssr" , |
||
const G4String & | modelM = "ecpssr" , |
||
G4double | minE = 1*CLHEP::keV , |
||
G4double | maxE = 0.1*CLHEP::GeV , |
||
G4int | nBins = 200 , |
||
G4double | unitE = CLHEP::MeV , |
||
G4double | unitData = CLHEP::barn , |
||
G4int | minZ = 6 , |
||
G4int | maxZ = 92 |
||
) |
Definition at line 71 of file G4PixeCrossSectionHandler.cc.
References ActiveElements(), crossModel, and crossSections.
|
virtual |
Definition at line 98 of file G4PixeCrossSectionHandler.cc.
References crossSections, dataMap, interpolation, n, and pos.
|
private |
|
private |
Definition at line 576 of file G4PixeCrossSectionHandler.cc.
References activeZ, G4DataVector::contains(), FatalException, G4Exception(), G4Material::GetElementVector(), G4Material::GetMaterialTable(), G4Material::GetNumberOfElements(), G4Material::GetNumberOfMaterials(), G4Element::GetZ(), zMax, and zMin.
Referenced by Clear(), and G4PixeCrossSectionHandler().
|
private |
Definition at line 633 of file G4PixeCrossSectionHandler.cc.
References G4IDataSet::AddComponent(), G4IInterpolator::Clone(), CreateInterpolation(), density, FatalException, FindValue(), G4Exception(), G4Material::GetAtomicNumDensityVector(), G4Material::GetElementVector(), G4Material::GetMaterialTable(), G4Material::GetNumberOfElements(), G4Material::GetNumberOfMaterials(), zMax, and zMin.
Referenced by BuildForMaterials().
|
private |
Definition at line 406 of file G4PixeCrossSectionHandler.cc.
References BuildCrossSectionsForMaterials(), crossSections, eMax, eMin, FatalException, G4Exception(), and nBins.
Referenced by LoadShellData().
void G4PixeCrossSectionHandler::Clear | ( | ) |
Definition at line 210 of file G4PixeCrossSectionHandler.cc.
References ActiveElements(), activeZ, dataMap, and pos.
|
private |
Definition at line 605 of file G4PixeCrossSectionHandler.cc.
Referenced by BuildCrossSectionsForMaterials(), and Initialise().
Definition at line 236 of file G4PixeCrossSectionHandler.cc.
References dataMap, G4IDataSet::FindValue(), G4cout, G4endl, and pos.
Referenced by BuildCrossSectionsForMaterials(), SelectRandomShell(), and ValueForMaterial().
Definition at line 259 of file G4PixeCrossSectionHandler.cc.
References dataMap, G4IDataSet::FindValue(), G4cout, G4endl, G4IDataSet::GetComponent(), nComponents, G4IDataSet::NumberOfComponents(), and pos.
|
inlineprivate |
Definition at line 131 of file G4PixeCrossSectionHandler.hh.
References interpolation.
void G4PixeCrossSectionHandler::Initialise | ( | G4IInterpolator * | interpolation, |
const G4String & | modelK = "ecpssr" , |
||
const G4String & | modelL = "ecpssr" , |
||
const G4String & | modelM = "ecpssr" , |
||
G4double | minE = 1*CLHEP::keV , |
||
G4double | maxE = 0.1*CLHEP::GeV , |
||
G4int | nBins = 200 , |
||
G4double | unitE = CLHEP::MeV , |
||
G4double | unitData = CLHEP::barn , |
||
G4int | minZ = 6 , |
||
G4int | maxZ = 92 |
||
) |
Definition at line 126 of file G4PixeCrossSectionHandler.cc.
References CreateInterpolation(), crossModel, eMax, eMin, interpolation, nBins, unit1, unit2, zMax, and zMin.
Referenced by G4PixeCrossSectionHandler().
void G4PixeCrossSectionHandler::LoadShellData | ( | const G4String & | dataFile | ) |
Definition at line 180 of file G4PixeCrossSectionHandler.cc.
References activeZ, BuildForMaterials(), G4IInterpolator::Clone(), crossModel, crossSections, dataMap, interpolation, and G4IDataSet::LoadData().
Referenced by G4hImpactIonisation::PostStepDoIt().
G4double G4PixeCrossSectionHandler::MicroscopicCrossSection | ( | const G4ParticleDefinition * | particleDef, |
G4double | kineticEnergy, | ||
G4double | Z, | ||
G4double | deltaCut | ||
) | const |
Definition at line 695 of file G4PixeCrossSectionHandler.cc.
References G4INCL::KinematicsUtils::energy(), G4ParticleDefinition::GetPDGMass(), and G4ParticleDefinition::GetPDGSpin().
Definition at line 611 of file G4PixeCrossSectionHandler.cc.
References dataMap, G4cout, G4endl, n, G4IDataSet::NumberOfComponents(), and pos.
|
private |
void G4PixeCrossSectionHandler::PrintData | ( | void | ) | const |
Definition at line 159 of file G4PixeCrossSectionHandler.cc.
References dataMap, G4cout, G4endl, pos, G4IDataSet::PrintData(), and z.
G4int G4PixeCrossSectionHandler::SelectRandomAtom | ( | const G4Material * | material, |
G4double | e | ||
) | const |
Definition at line 448 of file G4PixeCrossSectionHandler.cc.
References G4IDataSet::FindValue(), G4UniformRand, G4IDataSet::GetComponent(), G4Material::GetElementVector(), G4Material::GetIndex(), G4Material::GetNumberOfElements(), and G4Material::GetZ().
Referenced by G4hImpactIonisation::PostStepDoIt().
Definition at line 538 of file G4PixeCrossSectionHandler.cc.
References dataMap, G4IDataSet::FindValue(), FindValue(), G4UniformRand, G4IDataSet::GetComponent(), G4IDataSet::NumberOfComponents(), and pos.
Referenced by G4hImpactIonisation::PostStepDoIt().
G4double G4PixeCrossSectionHandler::ValueForMaterial | ( | const G4Material * | material, |
G4double | e | ||
) | const |
Definition at line 299 of file G4PixeCrossSectionHandler.cc.
References FindValue(), G4Material::GetElementVector(), G4Material::GetNumberOfElements(), and G4Material::GetVecNbOfAtomsPerVolume().
|
private |
Definition at line 145 of file G4PixeCrossSectionHandler.hh.
Referenced by ActiveElements(), Clear(), and LoadShellData().
|
private |
Definition at line 154 of file G4PixeCrossSectionHandler.hh.
Referenced by G4PixeCrossSectionHandler(), Initialise(), and LoadShellData().
|
private |
Definition at line 152 of file G4PixeCrossSectionHandler.hh.
Referenced by BuildForMaterials(), G4PixeCrossSectionHandler(), LoadShellData(), and ~G4PixeCrossSectionHandler().
|
private |
Definition at line 148 of file G4PixeCrossSectionHandler.hh.
Referenced by Clear(), FindValue(), LoadShellData(), NumberOfComponents(), PrintData(), SelectRandomShell(), and ~G4PixeCrossSectionHandler().
|
private |
Definition at line 136 of file G4PixeCrossSectionHandler.hh.
Referenced by BuildForMaterials(), and Initialise().
|
private |
Definition at line 135 of file G4PixeCrossSectionHandler.hh.
Referenced by BuildForMaterials(), and Initialise().
|
private |
Definition at line 133 of file G4PixeCrossSectionHandler.hh.
Referenced by G4PixeCrossSectionHandler(), GetInterpolation(), Initialise(), LoadShellData(), and ~G4PixeCrossSectionHandler().
|
private |
Definition at line 137 of file G4PixeCrossSectionHandler.hh.
Referenced by BuildForMaterials(), and Initialise().
|
private |
Definition at line 139 of file G4PixeCrossSectionHandler.hh.
Referenced by Initialise().
|
private |
Definition at line 140 of file G4PixeCrossSectionHandler.hh.
Referenced by Initialise().
|
private |
Definition at line 143 of file G4PixeCrossSectionHandler.hh.
Referenced by ActiveElements(), BuildCrossSectionsForMaterials(), and Initialise().
|
private |
Definition at line 142 of file G4PixeCrossSectionHandler.hh.
Referenced by ActiveElements(), BuildCrossSectionsForMaterials(), and Initialise().