99 if(systemName ==
"ROOT")
101 G4cout <<
" G4PersistencyCenter: \"ROOT\" Persistency Package is selected."
111 else if(systemName ==
"ODBMS")
113 G4cout <<
" G4PersistencyCenter: \"ODBMS\" package is selected." <<
G4endl;
124 G4cout <<
" G4PersistencyCenter: Default is selected." <<
G4endl;
168 G4cerr <<
"!! unknown object type " << objName <<
" for output." <<
G4endl;
181 G4cerr <<
"!! unknown object type " << objName <<
" for input." <<
G4endl;
221 G4cerr <<
"!! unknown object type " << objName <<
" for output." <<
G4endl;
238 G4cerr <<
"!! File \"" << objName <<
"\" does not exist." <<
G4endl;
276 if(
file == (*itr).second)
281 if(
file == (*itr).second)
300 G4cerr <<
"Error! -- HCIO assignment failed for detector " << detName
301 <<
", collection " << colName <<
G4endl;
325 G4cerr <<
"Error! -- DCIO assignment failed for detector " << detName
326 <<
", collection " << colName <<
G4endl;
346 G4cout <<
"Output object types and file names:" <<
G4endl;
349 name = (*itr).second;
351 if(
name !=
"HepMC" &&
name !=
"MCTruth")
359 else if(mode ==
kOff)
375 G4cout <<
"Input object types and file names:" <<
G4endl;
378 name = (*itr).second;
380 if(
name !=
"HepMC" &&
name !=
"MCTruth")
409 G4cout <<
"Hit IO Manager catalog is not registered." <<
G4endl;
422 G4cout <<
"Digit IO Manager catalog is not registered." <<
G4endl;
469 if(
name.length() > width)
471 return name.substr(0, width - 1) +
"#";
476 for(
unsigned int i = 0; i < width -
name.length(); ++i)
G4GLOB_DLL std::ostream G4cerr
G4GLOB_DLL std::ostream G4cout
G4VDCIOentry * GetEntry(const G4String &name)
G4String CurrentDCIOmanager()
static G4DCIOcatalog * GetDCIOcatalog()
G4bool FileExists(const G4String &file)
G4VHCIOentry * GetEntry(const G4String &name)
static G4HCIOcatalog * GetHCIOcatalog()
G4String CurrentHCIOmanager()
G4String CurrentObject(const G4String &file)
void DeletePersistencyManager()
G4String CurrentDCIOmanager()
G4bool SetWriteFile(const G4String &objName, const G4String &writeFileName)
G4bool CurrentRetrieveMode(const G4String &objName)
void SetRetrieveMode(const G4String &objName, G4bool mode)
G4PersistencyCenterMessenger * f_theMessenger
void AddDCIOmanager(const G4String &detName)
static G4PersistencyCenter * GetPersistencyCenter()
G4bool SetReadFile(const G4String &objName, const G4String &readFileName)
static G4ThreadLocal G4PersistencyCenter * f_thePointer
void SetStoreMode(const G4String &objName, StoreMode mode)
void SetPersistencyManager(G4PersistencyManager *pm, const G4String &name)
G4String CurrentReadFile(const G4String &objName)
G4String CurrentHCIOmanager()
G4PersistencyManager * GetPersistencyManager(const G4String &nam)
void AddHCIOmanager(const G4String &detName, const G4String &colName)
void SetVerboseLevel(G4int v)
StoreMode CurrentStoreMode(const G4String &objName)
G4PersistencyManager * f_currentManager
G4String CurrentHepMCObjyReaderFile()
G4String PadString(const G4String &name, unsigned int width)
void RegisterPersistencyManager(G4PersistencyManager *pm)
void SetHepMCObjyReaderFile(const G4String &file)
G4String f_currentSystemName
const G4String & CurrentSystem()
G4String CurrentWriteFile(const G4String &objName)
void SelectSystem(const G4String &systemName)
virtual G4PersistencyManager * Create()
const G4String & GetName()
void SetVerboseLevel(G4int v)
virtual void CreateDCIOmanager(const G4String &, const G4String &)
virtual void CreateHCIOmanager(const G4String &, const G4String &)
const char * name(G4int ptype)