Geant4  10.03
G4LevelReader Class Reference

#include <G4LevelReader.hh>

+ Collaboration diagram for G4LevelReader:

Public Member Functions

 G4LevelReader (G4NuclearLevelData *)
 
const G4LevelManagerCreateLevelManager (G4int Z, G4int A)
 
const G4LevelManagerCreateLevelManagerNEW (G4int Z, G4int A)
 
const G4LevelManagerMakeLevelManager (G4int Z, G4int A, const G4String &filename)
 
const G4LevelManagerMakeLevelManagerNEW (G4int Z, G4int A, const G4String &filename)
 
void SetVerbose (G4int val)
 

Private Member Functions

G4bool ReadData (std::istringstream &dataFile, G4double &x)
 
G4bool ReadDataItem (std::istream &dataFile, G4double &x)
 
G4bool ReadDataItem (std::istream &dataFile, G4int &x)
 
G4bool ReadDataItem (std::istream &dataFile, G4String &x)
 
const std::vector< G4float > * NormalizedICCProbability (G4int Z)
 
const G4LevelManagerLevelManager (G4int Z, G4int A, G4int nlev, std::ifstream &infile)
 
 G4LevelReader (const G4LevelReader &right)=delete
 
const G4LevelReaderoperator= (const G4LevelReader &right)=delete
 
G4bool operator== (const G4LevelReader &right) const =delete
 
G4bool operator!= (const G4LevelReader &right) const =delete
 

Private Attributes

G4NuclearLevelDatafData
 
G4DeexPrecoParametersfParam
 
G4double fMinProbability
 
G4double fTimeFactor
 
G4double fEnergy
 
G4double fCurrEnergy
 
G4double fTrEnergy
 
G4double fProb
 
G4double fTime
 
G4double fSpin
 
G4double fAlpha
 
G4double fRatio
 
G4double fICC [10]
 
G4String fDirectory
 
G4String fFile
 
G4String fPol
 
char buffer [nbufmax]
 
char buff2 [nbuf2]
 
char bufp [2]
 
G4int fVerbose
 
G4int fLevelMax
 
G4int fTransMax
 
G4float fNorm1
 
G4float fNorm2
 
std::vector< G4floatvEnergy
 
std::vector< G4floatvTime
 
std::vector< G4floatvTimeg
 
std::vector< G4intvSpin
 
std::vector< G4intvMeta
 
std::vector< G4intvIndexDB
 
std::vector< const G4NucLevel * > vLevel
 
std::vector< size_t > vIndex
 
std::vector< G4intvTrans
 
std::vector< G4floatvRatio
 
std::vector< G4floatvGammaCumProbability
 
std::vector< G4floatvGammaECumProbability
 
std::vector< G4floatvGammaProbability
 
std::vector< G4floatvMpRatio
 
std::vector< const std::vector
< G4float > * > 
vShellProbability
 

Static Private Attributes

static const G4int nfloting = 13
 
static G4String fFloatingLevels [nfloting]
 
static const G4int nbufmax = 20
 
static const G4int nbuf2 = 8
 

Detailed Description

Definition at line 55 of file G4LevelReader.hh.

Constructor & Destructor Documentation

G4LevelReader::G4LevelReader ( G4NuclearLevelData ptr)
explicit
G4LevelReader::G4LevelReader ( const G4LevelReader right)
privatedelete

Member Function Documentation

const G4LevelManager * G4LevelReader::CreateLevelManager ( G4int  Z,
G4int  A 
)

Definition at line 99 of file G4LevelReader.cc.

References A(), fDirectory, fFile, and MakeLevelManager().

Referenced by G4NuclearLevelData::InitialiseForIsotope().

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

const G4LevelManager * G4LevelReader::CreateLevelManagerNEW ( G4int  Z,
G4int  A 
)

Definition at line 422 of file G4LevelReader.cc.

References A(), fDirectory, fFile, fVerbose, G4cout, G4endl, and LevelManager().

