Geant4.10
|
#include <G4PersistencyCenter.hh>
Public Member Functions | |
void | SelectSystem (std::string systemName) |
const std::string | CurrentSystem () |
void | SetHepMCObjyReaderFile (std::string file) |
std::string | CurrentHepMCObjyReaderFile () |
void | SetStoreMode (std::string objName, StoreMode mode) |
void | SetRetrieveMode (std::string objName, G4bool mode) |
StoreMode | CurrentStoreMode (std::string objName) |
G4bool | CurrentRetrieveMode (std::string objName) |
G4bool | SetWriteFile (std::string objName, std::string writeFileName) |
G4bool | SetReadFile (std::string objName, std::string readFileName) |
std::string | CurrentWriteFile (std::string objName) |
std::string | CurrentReadFile (std::string objName) |
std::string | CurrentObject (std::string file) |
void | AddHCIOmanager (std::string detName, std::string colName) |
std::string | CurrentHCIOmanager () |
void | AddDCIOmanager (std::string detName) |
std::string | CurrentDCIOmanager () |
void | PrintAll () |
G4PersistencyManager * | CurrentPersistencyManager () |
void | SetPersistencyManager (G4PersistencyManager *pm, std::string name) |
G4PersistencyManager * | GetPersistencyManager (std::string nam) |
void | RegisterPersistencyManager (G4PersistencyManager *pm) |
void | DeletePersistencyManager () |
void | SetVerboseLevel (int v) |
int | VerboseLevel () |
Static Public Member Functions | |
static G4PersistencyCenter * | GetPersistencyCenter () |
Definition at line 63 of file G4PersistencyCenter.hh.
void G4PersistencyCenter::AddDCIOmanager | ( | std::string | detName | ) |
Definition at line 282 of file G4PersistencyCenter.cc.
References G4VDCIOentry::CreateDCIOmanager(), G4cerr, G4endl, G4DCIOcatalog::GetDCIOcatalog(), and G4DCIOcatalog::GetEntry().
void G4PersistencyCenter::AddHCIOmanager | ( | std::string | detName, |
std::string | colName | ||
) |
Definition at line 261 of file G4PersistencyCenter.cc.
References G4VHCIOentry::CreateHCIOmanager(), G4cerr, G4endl, G4HCIOcatalog::GetEntry(), and G4HCIOcatalog::GetHCIOcatalog().
Referenced by G4PersistencyCenterMessenger::SetNewValue().
std::string G4PersistencyCenter::CurrentDCIOmanager | ( | ) |
Definition at line 297 of file G4PersistencyCenter.cc.
References G4DCIOcatalog::CurrentDCIOmanager(), and G4DCIOcatalog::GetDCIOcatalog().
std::string G4PersistencyCenter::CurrentHCIOmanager | ( | ) |
Definition at line 275 of file G4PersistencyCenter.cc.
References G4HCIOcatalog::CurrentHCIOmanager(), and G4HCIOcatalog::GetHCIOcatalog().
Referenced by G4PersistencyCenterMessenger::GetCurrentValue().
std::string G4PersistencyCenter::CurrentHepMCObjyReaderFile | ( | ) |
Definition at line 145 of file G4PersistencyCenter.cc.
References CurrentReadFile(), and CurrentRetrieveMode().
std::string G4PersistencyCenter::CurrentObject | ( | std::string | file | ) |
Definition at line 248 of file G4PersistencyCenter.cc.
|
inline |
Definition at line 124 of file G4PersistencyCenter.hh.
Referenced by G4PersistencyManager::GetPersistencyManager().
std::string G4PersistencyCenter::CurrentReadFile | ( | std::string | objName | ) |
Definition at line 238 of file G4PersistencyCenter.cc.
Referenced by CurrentHepMCObjyReaderFile(), G4PersistencyCenterMessenger::GetCurrentValue(), PrintAll(), and G4PersistencyManager::Retrieve().
G4bool G4PersistencyCenter::CurrentRetrieveMode | ( | std::string | objName | ) |
Definition at line 187 of file G4PersistencyCenter.cc.
Referenced by CurrentHepMCObjyReaderFile(), PrintAll(), and G4PersistencyManager::Retrieve().
StoreMode G4PersistencyCenter::CurrentStoreMode | ( | std::string | objName | ) |
Definition at line 177 of file G4PersistencyCenter.cc.
References kOff.
Referenced by G4PersistencyCenterMessenger::GetCurrentValue(), PrintAll(), and G4PersistencyManager::Store().
|
inline |
Definition at line 73 of file G4PersistencyCenter.hh.
Referenced by G4PersistencyCenterMessenger::GetCurrentValue(), and PrintAll().
std::string G4PersistencyCenter::CurrentWriteFile | ( | std::string | objName | ) |
Definition at line 228 of file G4PersistencyCenter.cc.
Referenced by G4PersistencyCenterMessenger::GetCurrentValue(), PrintAll(), and G4PersistencyManager::Store().
void G4PersistencyCenter::DeletePersistencyManager | ( | ) |
Definition at line 397 of file G4PersistencyCenter.cc.
|
static |
Definition at line 86 of file G4PersistencyCenter.cc.
Referenced by G4PersistencyManagerT< T >::G4PersistencyManagerT(), G4VDCIOentry::G4VDCIOentry(), G4VHCIOentry::G4VHCIOentry(), and G4PersistencyManager::GetPersistencyManager().
G4PersistencyManager * G4PersistencyCenter::GetPersistencyManager | ( | std::string | nam | ) |
Definition at line 383 of file G4PersistencyCenter.cc.
Referenced by SelectSystem().
Definition at line 304 of file G4PersistencyCenter.cc.
References CurrentReadFile(), CurrentRetrieveMode(), CurrentStoreMode(), CurrentSystem(), CurrentWriteFile(), G4cout, G4endl, G4DCIOcatalog::GetDCIOcatalog(), G4HCIOcatalog::GetHCIOcatalog(), kOff, kOn, kRecycle, G4DCIOcatalog::PrintDCIOmanager(), G4HCIOcatalog::PrintEntries(), G4DCIOcatalog::PrintEntries(), and G4HCIOcatalog::PrintHCIOmanager().
Referenced by G4PersistencyCenterMessenger::SetNewValue().
void G4PersistencyCenter::RegisterPersistencyManager | ( | G4PersistencyManager * | pm | ) |
void G4PersistencyCenter::SelectSystem | ( | std::string | systemName | ) |
Definition at line 94 of file G4PersistencyCenter.cc.
References G4PersistencyManager::Create(), G4cout, G4endl, GetPersistencyManager(), and G4PersistencyManager::SetVerboseLevel().
Referenced by G4PersistencyCenterMessenger::SetNewValue().
void G4PersistencyCenter::SetHepMCObjyReaderFile | ( | std::string | file | ) |
Definition at line 137 of file G4PersistencyCenter.cc.
References SetReadFile(), and SetRetrieveMode().
void G4PersistencyCenter::SetPersistencyManager | ( | G4PersistencyManager * | pm, |
std::string | name | ||
) |
Definition at line 375 of file G4PersistencyCenter.cc.
G4bool G4PersistencyCenter::SetReadFile | ( | std::string | objName, |
std::string | readFileName | ||
) |
Definition at line 210 of file G4PersistencyCenter.cc.
References G4FileUtilities::FileExists(), G4cerr, and G4endl.
Referenced by SetHepMCObjyReaderFile().
Definition at line 166 of file G4PersistencyCenter.cc.
References G4cerr, and G4endl.
Referenced by SetHepMCObjyReaderFile().
Definition at line 155 of file G4PersistencyCenter.cc.
References G4cerr, and G4endl.
Referenced by G4PersistencyCenterMessenger::SetNewValue().
Definition at line 404 of file G4PersistencyCenter.cc.
References G4PersistencyManager::SetVerboseLevel(), and test::v.
Referenced by G4PersistencyCenterMessenger::SetNewValue().
G4bool G4PersistencyCenter::SetWriteFile | ( | std::string | objName, |
std::string | writeFileName | ||
) |
Definition at line 197 of file G4PersistencyCenter.cc.
References G4cerr, and G4endl.
Referenced by G4PersistencyCenterMessenger::SetNewValue().
|
inline |
Definition at line 142 of file G4PersistencyCenter.hh.
Referenced by G4PersistencyManager::G4PersistencyManager(), G4VDCIOentry::G4VDCIOentry(), G4VHCIOentry::G4VHCIOentry(), and G4PersistencyCenterMessenger::GetCurrentValue().