31 #ifndef PERSISTENCY_CENTER_HH
32 #define PERSISTENCY_CENTER_HH 1
48 typedef std::map<std::string, G4PersistencyManager*,std::less<std::string> >
PMap;
49 typedef std::map<int, std::string, std::less<int> >
ObjMap;
50 typedef std::map<std::string, std::string, std::less<std::string> >
FileMap;
54 typedef std::map<std::string, StoreMode, std::less<std::string> >
StoreMap;
55 typedef std::map<std::string, G4bool, std::less<std::string> >
BoolMap;
void SetRetrieveMode(std::string objName, G4bool mode)
std::string CurrentObject(std::string file)
static G4ThreadLocal G4PersistencyCenter * f_thePointer
G4PersistencyManager * f_currentManager
void AddDCIOmanager(std::string detName)
std::string CurrentReadFile(std::string objName)
void AddHCIOmanager(std::string detName, std::string colName)
void DeletePersistencyManager()
std::map< std::string, std::string, std::less< std::string > > FileMap
std::string PadString(std::string name, unsigned int width)
const char * name(G4int ptype)
std::map< std::string, StoreMode, std::less< std::string > > StoreMap
std::map< int, std::string, std::less< int > > ObjMap
void SelectSystem(std::string systemName)
void SetPersistencyManager(G4PersistencyManager *pm, std::string name)
StoreMode CurrentStoreMode(std::string objName)
void SetHepMCObjyReaderFile(std::string file)
std::string CurrentDCIOmanager()
std::string CurrentHCIOmanager()
G4bool CurrentRetrieveMode(std::string objName)
G4bool SetWriteFile(std::string objName, std::string writeFileName)
std::string f_currentSystemName
void RegisterPersistencyManager(G4PersistencyManager *pm)
void SetStoreMode(std::string objName, StoreMode mode)
G4PersistencyManager * CurrentPersistencyManager()
G4PersistencyCenterMessenger * f_theMessenger
std::map< std::string, G4bool, std::less< std::string > > BoolMap
G4bool SetReadFile(std::string objName, std::string readFileName)
const std::string CurrentSystem()
G4PersistencyManager * GetPersistencyManager(std::string nam)
std::map< std::string, G4PersistencyManager *, std::less< std::string > > PMap
std::string CurrentHepMCObjyReaderFile()
std::string CurrentWriteFile(std::string objName)
static G4PersistencyCenter * GetPersistencyCenter()
void SetVerboseLevel(int v)