Geant4  10.00.p03
G4LevelReader Class Reference

#include <G4LevelReader.hh>

Public Member Functions

 G4LevelReader ()
 
 ~G4LevelReader ()
 
void FillLevels (G4int Z, G4int A, std::vector< G4NucLevel * > *levels, const G4String &filename)
 
void SetVerbose (G4int val)
 

Private Member Functions

G4bool Read (std::ifstream &aDataFile)
 
G4bool ReadDataItem (std::istream &dataFile, G4double &x)
 
void MakeNewLevel (std::vector< G4NucLevel * > *levels)
 
 G4LevelReader (const G4LevelReader &right)
 
const G4LevelReaderoperator= (const G4LevelReader &right)
 
G4bool operator== (const G4LevelReader &right) const
 
G4bool operator!= (const G4LevelReader &right) const
 

Private Attributes

size_t nLevels
 
size_t nLevelMax
 
G4int fVerbose
 
G4double fMinProbability
 
G4double fLevelEnergy
 
G4double fNewEnergy
 
G4double fDeltaEnergy
 
G4double fNewTime
 
G4double fHalfLifeTime
 
G4double fProbability
 
G4double fICC
 
G4double fx
 
std::vector< G4doubleeGamma
 
std::vector< G4doublewGamma
 
std::vector< G4doublekICC
 
char buffer [30]
 

Detailed Description

Definition at line 54 of file G4LevelReader.hh.

Constructor & Destructor Documentation

G4LevelReader::G4LevelReader ( )
G4LevelReader::~G4LevelReader ( )

Definition at line 57 of file G4LevelReader.cc.

G4LevelReader::G4LevelReader ( const G4LevelReader right)
private

Member Function Documentation

void G4LevelReader::FillLevels ( G4int  Z,
G4int  A,
std::vector< G4NucLevel * > *  levels,
const G4String filename 
)

Definition at line 60 of file G4LevelReader.cc.

References eGamma, fDeltaEnergy, fHalfLifeTime, fICC, fLevelEnergy, fMinProbability, fNewEnergy, fNewTime, fProbability, fVerbose, G4cout, G4endl, keV, kICC, MakeNewLevel(), G4INCL::Math::max(), nLevelMax, nLevels, Read(), and wGamma.

Referenced by G4LevelManager::G4LevelManager().

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

void G4LevelReader::MakeNewLevel ( std::vector< G4NucLevel * > *  levels)
private

Definition at line 145 of file G4LevelReader.cc.

References eGamma, fHalfLifeTime, fLevelEnergy, kICC, nLevels, second, and wGamma.

Referenced by FillLevels().

+ Here is the caller graph for this function:

G4bool G4LevelReader::operator!= ( const G4LevelReader right) const
private
const G4LevelReader& G4LevelReader::operator= ( const G4LevelReader right)
private
G4bool G4LevelReader::operator== ( const G4LevelReader right) const
private
G4bool G4LevelReader::Read ( std::ifstream &  aDataFile)
private

Definition at line 110 of file G4LevelReader.cc.

References fDeltaEnergy, fICC, fNewEnergy, fNewTime, fProbability, fx, and ReadDataItem().

Referenced by FillLevels().

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

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

Definition at line 133 of file G4LevelReader.cc.

References buffer.

Referenced by Read().

+ Here is the caller graph for this function:

void G4LevelReader::SetVerbose ( G4int  val)
inline

Definition at line 104 of file G4LevelReader.hh.

References fVerbose.

Member Data Documentation

char G4LevelReader::buffer[30]
private

Definition at line 100 of file G4LevelReader.hh.

Referenced by G4LevelReader(), and ReadDataItem().

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

Definition at line 95 of file G4LevelReader.hh.

Referenced by FillLevels(), G4LevelReader(), and MakeNewLevel().

G4double G4LevelReader::fDeltaEnergy
private

Definition at line 88 of file G4LevelReader.hh.

Referenced by FillLevels(), G4LevelReader(), and Read().

G4double G4LevelReader::fHalfLifeTime
private

Definition at line 90 of file G4LevelReader.hh.

Referenced by FillLevels(), G4LevelReader(), and MakeNewLevel().

G4double G4LevelReader::fICC
private

Definition at line 92 of file G4LevelReader.hh.

Referenced by FillLevels(), G4LevelReader(), and Read().

G4double G4LevelReader::fLevelEnergy
private

Definition at line 86 of file G4LevelReader.hh.

Referenced by FillLevels(), G4LevelReader(), and MakeNewLevel().

G4double G4LevelReader::fMinProbability
private

Definition at line 85 of file G4LevelReader.hh.

Referenced by FillLevels().

G4double G4LevelReader::fNewEnergy
private

Definition at line 87 of file G4LevelReader.hh.

Referenced by FillLevels(), G4LevelReader(), and Read().

G4double G4LevelReader::fNewTime
private

Definition at line 89 of file G4LevelReader.hh.

Referenced by FillLevels(), G4LevelReader(), and Read().

G4double G4LevelReader::fProbability
private

Definition at line 91 of file G4LevelReader.hh.

Referenced by FillLevels(), G4LevelReader(), and Read().

G4int G4LevelReader::fVerbose
private

Definition at line 84 of file G4LevelReader.hh.

Referenced by FillLevels(), and SetVerbose().

G4double G4LevelReader::fx
private

Definition at line 93 of file G4LevelReader.hh.

Referenced by G4LevelReader(), and Read().

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

Definition at line 97 of file G4LevelReader.hh.

Referenced by FillLevels(), G4LevelReader(), and MakeNewLevel().

size_t G4LevelReader::nLevelMax
private

Definition at line 83 of file G4LevelReader.hh.

Referenced by FillLevels(), and G4LevelReader().

size_t G4LevelReader::nLevels
private

Definition at line 82 of file G4LevelReader.hh.

Referenced by FillLevels(), and MakeNewLevel().

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

Definition at line 96 of file G4LevelReader.hh.

Referenced by FillLevels(), G4LevelReader(), and MakeNewLevel().


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