Referenced by G4NuclearLevelData::InitialiseForIsotope().

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

const G4LevelManager * G4LevelReader::LevelManager ( G4int  Z,
G4int  A,
G4int  nlev,
std::ifstream &  infile 
)
private

Definition at line 471 of file G4LevelReader.cc.

References A(), emax, fAlpha, fData, fEnergy, fFloatingLevels, fICC, fLevelMax, fNorm1, fNorm2, fParam, fProb, fRatio, fSpin, fTime, fTimeFactor, fTransMax, fTrEnergy, fVerbose, G4cout, G4endl, G4NuclearLevelData::GetMaxLevelEnergy(), keV, G4INCL::Math::max(), MeV, nfloting, NormalizedICCProbability(), CLHEP::prec, ReadDataItem(), G4DeexPrecoParameters::StoreAllLevels(), vEnergy, vGammaCumProbability, vGammaECumProbability, vGammaProbability, vIndex, vIndexDB, vLevel, vMeta, vMpRatio, vRatio, vShellProbability, vSpin, vTime, vTimeg, and vTrans.

Referenced by CreateLevelManagerNEW(), and MakeLevelManagerNEW().

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

const G4LevelManager * G4LevelReader::MakeLevelManager ( G4int  Z,
G4int  A,
const G4String filename 
)

Definition at line 109 of file G4LevelReader.cc.

References DBL_MAX, eV, fAlpha, fCurrEnergy, fEnergy, fICC, FLT_MAX, fMinProbability, fNorm1, fNorm2, fPol, fProb, fSpin, fTime, fTimeFactor, fTrEnergy, fVerbose, G4cout, G4endl, keV, G4INCL::Math::max(), G4LevelManager::MaxLevelEnergy(), MeV, G4InuclParticleNames::nn, NormalizedICCProbability(), ReadDataItem(), vEnergy, vGammaCumProbability, vGammaECumProbability, vGammaProbability, vIndex, vLevel, vMeta, vMpRatio, vShellProbability, vSpin, vTime, vTimeg, and vTrans.

Referenced by G4NuclearLevelData::AddPrivateData(), and CreateLevelManager().

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

const G4LevelManager * G4LevelReader::MakeLevelManagerNEW ( G4int  Z,
G4int  A,
const G4String filename 
)

Definition at line 448 of file G4LevelReader.cc.

References fVerbose, G4cout, G4endl, and LevelManager().

Referenced by G4NuclearLevelData::AddPrivateData().

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

const std::vector< G4float > * G4LevelReader::NormalizedICCProbability ( G4int  Z)
private

Definition at line 362 of file G4LevelReader.cc.

References fICC, fVerbose, G4cout, G4endl, LL, G4InuclParticleNames::nn, and CLHEP::prec.

Referenced by LevelManager(), and MakeLevelManager().

+ Here is the caller graph for this function:

G4bool G4LevelReader::operator!= ( const G4LevelReader right) const
privatedelete
const G4LevelReader& G4LevelReader::operator= ( const G4LevelReader right)
privatedelete
G4bool G4LevelReader::operator== ( const G4LevelReader right) const
privatedelete
G4bool G4LevelReader::ReadData ( std::istringstream &  dataFile,
G4double x 
)
private

Definition at line 323 of file G4LevelReader.cc.

G4bool G4LevelReader::ReadDataItem ( std::istream &  dataFile,
G4double x 
)
private

Definition at line 329 of file G4LevelReader.cc.

References buffer, and nbufmax.

Referenced by LevelManager(), and MakeLevelManager().

+ Here is the caller graph for this function:

G4bool G4LevelReader::ReadDataItem ( std::istream &  dataFile,
G4int x 
)
private

Definition at line 341 of file G4LevelReader.cc.

References buff2, and nbuf2.

G4bool G4LevelReader::ReadDataItem ( std::istream &  dataFile,
G4String x 
)
private

Definition at line 353 of file G4LevelReader.cc.

References bufp.

