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;
105 if ( ! f_is_initialized ) {
106 f_is_initialized =
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."
247 if ( ! f_is_initialized ) {
248 f_is_initialized =
true;
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."