Geant4-11
|
#include <G4PersistencyCenter.hh>
Static Public Member Functions | |
static G4PersistencyCenter * | GetPersistencyCenter () |
Private Member Functions | |
G4PersistencyCenter () | |
G4String | PadString (const G4String &name, unsigned int width) |
~G4PersistencyCenter () | |
Private Attributes | |
G4PersistencyManager * | f_currentManager = nullptr |
G4String | f_currentSystemName |
ObjMap | f_rdObj |
BoolMap | f_readFileMode |
FileMap | f_readFileName |
PMap | f_theCatalog |
G4PersistencyCenterMessenger * | f_theMessenger = nullptr |
G4FileUtilities | f_ut |
StoreMap | f_writeFileMode |
FileMap | f_writeFileName |
ObjMap | f_wrObj |
G4int | m_verbose = 0 |
Static Private Attributes | |
static G4ThreadLocal G4PersistencyCenter * | f_thePointer = nullptr |
Definition at line 66 of file G4PersistencyCenter.hh.
|
private |
Definition at line 42 of file G4PersistencyCenter.cc.
References f_currentManager, f_rdObj, f_readFileMode, f_readFileName, f_theMessenger, f_writeFileMode, f_writeFileName, f_wrObj, kOff, kOn, and kRecycle.
Referenced by GetPersistencyCenter().
|
private |
Definition at line 75 of file G4PersistencyCenter.cc.
References f_currentManager, and f_theMessenger.
void G4PersistencyCenter::AddDCIOmanager | ( | const G4String & | detName | ) |
Definition at line 313 of file G4PersistencyCenter.cc.
References G4VDCIOentry::CreateDCIOmanager(), G4cerr, G4endl, G4DCIOcatalog::GetDCIOcatalog(), and G4DCIOcatalog::GetEntry().
Definition at line 288 of file G4PersistencyCenter.cc.
References G4VHCIOentry::CreateHCIOmanager(), G4cerr, G4endl, G4HCIOcatalog::GetEntry(), and G4HCIOcatalog::GetHCIOcatalog().
Referenced by G4PersistencyCenterMessenger::SetNewValue().
G4String G4PersistencyCenter::CurrentDCIOmanager | ( | ) |
Definition at line 331 of file G4PersistencyCenter.cc.
References G4DCIOcatalog::CurrentDCIOmanager(), and G4DCIOcatalog::GetDCIOcatalog().
G4String G4PersistencyCenter::CurrentHCIOmanager | ( | ) |
Definition at line 306 of file G4PersistencyCenter.cc.
References G4HCIOcatalog::CurrentHCIOmanager(), and G4HCIOcatalog::GetHCIOcatalog().
Referenced by G4PersistencyCenterMessenger::GetCurrentValue().
G4String G4PersistencyCenter::CurrentHepMCObjyReaderFile | ( | ) |
Definition at line 147 of file G4PersistencyCenter.cc.
References CurrentReadFile(), and CurrentRetrieveMode().
Definition at line 272 of file G4PersistencyCenter.cc.
References f_readFileName, f_writeFileName, and geant4_check_module_cycles::file.
|
inline |
Definition at line 127 of file G4PersistencyCenter.hh.
References f_currentManager.
Referenced by G4PersistencyManager::GetPersistencyManager().
Definition at line 259 of file G4PersistencyCenter.cc.
References f_readFileName.
Referenced by CurrentHepMCObjyReaderFile(), G4PersistencyCenterMessenger::GetCurrentValue(), PrintAll(), and G4PersistencyManager::Retrieve().
Definition at line 199 of file G4PersistencyCenter.cc.
References f_readFileMode, and f_readFileName.
Referenced by CurrentHepMCObjyReaderFile(), PrintAll(), and G4PersistencyManager::Retrieve().
Definition at line 186 of file G4PersistencyCenter.cc.
References f_writeFileMode, f_writeFileName, and kOff.
Referenced by G4PersistencyCenterMessenger::GetCurrentValue(), PrintAll(), and G4PersistencyManager::Store().
|
inline |
Definition at line 76 of file G4PersistencyCenter.hh.
References f_currentSystemName.
Referenced by G4PersistencyCenterMessenger::GetCurrentValue(), and PrintAll().
Definition at line 246 of file G4PersistencyCenter.cc.
References f_writeFileName.
Referenced by G4PersistencyCenterMessenger::GetCurrentValue(), PrintAll(), and G4PersistencyManager::Store().
void G4PersistencyCenter::DeletePersistencyManager | ( | ) |
|
static |
Definition at line 82 of file G4PersistencyCenter.cc.
References f_thePointer, and G4PersistencyCenter().
Referenced by G4PersistencyManagerT< T >::G4PersistencyManagerT(), G4VDCIOentry::G4VDCIOentry(), G4VHCIOentry::G4VHCIOentry(), and G4PersistencyManager::GetPersistencyManager().
G4PersistencyManager * G4PersistencyCenter::GetPersistencyManager | ( | const G4String & | nam | ) |
Definition at line 436 of file G4PersistencyCenter.cc.
References f_theCatalog.
Referenced by SelectSystem().
Definition at line 466 of file G4PersistencyCenter.cc.
References G4InuclParticleNames::name().
Referenced by PrintAll().
void G4PersistencyCenter::PrintAll | ( | ) |
Definition at line 338 of file G4PersistencyCenter.cc.
References CurrentReadFile(), CurrentRetrieveMode(), CurrentStoreMode(), CurrentSystem(), CurrentWriteFile(), f_rdObj, f_wrObj, geant4_check_module_cycles::file, G4cout, G4endl, G4DCIOcatalog::GetDCIOcatalog(), G4HCIOcatalog::GetHCIOcatalog(), kOff, kOn, kRecycle, G4InuclParticleNames::name(), PadString(), G4DCIOcatalog::PrintDCIOmanager(), G4DCIOcatalog::PrintEntries(), G4HCIOcatalog::PrintEntries(), and G4HCIOcatalog::PrintHCIOmanager().
Referenced by G4PersistencyCenterMessenger::SetNewValue().
void G4PersistencyCenter::RegisterPersistencyManager | ( | G4PersistencyManager * | pm | ) |
Definition at line 444 of file G4PersistencyCenter.cc.
References f_theCatalog, and G4PersistencyManager::GetName().
Referenced by G4PersistencyManagerT< T >::G4PersistencyManagerT().
void G4PersistencyCenter::SelectSystem | ( | const G4String & | systemName | ) |
Definition at line 90 of file G4PersistencyCenter.cc.
References G4PersistencyManager::Create(), f_currentManager, f_currentSystemName, G4cout, G4endl, GetPersistencyManager(), m_verbose, and G4PersistencyManager::SetVerboseLevel().
Referenced by G4PersistencyCenterMessenger::SetNewValue().
void G4PersistencyCenter::SetHepMCObjyReaderFile | ( | const G4String & | file | ) |
Definition at line 138 of file G4PersistencyCenter.cc.
References geant4_check_module_cycles::file, SetReadFile(), and SetRetrieveMode().
void G4PersistencyCenter::SetPersistencyManager | ( | G4PersistencyManager * | pm, |
const G4String & | name | ||
) |
Definition at line 427 of file G4PersistencyCenter.cc.
References f_currentManager, f_currentSystemName, and G4InuclParticleNames::name().
Definition at line 228 of file G4PersistencyCenter.cc.
References f_readFileName, f_ut, G4FileUtilities::FileExists(), G4cerr, and G4endl.
Referenced by SetHepMCObjyReaderFile(), and G4PersistencyCenterMessenger::SetNewValue().
Definition at line 173 of file G4PersistencyCenter.cc.
References f_readFileMode, f_readFileName, G4cerr, and G4endl.
Referenced by SetHepMCObjyReaderFile().
Definition at line 160 of file G4PersistencyCenter.cc.
References f_writeFileMode, f_writeFileName, G4cerr, and G4endl.
Referenced by G4PersistencyCenterMessenger::SetNewValue().
void G4PersistencyCenter::SetVerboseLevel | ( | G4int | v | ) |
Definition at line 458 of file G4PersistencyCenter.cc.
References f_currentManager, m_verbose, and G4PersistencyManager::SetVerboseLevel().
Referenced by G4PersistencyCenterMessenger::SetNewValue().
G4bool G4PersistencyCenter::SetWriteFile | ( | const G4String & | objName, |
const G4String & | writeFileName | ||
) |
Definition at line 212 of file G4PersistencyCenter.cc.
References f_writeFileName, G4cerr, and G4endl.
Referenced by G4PersistencyCenterMessenger::SetNewValue().
|
inline |
Definition at line 148 of file G4PersistencyCenter.hh.
References m_verbose.
Referenced by G4PersistencyManager::G4PersistencyManager(), G4VDCIOentry::G4VDCIOentry(), G4VHCIOentry::G4VHCIOentry(), and G4PersistencyCenterMessenger::GetCurrentValue().
|
private |
Definition at line 166 of file G4PersistencyCenter.hh.
Referenced by CurrentPersistencyManager(), DeletePersistencyManager(), G4PersistencyCenter(), SelectSystem(), SetPersistencyManager(), SetVerboseLevel(), and ~G4PersistencyCenter().
|
private |
Definition at line 167 of file G4PersistencyCenter.hh.
Referenced by CurrentSystem(), SelectSystem(), and SetPersistencyManager().
|
private |
Definition at line 170 of file G4PersistencyCenter.hh.
Referenced by G4PersistencyCenter(), and PrintAll().
|
private |
Definition at line 174 of file G4PersistencyCenter.hh.
Referenced by CurrentRetrieveMode(), G4PersistencyCenter(), and SetRetrieveMode().
|
private |
Definition at line 172 of file G4PersistencyCenter.hh.
Referenced by CurrentObject(), CurrentReadFile(), CurrentRetrieveMode(), G4PersistencyCenter(), SetReadFile(), and SetRetrieveMode().
|
private |
Definition at line 168 of file G4PersistencyCenter.hh.
Referenced by GetPersistencyManager(), and RegisterPersistencyManager().
|
private |
Definition at line 164 of file G4PersistencyCenter.hh.
Referenced by G4PersistencyCenter(), and ~G4PersistencyCenter().
|
staticprivate |
Definition at line 165 of file G4PersistencyCenter.hh.
Referenced by GetPersistencyCenter().
|
private |
Definition at line 177 of file G4PersistencyCenter.hh.
Referenced by SetReadFile().
|
private |
Definition at line 173 of file G4PersistencyCenter.hh.
Referenced by CurrentStoreMode(), G4PersistencyCenter(), and SetStoreMode().
|
private |
Definition at line 171 of file G4PersistencyCenter.hh.
Referenced by CurrentObject(), CurrentStoreMode(), CurrentWriteFile(), G4PersistencyCenter(), SetStoreMode(), and SetWriteFile().
|
private |
Definition at line 169 of file G4PersistencyCenter.hh.
Referenced by G4PersistencyCenter(), and PrintAll().
|
private |
Definition at line 175 of file G4PersistencyCenter.hh.
Referenced by SelectSystem(), SetVerboseLevel(), and VerboseLevel().