Geant4-11
|
#include <G4LatticeReader.hh>
Public Member Functions | |
G4LatticeReader (G4int vb=0) | |
G4LatticeLogical * | MakeLattice (const G4String &filepath) |
void | SetVerboseLevel (G4int vb) |
~G4LatticeReader () | |
Protected Member Functions | |
void | CloseFile () |
G4bool | OpenFile (const G4String &filepath) |
G4bool | ProcessConstants () |
G4bool | ProcessMap () |
G4bool | ProcessNMap () |
G4bool | ProcessToken () |
G4bool | ProcessValue (const G4String &name) |
G4bool | ReadMapInfo () |
G4bool | SkipComments () |
Private Attributes | |
G4String | fMap |
G4String | fMapPath |
G4int | fNX |
G4int | fNY |
G4int | fPol |
G4String | fsPol |
G4String | fToken |
G4double | fValue |
G4LatticeLogical * | pLattice |
std::ifstream * | psLatfile |
G4int | verboseLevel |
Static Private Attributes | |
static const G4String | fDataDir |
Definition at line 42 of file G4LatticeReader.hh.
G4LatticeReader::G4LatticeReader | ( | G4int | vb = 0 | ) |
Definition at line 54 of file G4LatticeReader.cc.
G4LatticeReader::~G4LatticeReader | ( | ) |
Definition at line 58 of file G4LatticeReader.cc.
References psLatfile.
|
protected |
Definition at line 125 of file G4LatticeReader.cc.
References psLatfile.
Referenced by MakeLattice(), and OpenFile().
G4LatticeLogical * G4LatticeReader::MakeLattice | ( | const G4String & | filepath | ) |
Definition at line 65 of file G4LatticeReader.cc.
References CloseFile(), FatalException, G4cout, G4endl, G4Exception(), OpenFile(), pLattice, ProcessToken(), psLatfile, and verboseLevel.
Referenced by G4LatticeManager::LoadLattice().
Definition at line 99 of file G4LatticeReader.cc.
References CloseFile(), fDataDir, fMapPath, G4cout, G4endl, psLatfile, and verboseLevel.
Referenced by MakeLattice().
|
protected |
Definition at line 184 of file G4LatticeReader.cc.
References anonymous_namespace{G4PionRadiativeDecayChannel.cc}::beta, G4cout, G4endl, G4InuclParticleNames::lambda, pLattice, psLatfile, G4LatticeLogical::SetDynamicalConstants(), and verboseLevel.
Referenced by ProcessToken().
|
protected |
Definition at line 231 of file G4LatticeReader.cc.
References fMap, fNX, fNY, fPol, G4cerr, G4endl, G4LatticeLogical::LoadMap(), pLattice, and ReadMapInfo().
Referenced by ProcessToken().
|
protected |
Definition at line 240 of file G4LatticeReader.cc.
References fMap, fNX, fNY, fPol, G4cerr, G4endl, G4LatticeLogical::Load_NMap(), pLattice, and ReadMapInfo().
Referenced by ProcessToken().
|
protected |
Definition at line 134 of file G4LatticeReader.cc.
References G4StrUtil::contains(), fToken, G4cout, G4endl, ProcessConstants(), ProcessMap(), ProcessNMap(), ProcessValue(), psLatfile, SkipComments(), G4StrUtil::to_lower(), and verboseLevel.
Referenced by MakeLattice().
Definition at line 158 of file G4LatticeReader.cc.
References fValue, G4cerr, G4cout, G4endl, G4InuclParticleNames::name(), pLattice, psLatfile, s, G4LatticeLogical::SetAnhDecConstant(), G4LatticeLogical::SetFTDOS(), G4LatticeLogical::SetLDOS(), G4LatticeLogical::SetScatteringConstant(), G4LatticeLogical::SetSTDOS(), and verboseLevel.
Referenced by ProcessToken().
|
protected |
Definition at line 197 of file G4LatticeReader.cc.
References fMap, fMapPath, fNX, fNY, fPol, fsPol, G4cerr, G4cout, G4endl, G4LatticeLogical::MAXRES, psLatfile, G4StrUtil::to_lower(), and verboseLevel.
Referenced by ProcessMap(), and ProcessNMap().
|
inline |
|
protected |
Definition at line 151 of file G4LatticeReader.cc.
References G4INCL::Math::max(), and psLatfile.
Referenced by ProcessToken().
|
staticprivate |
Definition at line 74 of file G4LatticeReader.hh.
Referenced by OpenFile().
|
private |
Definition at line 71 of file G4LatticeReader.hh.
Referenced by ProcessMap(), ProcessNMap(), and ReadMapInfo().
|
private |
Definition at line 68 of file G4LatticeReader.hh.
Referenced by OpenFile(), and ReadMapInfo().
|
private |
Definition at line 72 of file G4LatticeReader.hh.
Referenced by ProcessMap(), ProcessNMap(), and ReadMapInfo().
|
private |
Definition at line 72 of file G4LatticeReader.hh.
Referenced by ProcessMap(), ProcessNMap(), and ReadMapInfo().
|
private |
Definition at line 72 of file G4LatticeReader.hh.
Referenced by ProcessMap(), ProcessNMap(), and ReadMapInfo().
|
private |
Definition at line 71 of file G4LatticeReader.hh.
Referenced by ReadMapInfo().
|
private |
Definition at line 69 of file G4LatticeReader.hh.
Referenced by ProcessToken().
|
private |
Definition at line 70 of file G4LatticeReader.hh.
Referenced by ProcessValue().
|
private |
Definition at line 66 of file G4LatticeReader.hh.
Referenced by MakeLattice(), ProcessConstants(), ProcessMap(), ProcessNMap(), and ProcessValue().
|
private |
Definition at line 65 of file G4LatticeReader.hh.
Referenced by CloseFile(), MakeLattice(), OpenFile(), ProcessConstants(), ProcessToken(), ProcessValue(), ReadMapInfo(), SkipComments(), and ~G4LatticeReader().
|
private |
Definition at line 63 of file G4LatticeReader.hh.
Referenced by MakeLattice(), OpenFile(), ProcessConstants(), ProcessToken(), ProcessValue(), ReadMapInfo(), and SetVerboseLevel().