Geant4
10.01.p02
|
#include <G4LatticeReader.hh>
Public Member Functions | |
G4LatticeReader (G4int vb=0) | |
~G4LatticeReader () | |
void | SetVerboseLevel (G4int vb) |
G4LatticeLogical * | MakeLattice (const G4String &filepath) |
Protected Member Functions | |
G4bool | OpenFile (const G4String &filepath) |
G4bool | ProcessToken () |
G4bool | ProcessValue (const G4String &name) |
G4bool | ProcessConstants () |
G4bool | ProcessMap () |
G4bool | ProcessNMap () |
G4bool | ReadMapInfo () |
G4bool | SkipComments () |
void | CloseFile () |
Private Attributes | |
G4int | verboseLevel |
std::ifstream * | psLatfile |
G4LatticeLogical * | pLattice |
G4String | fMapPath |
G4String | fToken |
G4double | fValue |
G4String | fMap |
G4String | fsPol |
G4int | fPol |
G4int | fNX |
G4int | fNY |
Static Private Attributes | |
static const G4String | fDataDir |
Definition at line 43 of file G4LatticeReader.hh.
G4LatticeReader::G4LatticeReader | ( | G4int | vb = 0 | ) |
Definition at line 55 of file G4LatticeReader.cc.
G4LatticeReader::~G4LatticeReader | ( | ) |
Definition at line 59 of file G4LatticeReader.cc.
References psLatfile.
|
protected |
Definition at line 126 of file G4LatticeReader.cc.
References psLatfile.
Referenced by MakeLattice(), and OpenFile().
G4LatticeLogical * G4LatticeReader::MakeLattice | ( | const G4String & | filepath | ) |
Definition at line 66 of file G4LatticeReader.cc.
References CloseFile(), FatalException, G4cout, G4endl, G4Exception(), OpenFile(), pLattice, ProcessToken(), psLatfile, and verboseLevel.
Referenced by G4LatticeManager::LoadLattice().
Definition at line 100 of file G4LatticeReader.cc.
References CloseFile(), fDataDir, fMapPath, G4cout, G4endl, G4String::last(), psLatfile, and verboseLevel.
Referenced by MakeLattice().
|
protected |
Definition at line 185 of file G4LatticeReader.cc.
References G4cout, G4endl, G4InuclParticleNames::lambda, pLattice, psLatfile, G4LatticeLogical::SetDynamicalConstants(), and verboseLevel.
Referenced by ProcessToken().
|
protected |
Definition at line 232 of file G4LatticeReader.cc.
References fMap, fNX, fNY, fPol, G4cerr, G4endl, G4LatticeLogical::LoadMap(), pLattice, and ReadMapInfo().
Referenced by ProcessToken().
|
protected |
Definition at line 241 of file G4LatticeReader.cc.
References fMap, fNX, fNY, fPol, G4cerr, G4endl, G4LatticeLogical::Load_NMap(), pLattice, and ReadMapInfo().
Referenced by ProcessToken().
|
protected |
Definition at line 135 of file G4LatticeReader.cc.
References fToken, G4cout, G4endl, ProcessConstants(), ProcessMap(), ProcessNMap(), ProcessValue(), psLatfile, SkipComments(), and verboseLevel.
Referenced by MakeLattice().
Definition at line 159 of file G4LatticeReader.cc.
References fValue, G4cerr, G4cout, G4endl, pLattice, psLatfile, s, G4LatticeLogical::SetAnhDecConstant(), G4LatticeLogical::SetFTDOS(), G4LatticeLogical::SetLDOS(), G4LatticeLogical::SetScatteringConstant(), G4LatticeLogical::SetSTDOS(), and verboseLevel.
Referenced by ProcessToken().
|
protected |
Definition at line 198 of file G4LatticeReader.cc.
References fMap, fMapPath, fNX, fNY, fPol, fsPol, G4cerr, G4cout, G4endl, G4LatticeLogical::MAXRES, psLatfile, G4String::toLower(), and verboseLevel.
Referenced by ProcessMap(), and ProcessNMap().
|
inline |
Definition at line 48 of file G4LatticeReader.hh.
References verboseLevel.
|
protected |
Definition at line 152 of file G4LatticeReader.cc.
References G4INCL::Math::max(), and psLatfile.
Referenced by ProcessToken().
|
staticprivate |
Definition at line 75 of file G4LatticeReader.hh.
Referenced by OpenFile().
|
private |
Definition at line 72 of file G4LatticeReader.hh.
Referenced by ProcessMap(), ProcessNMap(), and ReadMapInfo().
|
private |
Definition at line 69 of file G4LatticeReader.hh.
Referenced by OpenFile(), and ReadMapInfo().
|
private |
Definition at line 73 of file G4LatticeReader.hh.
Referenced by ProcessMap(), ProcessNMap(), and ReadMapInfo().
|
private |
Definition at line 73 of file G4LatticeReader.hh.
Referenced by ProcessMap(), ProcessNMap(), and ReadMapInfo().
|
private |
Definition at line 73 of file G4LatticeReader.hh.
Referenced by ProcessMap(), ProcessNMap(), and ReadMapInfo().
|
private |
Definition at line 72 of file G4LatticeReader.hh.
Referenced by ReadMapInfo().
|
private |
Definition at line 70 of file G4LatticeReader.hh.
Referenced by ProcessToken().
|
private |
Definition at line 71 of file G4LatticeReader.hh.
Referenced by ProcessValue().
|
private |
Definition at line 67 of file G4LatticeReader.hh.
Referenced by MakeLattice(), ProcessConstants(), ProcessMap(), ProcessNMap(), and ProcessValue().
|
private |
Definition at line 66 of file G4LatticeReader.hh.
Referenced by CloseFile(), MakeLattice(), OpenFile(), ProcessConstants(), ProcessToken(), ProcessValue(), ReadMapInfo(), SkipComments(), and ~G4LatticeReader().
|
private |
Definition at line 64 of file G4LatticeReader.hh.
Referenced by MakeLattice(), OpenFile(), ProcessConstants(), ProcessToken(), ProcessValue(), ReadMapInfo(), and SetVerboseLevel().