void G4LevelReader::SetVerbose ( G4int  val)
inline

Definition at line 152 of file G4LevelReader.hh.

References fVerbose.

Member Data Documentation

char G4LevelReader::buff2[nbuf2]
private

Definition at line 124 of file G4LevelReader.hh.

Referenced by G4LevelReader(), and ReadDataItem().

char G4LevelReader::buffer[nbufmax]
private

Definition at line 123 of file G4LevelReader.hh.

Referenced by G4LevelReader(), and ReadDataItem().

char G4LevelReader::bufp[2]
private

Definition at line 125 of file G4LevelReader.hh.

Referenced by G4LevelReader(), and ReadDataItem().

G4double G4LevelReader::fAlpha
private

Definition at line 109 of file G4LevelReader.hh.

Referenced by G4LevelReader(), LevelManager(), and MakeLevelManager().

G4double G4LevelReader::fCurrEnergy
private

Definition at line 104 of file G4LevelReader.hh.

Referenced by G4LevelReader(), and MakeLevelManager().

G4NuclearLevelData* G4LevelReader::fData
private

Definition at line 97 of file G4LevelReader.hh.

Referenced by G4LevelReader(), and LevelManager().

G4String G4LevelReader::fDirectory
private

Definition at line 116 of file G4LevelReader.hh.

Referenced by CreateLevelManager(), CreateLevelManagerNEW(), and G4LevelReader().

G4double G4LevelReader::fEnergy
private

Definition at line 103 of file G4LevelReader.hh.

Referenced by G4LevelReader(), LevelManager(), and MakeLevelManager().

G4String G4LevelReader::fFile
private

Definition at line 117 of file G4LevelReader.hh.

Referenced by CreateLevelManager(), CreateLevelManagerNEW(), and G4LevelReader().

G4String G4LevelReader::fFloatingLevels
staticprivate
Initial value:
= {
"-", "+X", "+Y", "+Z", "+U", "+V", "+W", "+R", "+S", "+T", "+A", "+B", "+C"}

Definition at line 114 of file G4LevelReader.hh.

Referenced by LevelManager().

G4double G4LevelReader::fICC[10]
private
G4int G4LevelReader::fLevelMax
private

Definition at line 128 of file G4LevelReader.hh.

Referenced by G4LevelReader(), and LevelManager().

G4double G4LevelReader::fMinProbability
private

Definition at line 100 of file G4LevelReader.hh.

Referenced by MakeLevelManager().

G4float G4LevelReader::fNorm1
private

Definition at line 131 of file G4LevelReader.hh.

Referenced by G4LevelReader(), LevelManager(), and MakeLevelManager().

G4float G4LevelReader::fNorm2
private

Definition at line 132 of file G4LevelReader.hh.

Referenced by G4LevelReader(), LevelManager(), and MakeLevelManager().

G4DeexPrecoParameters* G4LevelReader::fParam
private

Definition at line 98 of file G4LevelReader.hh.

Referenced by G4LevelReader(), and LevelManager().

G4String G4LevelReader::fPol
private

Definition at line 118 of file G4LevelReader.hh.

Referenced by G4LevelReader(), and MakeLevelManager().

G4double G4LevelReader::fProb
private

Definition at line 106 of file G4LevelReader.hh.

Referenced by G4LevelReader(), LevelManager(), and MakeLevelManager().

G4double G4LevelReader::fRatio
private

Definition at line 110 of file G4LevelReader.hh.

Referenced by G4LevelReader(), and LevelManager().

G4double G4LevelReader::fSpin
private

Definition at line 108 of file G4LevelReader.hh.

Referenced by G4LevelReader(), LevelManager(), and MakeLevelManager().

G4double G4LevelReader::fTime
private

Definition at line 107 of file G4LevelReader.hh.

Referenced by G4LevelReader(), LevelManager(), and MakeLevelManager().

G4double G4LevelReader::fTimeFactor
private

Definition at line 101 of file G4LevelReader.hh.

Referenced by G4LevelReader(), LevelManager(), and MakeLevelManager().

G4int G4LevelReader::fTransMax
private

Definition at line 129 of file G4LevelReader.hh.

Referenced by G4LevelReader(), and LevelManager().

G4double G4LevelReader::fTrEnergy
private

Definition at line 105 of file G4LevelReader.hh.

Referenced by G4LevelReader(), LevelManager(), and MakeLevelManager().

G4int G4LevelReader::fVerbose
private
const G4int G4LevelReader::nbuf2 = 8
staticprivate

Definition at line 121 of file G4LevelReader.hh.

Referenced by G4LevelReader(), and ReadDataItem().

const G4int G4LevelReader::nbufmax = 20
staticprivate

Definition at line 120 of file G4LevelReader.hh.

Referenced by G4LevelReader(), and ReadDataItem().

const G4int G4LevelReader::nfloting = 13
staticprivate

Definition at line 113 of file G4LevelReader.hh.

Referenced by LevelManager().

std::vector<G4float> G4LevelReader::vEnergy
private

Definition at line 134 of file G4LevelReader.hh.

Referenced by G4LevelReader(), LevelManager(), and MakeLevelManager().

std::vector<G4float> G4LevelReader::vGammaCumProbability
private

Definition at line 145 of file G4LevelReader.hh.

Referenced by G4LevelReader(), LevelManager(), and MakeLevelManager().

std::vector<G4float> G4LevelReader::vGammaECumProbability
private

Definition at line 146 of file G4LevelReader.hh.

Referenced by G4LevelReader(), LevelManager(), and MakeLevelManager().

std::vector<G4float> G4LevelReader::vGammaProbability
private

Definition at line 147 of file G4LevelReader.hh.

Referenced by G4LevelReader(), LevelManager(), and MakeLevelManager().

std::vector<size_t> G4LevelReader::vIndex
private

Definition at line 142 of file G4LevelReader.hh.

Referenced by G4LevelReader(), LevelManager(), and MakeLevelManager().

std::vector<G4int> G4LevelReader::vIndexDB
private

Definition at line 139 of file G4LevelReader.hh.

Referenced by G4LevelReader(), and LevelManager().

std::vector<const G4NucLevel*> G4LevelReader::vLevel
private

Definition at line 140 of file G4LevelReader.hh.

Referenced by G4LevelReader(), LevelManager(), and MakeLevelManager().

std::vector<G4int> G4LevelReader::vMeta
private

Definition at line 138 of file G4LevelReader.hh.

Referenced by G4LevelReader(), LevelManager(), and MakeLevelManager().

std::vector<G4float> G4LevelReader::vMpRatio
private

Definition at line 148 of file G4LevelReader.hh.

Referenced by G4LevelReader(), LevelManager(), and MakeLevelManager().

std::vector<G4float> G4LevelReader::vRatio
private

Definition at line 144 of file G4LevelReader.hh.

Referenced by G4LevelReader(), and LevelManager().

std::vector<const std::vector<G4float>*> G4LevelReader::vShellProbability
private

Definition at line 149 of file G4LevelReader.hh.

Referenced by G4LevelReader(), LevelManager(), and MakeLevelManager().

std::vector<G4int> G4LevelReader::vSpin
private

Definition at line 137 of file G4LevelReader.hh.

Referenced by G4LevelReader(), LevelManager(), and MakeLevelManager().

std::vector<G4float> G4LevelReader::vTime
private

Definition at line 135 of file G4LevelReader.hh.

Referenced by G4LevelReader(), LevelManager(), and MakeLevelManager().

std::vector<G4float> G4LevelReader::vTimeg
private

Definition at line 136 of file G4LevelReader.hh.

Referenced by G4LevelReader(), LevelManager(), and MakeLevelManager().

std::vector<G4int> G4LevelReader::vTrans
private

Definition at line 143 of file G4LevelReader.hh.

Referenced by G4LevelReader(), LevelManager(), and MakeLevelManager().


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