Geant4-11
|
#include <G4ShellData.hh>
Public Member Functions | |
G4double | BindingEnergy (G4int Z, G4int shellIndex) const |
G4ShellData (const G4ShellData &)=delete | |
G4ShellData (G4int minZ=1, G4int maxZ=100, G4bool isOccupancy=false) | |
void | LoadData (const G4String &fileName) |
size_t | NumberOfShells (G4int Z) const |
G4ShellData & | operator= (const G4ShellData &right)=delete |
void | PrintData () const |
G4int | SelectRandomShell (G4int Z) const |
void | SetOccupancyData () |
G4int | ShellId (G4int Z, G4int shellIndex) const |
const std::vector< G4double > & | ShellIdVector (G4int Z) const |
G4double | ShellOccupancyProbability (G4int Z, G4int shellIndex) const |
~G4ShellData () | |
Private Member Functions | |
const std::vector< G4double > & | ShellVector (G4int Z) const |
Private Attributes | |
std::map< G4int, G4DataVector *, std::less< G4int > > | bindingMap |
std::map< G4int, std::vector< G4double > *, std::less< G4int > > | idMap |
std::vector< G4int > | nShells |
G4bool | occupancyData |
std::map< G4int, std::vector< G4double > *, std::less< G4int > > | occupancyPdfMap |
G4int | zMax |
G4int | zMin |
Definition at line 51 of file G4ShellData.hh.
Definition at line 50 of file G4ShellData.cc.
G4ShellData::~G4ShellData | ( | ) |
Definition at line 56 of file G4ShellData.cc.
References bindingMap, idMap, occupancyData, occupancyPdfMap, and pos.
|
delete |
Definition at line 161 of file G4ShellData.cc.
References bindingMap, pos, Z, zMax, and zMin.
Referenced by G4AtomicTransitionManager::Initialise(), G4LivermoreComptonModel::SampleSecondaries(), G4LivermorePolarizedComptonModel::SampleSecondaries(), G4LowEPComptonModel::SampleSecondaries(), and G4LowEPPolarizedComptonModel::SampleSecondaries().
void G4ShellData::LoadData | ( | const G4String & | fileName | ) |
Definition at line 228 of file G4ShellData.cc.
References bindingMap, FatalException, geant4_check_module_cycles::file, G4Exception(), idMap, MeV, CLHEP::detail::n, G4InuclParticleNames::name(), nShells, occupancyData, occupancyPdfMap, ShellIdVector(), Z, zMax, and zMin.
Referenced by G4AtomicTransitionManager::Initialise(), G4LivermoreComptonModel::Initialise(), G4LivermorePolarizedComptonModel::Initialise(), G4LowEPComptonModel::Initialise(), and G4LowEPPolarizedComptonModel::Initialise().
size_t G4ShellData::NumberOfShells | ( | G4int | Z | ) | const |
Definition at line 81 of file G4ShellData.cc.
References CLHEP::detail::n, nShells, Z, zMax, and zMin.
Referenced by G4AtomicTransitionManager::Initialise(), and SelectRandomShell().
|
delete |
void G4ShellData::PrintData | ( | void | ) | const |
Definition at line 183 of file G4ShellData.cc.
References bindingMap, G4cout, G4endl, idMap, keV, nShells, occupancyData, occupancyPdfMap, Z, zMax, and zMin.
Definition at line 345 of file G4ShellData.cc.
References FatalErrorInArgument, G4Exception(), G4UniformRand, NumberOfShells(), ShellVector(), Z, and zMax.
Referenced by G4LivermoreComptonModel::SampleSecondaries(), G4LivermorePolarizedComptonModel::SampleSecondaries(), G4LowEPComptonModel::SampleSecondaries(), and G4LowEPPolarizedComptonModel::SampleSecondaries().
|
inline |
Definition at line 62 of file G4ShellData.hh.
References occupancyData.
Referenced by G4LivermoreComptonModel::Initialise(), G4LivermorePolarizedComptonModel::Initialise(), G4LowEPComptonModel::Initialise(), and G4LowEPPolarizedComptonModel::Initialise().
Definition at line 118 of file G4ShellData.cc.
References idMap, CLHEP::detail::n, pos, Z, zMax, and zMin.
Referenced by G4AtomicTransitionManager::Initialise().
Definition at line 95 of file G4ShellData.cc.
References FatalErrorInArgument, G4Exception(), idMap, pos, Z, and zMax.
Referenced by LoadData().
Definition at line 140 of file G4ShellData.cc.
Definition at line 107 of file G4ShellData.cc.
References G4Exception(), JustWarning, occupancyPdfMap, pos, Z, and zMax.
Referenced by SelectRandomShell().
|
private |
Definition at line 77 of file G4ShellData.hh.
Referenced by BindingEnergy(), LoadData(), PrintData(), and ~G4ShellData().
Definition at line 76 of file G4ShellData.hh.
Referenced by LoadData(), PrintData(), ShellId(), ShellIdVector(), ShellOccupancyProbability(), and ~G4ShellData().
|
private |
Definition at line 78 of file G4ShellData.hh.
Referenced by LoadData(), NumberOfShells(), and PrintData().
|
private |
Definition at line 83 of file G4ShellData.hh.
Referenced by LoadData(), PrintData(), SetOccupancyData(), and ~G4ShellData().
Definition at line 79 of file G4ShellData.hh.
Referenced by LoadData(), PrintData(), ShellVector(), and ~G4ShellData().
|
private |
Definition at line 82 of file G4ShellData.hh.
Referenced by BindingEnergy(), LoadData(), NumberOfShells(), PrintData(), SelectRandomShell(), ShellId(), ShellIdVector(), ShellOccupancyProbability(), and ShellVector().
|
private |
Definition at line 81 of file G4ShellData.hh.
Referenced by BindingEnergy(), LoadData(), NumberOfShells(), PrintData(), ShellId(), and ShellOccupancyProbability().