39 : f_pc(ptc), nameMgr(n), f_is_initialized(false)
59 G4cout <<
"G4PersistencyManager[\"" <<
nameMgr <<
"\"," <<
this
60 <<
"]: verbose level is set to " <<
m_verbose <<
"."
91 G4cout <<
"G4PersistencyManager::Store() is called for event# "
101 if ( ! is_store )
return true;
108 G4cout <<
"G4PersistencyManager:: Initializing Transaction ... "
114 G4bool st1 =
true, st2 =
true;
120 G4cout <<
"G4PersistencyManager: Update transaction started for event#"
124 G4cerr <<
"TransactionManager::Store(G4Event) - StartUpdate() failed."
132 G4bool stmct =
true, st3 =
true;
149 G4cout <<
" -- File : " << file <<
" -- Event# "
167 G4cout <<
" -- File : " << file <<
" -- Event# "
169 <<
" -- Hit Collections Stored." <<
G4endl;
186 G4cout <<
" -- File : " << file <<
" -- Event# "
188 <<
" -- Digit Collections Stored." <<
G4endl;
198 if ( mctevt!=0 || evt!=0 ) {
206 <<
" -- G4Pevent is Stored." <<
G4endl;
213 G4bool st = stmct && st1 && st2 && st3;
218 G4cout <<
"G4PersistencyManager: event# "
221 G4cerr <<
"G4PersistencyManager::Store(G4Event) - Transaction aborted."
233 G4cout <<
"G4PersistencyManager::Retrieve(G4Event*&) is called."
250 G4cout <<
"G4PersistencyManager:: Initializing Transaction ... "
260 G4cout <<
"G4PersistencyManager: Read transaction started."
264 G4cerr <<
"TransactionManager::Retrieve(G4Event) - StartRead() failed."
274 std::string obj =
"Hits";
280 G4cout <<
" -- File : " << file <<
" -- Event# "
282 <<
" -- G4Event is Retrieved." <<
G4endl;
292 G4cerr <<
"G4PersistencyManager::Retrieve() - Transaction aborted."
static G4HCIOcatalog * GetHCIOcatalog()
size_t NumberOfHCIOmanager()
void SetVerboseLevel(int v)
G4bool CurrentRetrieveMode(std::string objName)
static G4DCIOcatalog * GetDCIOcatalog()
std::string CurrentWriteFile(std::string objName)
void SetVerboseLevel(int v)
virtual G4bool Store(const G4DCofThisEvent *)=0
static G4PersistencyManager * GetPersistencyManager()
G4VPHitsCollectionIO * GetHCIOmanager(std::string name)
size_t NumberOfDCIOmanager()
virtual G4bool Retrieve(G4Pevent *&anEvent)=0
G4bool Retrieve(G4Event *&evt)
void SetVerboseLevel(int v)
void SetVerboseLevel(int v)
virtual G4bool Store(G4MCTEvent *)=0
G4HCofThisEvent * GetHCofThisEvent() const
virtual G4VTransactionManager * TransactionManager()
StoreMode CurrentStoreMode(std::string objName)
virtual G4bool Store(const G4Event *anEvent)=0
void SetVerboseLevel(int v)
void SetVerboseLevel(int v)
void SetVerboseLevel(int v)
G4DCofThisEvent * GetDCofThisEvent() const
virtual void Initialize()
virtual ~G4PersistencyManager()
G4PersistencyCenter * f_pc
G4VPDigitsCollectionIO * GetDCIOmanager(std::string name)
virtual G4VPEventIO * EventIO()
void SetVerboseLevel(int v)
G4GLOB_DLL std::ostream G4cerr
virtual G4VPHitIO * HitIO()
virtual G4VPDigitIO * DigitIO()
virtual G4VMCTruthIO * MCTruthIO()
void SetVerboseLevel(int v)
std::string CurrentReadFile(std::string objName)
G4PersistencyManager(G4PersistencyCenter *pc, std::string n)
G4PersistencyManager * CurrentPersistencyManager()
G4bool Store(const G4Event *evt)
G4GLOB_DLL std::ostream G4cout
void SetVerboseLevel(int v)
static G4PersistencyCenter * GetPersistencyCenter()
virtual G4bool Store(const G4HCofThisEvent *)=0
const G4double hc
[MeV*fm]