ECCE @ EIC Software
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
G4LevelReader Class Reference

#include <geant4/tree/geant4-10.6-release/source/processes/hadronic/models/de_excitation/management/include/G4LevelReader.hh>

+ Collaboration diagram for G4LevelReader:

Public Member Functions

 G4LevelReader (G4NuclearLevelData *)
 
const G4LevelManagerCreateLevelManager (G4int Z, G4int A)
 
const G4LevelManagerMakeLevelManager (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, G4float &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 fEnergy
 
G4double fCurrEnergy
 
G4double fTrEnergy
 
G4double ener
 
G4double tener
 
G4double fTimeFactor
 
G4double fTime
 
G4float fProb
 
G4float fSpin
 
G4float fAlpha
 
G4float fAlphaMax
 
G4float fRatio
 
G4float fICC [10]
 
G4String fDirectory
 
G4String fPol
 
char buffer [nbufmax]
 
char buff1 [nbuf1]
 
char buff2 [nbuf2]
 
char bufp [3]
 
G4int fVerbose
 
G4int fLevelMax
 
G4int fTransMax
 
G4int ntrans
 
G4int i1
 
G4int i2
 
G4int k
 
G4int kk
 
G4int tnum
 
G4float fNorm1
 
std::vector< G4doublevEnergy
 
std::vector< G4intvSpin
 
std::vector< const G4NucLevel * > vLevel
 
std::vector< G4intvTrans
 
std::vector< G4floatvRatio
 
std::vector< G4floatvGammaCumProbability
 
std::vector< G4floatvGammaProbability
 
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 nbuf1 = 14
 
static const G4int nbuf2 = 8
 

Detailed Description

Definition at line 54 of file G4LevelReader.hh.

View newest version in sPHENIX GitHub at line 54 of file G4LevelReader.hh

Constructor & Destructor Documentation

G4LevelReader::G4LevelReader ( G4NuclearLevelData ptr)
explicit

Definition at line 55 of file G4LevelReader.cc.

View newest version in sPHENIX GitHub at line 55 of file G4LevelReader.cc

References buff1, buff2, bufp, ener, f, fAlpha, fAlphaMax, FatalException, fCurrEnergy, fData, fDirectory, fEnergy, fICC, fLevelMax, fNorm1, fParam, fPol, fProb, fRatio, fSpin, fTime, fTimeFactor, fTransMax, fTrEnergy, G4Exception(), G4Pow::GetInstance(), G4NuclearLevelData::GetParameters(), i1, i2, k, kk, G4Pow::logZ(), nbuf1, nbuf2, nbufmax, ntrans, CLHEP::second, tener, tnum, vEnergy, vGammaCumProbability, vGammaProbability, vLevel, vRatio, vShellProbability, vSpin, and vTrans.

+ Here is the call graph for this function:

G4LevelReader::G4LevelReader ( const G4LevelReader right)
privatedelete

Member Function Documentation

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

Definition at line 209 of file G4LevelReader.cc.

View newest version in sPHENIX GitHub at line 209 of file G4LevelReader.cc

References A(), fDirectory, in, and LevelManager().

Referenced by G4NuclearLevelData::GetLevelManager(), and G4NuclearLevelData::UploadNuclearLevelData().

+ 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 234 of file G4LevelReader.cc.

View newest version in sPHENIX GitHub at line 234 of file G4LevelReader.cc

References A(), ener, f, fAlpha, fAlphaMax, FatalException, fFloatingLevels, fICC, fLevelMax, fNorm1, fParam, fPol, fProb, fRatio, fSpin, fTime, fTimeFactor, fTransMax, fVerbose, G4cout, G4endl, G4Exception(), i1, i2, JustWarning, k, CLHEP::keV, kk, max, CLHEP::MeV, min, nfloting, NormalizedICCProbability(), ntrans, CLHEP::prec, ReadDataItem(), G4DeexPrecoParameters::StoreICLevelData(), tener, tnum, vEnergy, vGammaCumProbability, vGammaProbability, vLevel, vRatio, vShellProbability, vSpin, vTrans, and x.

Referenced by CreateLevelManager(), and MakeLevelManager().

+ 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 219 of file G4LevelReader.cc.

View newest version in sPHENIX GitHub at line 219 of file G4LevelReader.cc

References FatalException, G4Exception(), in, 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 146 of file G4LevelReader.cc.

View newest version in sPHENIX GitHub at line 146 of file G4LevelReader.cc

References f, fAlpha, fICC, fVerbose, G4cout, G4endl, LL, N, G4InuclParticleNames::nn, norm, CLHEP::prec, and x.

Referenced by LevelManager().

+ 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 93 of file G4LevelReader.cc.

View newest version in sPHENIX GitHub at line 93 of file G4LevelReader.cc

References x.

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

Definition at line 99 of file G4LevelReader.cc.

View newest version in sPHENIX GitHub at line 99 of file G4LevelReader.cc

References buffer, and nbufmax.

Referenced by LevelManager().

+ Here is the caller graph for this function:

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

Definition at line 111 of file G4LevelReader.cc.

View newest version in sPHENIX GitHub at line 111 of file G4LevelReader.cc

References buff1, and nbuf1.

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

Definition at line 123 of file G4LevelReader.cc.

View newest version in sPHENIX GitHub at line 123 of file G4LevelReader.cc

References buff2, and nbuf2.

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

Definition at line 135 of file G4LevelReader.cc.

View newest version in sPHENIX GitHub at line 135 of file G4LevelReader.cc

References bufp.

void G4LevelReader::SetVerbose ( G4int  val)
inline

Definition at line 143 of file G4LevelReader.hh.

View newest version in sPHENIX GitHub at line 143 of file G4LevelReader.hh

References fVerbose.

Member Data Documentation

char G4LevelReader::buff1[nbuf1]
private

Definition at line 121 of file G4LevelReader.hh.

View newest version in sPHENIX GitHub at line 121 of file G4LevelReader.hh

Referenced by G4LevelReader(), and ReadDataItem().

char G4LevelReader::buff2[nbuf2]
private

Definition at line 122 of file G4LevelReader.hh.

View newest version in sPHENIX GitHub at line 122 of file G4LevelReader.hh

Referenced by G4LevelReader(), and ReadDataItem().

char G4LevelReader::buffer[nbufmax]
private

Definition at line 120 of file G4LevelReader.hh.

View newest version in sPHENIX GitHub at line 120 of file G4LevelReader.hh

Referenced by ReadDataItem().

char G4LevelReader::bufp[3]
private

Definition at line 123 of file G4LevelReader.hh.

View newest version in sPHENIX GitHub at line 123 of file G4LevelReader.hh

Referenced by G4LevelReader(), and ReadDataItem().

G4double G4LevelReader::ener
private

Definition at line 98 of file G4LevelReader.hh.

View newest version in sPHENIX GitHub at line 98 of file G4LevelReader.hh

Referenced by G4LevelReader(), and LevelManager().

G4float G4LevelReader::fAlpha
private

Definition at line 105 of file G4LevelReader.hh.

View newest version in sPHENIX GitHub at line 105 of file G4LevelReader.hh

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

G4float G4LevelReader::fAlphaMax
private

Definition at line 106 of file G4LevelReader.hh.

View newest version in sPHENIX GitHub at line 106 of file G4LevelReader.hh

Referenced by G4LevelReader(), and LevelManager().

G4double G4LevelReader::fCurrEnergy
private

Definition at line 96 of file G4LevelReader.hh.

View newest version in sPHENIX GitHub at line 96 of file G4LevelReader.hh

Referenced by G4LevelReader().

G4NuclearLevelData* G4LevelReader::fData
private

Definition at line 92 of file G4LevelReader.hh.

View newest version in sPHENIX GitHub at line 92 of file G4LevelReader.hh

Referenced by G4LevelReader().

G4String G4LevelReader::fDirectory
private

Definition at line 113 of file G4LevelReader.hh.

View newest version in sPHENIX GitHub at line 113 of file G4LevelReader.hh

Referenced by CreateLevelManager(), and G4LevelReader().

G4double G4LevelReader::fEnergy
private

Definition at line 95 of file G4LevelReader.hh.

View newest version in sPHENIX GitHub at line 95 of file G4LevelReader.hh

Referenced by G4LevelReader().

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

Definition at line 111 of file G4LevelReader.hh.

View newest version in sPHENIX GitHub at line 111 of file G4LevelReader.hh

Referenced by LevelManager().

G4float G4LevelReader::fICC[10]
private

Definition at line 108 of file G4LevelReader.hh.

View newest version in sPHENIX GitHub at line 108 of file G4LevelReader.hh

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

G4int G4LevelReader::fLevelMax
private

Definition at line 126 of file G4LevelReader.hh.

View newest version in sPHENIX GitHub at line 126 of file G4LevelReader.hh

Referenced by G4LevelReader(), and LevelManager().

G4float G4LevelReader::fNorm1
private

Definition at line 130 of file G4LevelReader.hh.

View newest version in sPHENIX GitHub at line 130 of file G4LevelReader.hh

Referenced by G4LevelReader(), and LevelManager().

G4DeexPrecoParameters* G4LevelReader::fParam
private

Definition at line 93 of file G4LevelReader.hh.

View newest version in sPHENIX GitHub at line 93 of file G4LevelReader.hh

Referenced by G4LevelReader(), and LevelManager().

G4String G4LevelReader::fPol
private

Definition at line 114 of file G4LevelReader.hh.

View newest version in sPHENIX GitHub at line 114 of file G4LevelReader.hh

Referenced by G4LevelReader(), and LevelManager().

G4float G4LevelReader::fProb
private

Definition at line 103 of file G4LevelReader.hh.

View newest version in sPHENIX GitHub at line 103 of file G4LevelReader.hh

Referenced by G4LevelReader(), and LevelManager().

G4float G4LevelReader::fRatio
private

Definition at line 107 of file G4LevelReader.hh.

View newest version in sPHENIX GitHub at line 107 of file G4LevelReader.hh

Referenced by G4LevelReader(), and LevelManager().

G4float G4LevelReader::fSpin
private

Definition at line 104 of file G4LevelReader.hh.

View newest version in sPHENIX GitHub at line 104 of file G4LevelReader.hh

Referenced by G4LevelReader(), and LevelManager().

G4double G4LevelReader::fTime
private

Definition at line 101 of file G4LevelReader.hh.

View newest version in sPHENIX GitHub at line 101 of file G4LevelReader.hh

Referenced by G4LevelReader(), and LevelManager().

G4double G4LevelReader::fTimeFactor
private

Definition at line 100 of file G4LevelReader.hh.

View newest version in sPHENIX GitHub at line 100 of file G4LevelReader.hh

Referenced by G4LevelReader(), and LevelManager().

G4int G4LevelReader::fTransMax
private

Definition at line 127 of file G4LevelReader.hh.

View newest version in sPHENIX GitHub at line 127 of file G4LevelReader.hh

Referenced by G4LevelReader(), and LevelManager().

G4double G4LevelReader::fTrEnergy
private

Definition at line 97 of file G4LevelReader.hh.

View newest version in sPHENIX GitHub at line 97 of file G4LevelReader.hh

Referenced by G4LevelReader().

G4int G4LevelReader::fVerbose
private

Definition at line 125 of file G4LevelReader.hh.

View newest version in sPHENIX GitHub at line 125 of file G4LevelReader.hh

Referenced by LevelManager(), NormalizedICCProbability(), and SetVerbose().

G4int G4LevelReader::i1
private

Definition at line 128 of file G4LevelReader.hh.

View newest version in sPHENIX GitHub at line 128 of file G4LevelReader.hh

Referenced by G4LevelReader(), and LevelManager().

G4int G4LevelReader::i2
private

Definition at line 128 of file G4LevelReader.hh.

View newest version in sPHENIX GitHub at line 128 of file G4LevelReader.hh

Referenced by G4LevelReader(), and LevelManager().

G4int G4LevelReader::k
private

Definition at line 128 of file G4LevelReader.hh.

View newest version in sPHENIX GitHub at line 128 of file G4LevelReader.hh

Referenced by G4LevelReader(), and LevelManager().

G4int G4LevelReader::kk
private

Definition at line 128 of file G4LevelReader.hh.

View newest version in sPHENIX GitHub at line 128 of file G4LevelReader.hh

Referenced by G4LevelReader(), and LevelManager().

const G4int G4LevelReader::nbuf1 = 14
staticprivate

Definition at line 117 of file G4LevelReader.hh.

View newest version in sPHENIX GitHub at line 117 of file G4LevelReader.hh

Referenced by G4LevelReader(), and ReadDataItem().

const G4int G4LevelReader::nbuf2 = 8
staticprivate

Definition at line 118 of file G4LevelReader.hh.

View newest version in sPHENIX GitHub at line 118 of file G4LevelReader.hh

Referenced by G4LevelReader(), and ReadDataItem().

const G4int G4LevelReader::nbufmax = 20
staticprivate

Definition at line 116 of file G4LevelReader.hh.

View newest version in sPHENIX GitHub at line 116 of file G4LevelReader.hh

Referenced by G4LevelReader(), and ReadDataItem().

const G4int G4LevelReader::nfloting = 13
staticprivate

Definition at line 110 of file G4LevelReader.hh.

View newest version in sPHENIX GitHub at line 110 of file G4LevelReader.hh

Referenced by LevelManager().

G4int G4LevelReader::ntrans
private

Definition at line 128 of file G4LevelReader.hh.

View newest version in sPHENIX GitHub at line 128 of file G4LevelReader.hh

Referenced by G4LevelReader(), and LevelManager().

G4double G4LevelReader::tener
private

Definition at line 98 of file G4LevelReader.hh.

View newest version in sPHENIX GitHub at line 98 of file G4LevelReader.hh

Referenced by G4LevelReader(), and LevelManager().

G4int G4LevelReader::tnum
private

Definition at line 128 of file G4LevelReader.hh.

View newest version in sPHENIX GitHub at line 128 of file G4LevelReader.hh

Referenced by G4LevelReader(), and LevelManager().

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

Definition at line 132 of file G4LevelReader.hh.

View newest version in sPHENIX GitHub at line 132 of file G4LevelReader.hh

Referenced by G4LevelReader(), and LevelManager().

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

Definition at line 138 of file G4LevelReader.hh.

View newest version in sPHENIX GitHub at line 138 of file G4LevelReader.hh

Referenced by G4LevelReader(), and LevelManager().

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

Definition at line 139 of file G4LevelReader.hh.

View newest version in sPHENIX GitHub at line 139 of file G4LevelReader.hh

Referenced by G4LevelReader(), and LevelManager().

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

Definition at line 134 of file G4LevelReader.hh.

View newest version in sPHENIX GitHub at line 134 of file G4LevelReader.hh

Referenced by G4LevelReader(), and LevelManager().

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

Definition at line 137 of file G4LevelReader.hh.

View newest version in sPHENIX GitHub at line 137 of file G4LevelReader.hh

Referenced by G4LevelReader(), and LevelManager().

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

Definition at line 140 of file G4LevelReader.hh.

View newest version in sPHENIX GitHub at line 140 of file G4LevelReader.hh

Referenced by G4LevelReader(), and LevelManager().

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

Definition at line 133 of file G4LevelReader.hh.

View newest version in sPHENIX GitHub at line 133 of file G4LevelReader.hh

Referenced by G4LevelReader(), and LevelManager().

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

Definition at line 136 of file G4LevelReader.hh.

View newest version in sPHENIX GitHub at line 136 of file G4LevelReader.hh

Referenced by G4LevelReader(), and LevelManager().


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