63 G4cout <<
"G4PersistencyManager[\"" <<
nameMgr <<
"\"," <<
this
70 if(
HitIO() !=
nullptr)
104 G4cout <<
"G4PersistencyManager::Store() is called for event# "
125 G4cout <<
"G4PersistencyManager:: Initializing Transaction ... "
131 G4bool st1 =
true, st2 =
true;
139 G4cout <<
"G4PersistencyManager: Update transaction started for event#"
145 G4cerr <<
"TransactionManager::Store(G4Event) - StartUpdate() failed."
153 G4bool stmct =
true, st3 =
true;
165 if(mctevt !=
nullptr)
174 <<
" -- G4MCTEvent Stored." <<
G4endl;
198 <<
" -- Hit Collections Stored." <<
G4endl;
222 <<
" -- Digit Collections Stored." <<
G4endl;
234 if(mctevt != 0 || evt != 0)
245 <<
" -- G4Pevent is Stored." <<
G4endl;
254 G4bool st = stmct && st1 && st2 && st3;
261 <<
" is stored." <<
G4endl;
265 G4cerr <<
"G4PersistencyManager::Store(G4Event) - Transaction aborted."
278 G4cout <<
"G4PersistencyManager::Retrieve(G4Event*&) is called." <<
G4endl;
298 G4cout <<
"G4PersistencyManager:: Initializing Transaction ... "
310 G4cout <<
"G4PersistencyManager: Read transaction started." <<
G4endl;
315 G4cerr <<
"TransactionManager::Retrieve(G4Event) - StartRead() failed."
335 <<
" -- G4Event is Retrieved." <<
G4endl;
350 G4cerr <<
"G4PersistencyManager::Retrieve() - Transaction aborted."
G4GLOB_DLL std::ostream G4cerr
G4GLOB_DLL std::ostream G4cout
void SetVerboseLevel(int v)
static G4DCIOcatalog * GetDCIOcatalog()
G4VPDigitsCollectionIO * GetDCIOmanager(const G4String &name)
std::size_t NumberOfDCIOmanager()
G4HCofThisEvent * GetHCofThisEvent() const
G4DCofThisEvent * GetDCofThisEvent() const
G4VPHitsCollectionIO * GetHCIOmanager(const G4String &name)
void SetVerboseLevel(G4int v)
static G4HCIOcatalog * GetHCIOcatalog()
std::size_t NumberOfHCIOmanager()
G4bool CurrentRetrieveMode(const G4String &objName)
static G4PersistencyCenter * GetPersistencyCenter()
G4String CurrentReadFile(const G4String &objName)
G4PersistencyManager * CurrentPersistencyManager()
StoreMode CurrentStoreMode(const G4String &objName)
G4String CurrentWriteFile(const G4String &objName)
G4PersistencyCenter * f_pc
virtual G4VPEventIO * EventIO()
G4PersistencyManager(G4PersistencyCenter *pc, const G4String &n)
virtual ~G4PersistencyManager()
virtual void Initialize()
G4bool Retrieve(G4Event *&evt)
virtual G4VMCTruthIO * MCTruthIO()
static G4PersistencyManager * GetPersistencyManager()
virtual G4VPHitIO * HitIO()
virtual G4VPDigitIO * DigitIO()
G4bool Store(const G4Event *evt)
void SetVerboseLevel(G4int v)
virtual G4VTransactionManager * TransactionManager()
void SetVerboseLevel(G4int v)
virtual G4bool Store(G4MCTEvent *)=0
virtual G4bool Store(const G4DCofThisEvent *)=0
void SetVerboseLevel(G4int v)
void SetVerboseLevel(G4int v)
void SetVerboseLevel(G4int v)
virtual G4bool Store(const G4Event *anEvent)=0
virtual G4bool Retrieve(G4Pevent *&anEvent)=0
void SetVerboseLevel(G4int v)
virtual G4bool Store(const G4HCofThisEvent *)=0
void SetVerboseLevel(G4int v)
void SetVerboseLevel(int v)
const G4double hc
[MeV*fm]