Geant4  10.00.p03
G4ShellData Class Reference

#include <G4ShellData.hh>

Public Member Functions

 G4ShellData (G4int minZ=1, G4int maxZ=100, G4bool isOccupancy=false)
 
 ~G4ShellData ()
 
size_t NumberOfShells (G4int Z) const
 
G4int ShellId (G4int Z, G4int shellIndex) const
 
G4double ShellOccupancyProbability (G4int Z, G4int shellIndex) const
 
const std::vector< G4double > & ShellIdVector (G4int Z) const
 
G4double BindingEnergy (G4int Z, G4int shellIndex) const
 
void SetOccupancyData ()
 
void LoadData (const G4String &fileName)
 
void PrintData () const
 
G4int SelectRandomShell (G4int Z) const
 

Private Member Functions

G4ShellDataoperator= (const G4ShellData &right)
 
 G4ShellData (const G4ShellData &)
 
const std::vector< G4double > & ShellVector (G4int Z) const
 

Private Attributes

G4int zMin
 
G4int zMax
 
G4bool occupancyData
 
std::map< G4int, std::vector
< G4double > *, std::less
< G4int > > 
idMap
 
std::map< G4int, G4DataVector
*, std::less< G4int > > 
bindingMap
 
std::vector< G4intnShells
 
std::map< G4int, std::vector
< G4double > *, std::less
< G4int > > 
occupancyPdfMap
 

Detailed Description

Definition at line 52 of file G4ShellData.hh.

Constructor & Destructor Documentation

G4ShellData::G4ShellData ( G4int  minZ = 1,
G4int  maxZ = 100,
G4bool  isOccupancy = false 
)

Definition at line 51 of file G4ShellData.cc.

G4ShellData::~G4ShellData ( )

Definition at line 56 of file G4ShellData.cc.

References bindingMap, idMap, occupancyData, occupancyPdfMap, and pos.

G4ShellData::G4ShellData ( const G4ShellData )
private

Member Function Documentation

G4double G4ShellData::BindingEnergy ( G4int  Z,
G4int  shellIndex 
) const

Definition at line 166 of file G4ShellData.cc.

References bindingMap, pos, zMax, and zMin.

Referenced by G4AtomicTransitionManager::G4AtomicTransitionManager(), G4LivermorePolarizedComptonModel::SampleSecondaries(), G4LivermoreComptonModifiedModel::SampleSecondaries(), G4LivermoreComptonModel::SampleSecondaries(), and G4LowEPComptonModel::SampleSecondaries().

+ Here is the caller graph for this function:

void G4ShellData::LoadData ( const G4String fileName)

Definition at line 234 of file G4ShellData.cc.

References a, bindingMap, FatalException, G4Exception(), idMap, MeV, n, name, nShells, occupancyData, occupancyPdfMap, ShellIdVector(), zMax, and zMin.

Referenced by G4AtomicTransitionManager::G4AtomicTransitionManager(), G4LivermorePolarizedComptonModel::Initialise(), G4LivermoreComptonModel::Initialise(), G4LivermoreComptonModifiedModel::Initialise(), and G4LowEPComptonModel::Initialise().

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

size_t G4ShellData::NumberOfShells ( G4int  Z) const

Definition at line 84 of file G4ShellData.cc.

References n, nShells, z, zMax, and zMin.

Referenced by G4AtomicTransitionManager::G4AtomicTransitionManager(), and SelectRandomShell().

+ Here is the caller graph for this function:

G4ShellData& G4ShellData::operator= ( const G4ShellData right)
private
void G4ShellData::PrintData ( void  ) const

Definition at line 187 of file G4ShellData.cc.

References bindingMap, G4cout, G4endl, idMap, keV, nShells, occupancyData, occupancyPdfMap, zMax, and zMin.

G4int G4ShellData::SelectRandomShell ( G4int  Z) const

Definition at line 363 of file G4ShellData.cc.

References FatalErrorInArgument, G4Exception(), G4UniformRand, NumberOfShells(), ShellVector(), and zMax.

Referenced by G4LivermorePolarizedComptonModel::SampleSecondaries(), G4LivermoreComptonModifiedModel::SampleSecondaries(), G4LivermoreComptonModel::SampleSecondaries(), and G4LowEPComptonModel::SampleSecondaries().

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

void G4ShellData::SetOccupancyData ( )
inline

Definition at line 70 of file G4ShellData.hh.

References occupancyData.

Referenced by G4LivermorePolarizedComptonModel::Initialise(), G4LivermoreComptonModel::Initialise(), G4LivermoreComptonModifiedModel::Initialise(), and G4LowEPComptonModel::Initialise().

+ Here is the caller graph for this function:

G4int G4ShellData::ShellId ( G4int  Z,
G4int  shellIndex 
) const

Definition at line 121 of file G4ShellData.cc.

References idMap, n, pos, zMax, and zMin.

Referenced by G4AtomicTransitionManager::G4AtomicTransitionManager().

+ Here is the caller graph for this function:

const std::vector< G4double > & G4ShellData::ShellIdVector ( G4int  Z) const

Definition at line 97 of file G4ShellData.cc.

References FatalErrorInArgument, G4Exception(), idMap, pos, and zMax.

Referenced by LoadData().

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

G4double G4ShellData::ShellOccupancyProbability ( G4int  Z,
G4int  shellIndex 
) const

Definition at line 143 of file G4ShellData.cc.

References idMap, pos, zMax, and zMin.

const std::vector< G4double > & G4ShellData::ShellVector ( G4int  Z) const
private

Definition at line 111 of file G4ShellData.cc.

References G4Exception(), JustWarning, occupancyPdfMap, pos, and zMax.

Referenced by SelectRandomShell().

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

Member Data Documentation

std::map<G4int,G4DataVector*,std::less<G4int> > G4ShellData::bindingMap
private

Definition at line 93 of file G4ShellData.hh.

Referenced by BindingEnergy(), LoadData(), PrintData(), and ~G4ShellData().

std::map<G4int,std::vector<G4double>*,std::less<G4int> > G4ShellData::idMap
private
std::vector<G4int> G4ShellData::nShells
private

Definition at line 94 of file G4ShellData.hh.

Referenced by LoadData(), NumberOfShells(), and PrintData().

G4bool G4ShellData::occupancyData
private

Definition at line 90 of file G4ShellData.hh.

Referenced by LoadData(), PrintData(), SetOccupancyData(), and ~G4ShellData().

std::map<G4int,std::vector<G4double>*,std::less<G4int> > G4ShellData::occupancyPdfMap
private

Definition at line 95 of file G4ShellData.hh.

Referenced by LoadData(), PrintData(), ShellVector(), and ~G4ShellData().

G4int G4ShellData::zMin
private

The documentation for this class was generated from the following files: