#include <G4PersistencyManager.hh>
Definition at line 114 of file G4PersistencyManager.hh.
◆ G4PersistencyManager()
◆ ~G4PersistencyManager()
G4PersistencyManager::~G4PersistencyManager |
( |
| ) |
|
|
virtual |
◆ Create()
◆ DigitIO()
◆ EventIO()
◆ GetName()
std::string G4PersistencyManager::GetName |
( |
void |
| ) |
|
|
inline |
◆ GetPersistencyManager()
Definition at line 49 of file G4PersistencyManager.cc.
G4PersistencyManager * CurrentPersistencyManager()
static G4PersistencyCenter * GetPersistencyCenter()
◆ HitIO()
virtual G4VPHitIO* G4PersistencyManager::HitIO |
( |
| ) |
|
|
inlinevirtual |
◆ Initialize()
virtual void G4PersistencyManager::Initialize |
( |
| ) |
|
|
inlinevirtual |
◆ MCTruthIO()
◆ Retrieve() [1/3]
Implements G4VPersistencyManager.
Definition at line 230 of file G4PersistencyManager.cc.
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." std::string CurrentReadFile(std::string objName)
virtual G4bool Retrieve(G4Pevent *&anEvent)=0
virtual void Initialize()
G4GLOB_DLL std::ostream G4cout
G4bool CurrentRetrieveMode(std::string objName)
virtual G4VPEventIO * EventIO()
G4PersistencyCenter * f_pc
G4GLOB_DLL std::ostream G4cerr
virtual G4VTransactionManager * TransactionManager()
◆ Retrieve() [2/3]
◆ Retrieve() [3/3]
◆ SetVerboseLevel()
void G4PersistencyManager::SetVerboseLevel |
( |
int |
v | ) |
|
Definition at line 55 of file G4PersistencyManager.cc.
59 G4cout <<
"G4PersistencyManager[\"" <<
nameMgr <<
"\"," <<
this 60 <<
"]: verbose level is set to " <<
m_verbose <<
"."
G4VPDigitsCollectionIO * GetDCIOmanager(std::string name)
static G4HCIOcatalog * GetHCIOcatalog()
void SetVerboseLevel(int v)
size_t NumberOfHCIOmanager()
virtual G4VPDigitIO * DigitIO()
virtual G4VMCTruthIO * MCTruthIO()
G4GLOB_DLL std::ostream G4cout
void SetVerboseLevel(int v)
void SetVerboseLevel(int v)
void SetVerboseLevel(int v)
static G4DCIOcatalog * GetDCIOcatalog()
G4VPHitsCollectionIO * GetHCIOmanager(std::string name)
void SetVerboseLevel(int v)
virtual G4VPEventIO * EventIO()
virtual G4VPHitIO * HitIO()
void SetVerboseLevel(int v)
void SetVerboseLevel(int v)
void SetVerboseLevel(int v)
size_t NumberOfDCIOmanager()
void SetVerboseLevel(int v)
virtual G4VTransactionManager * TransactionManager()
◆ Store() [1/3]
Implements G4VPersistencyManager.
Definition at line 88 of file G4PersistencyManager.cc.
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." const G4double hc
[MeV*fm]
virtual G4bool Store(const G4Event *anEvent)=0
virtual void Initialize()
virtual G4VPDigitIO * DigitIO()
StoreMode CurrentStoreMode(std::string objName)
G4DCofThisEvent * GetDCofThisEvent() const
virtual G4VMCTruthIO * MCTruthIO()
G4GLOB_DLL std::ostream G4cout
virtual G4bool Store(const G4DCofThisEvent *)=0
virtual G4VPEventIO * EventIO()
virtual G4VPHitIO * HitIO()
virtual G4bool Store(const G4HCofThisEvent *)=0
G4HCofThisEvent * GetHCofThisEvent() const
G4PersistencyCenter * f_pc
virtual G4bool Store(G4MCTEvent *)=0
std::string CurrentWriteFile(std::string objName)
G4GLOB_DLL std::ostream G4cerr
virtual G4VTransactionManager * TransactionManager()
◆ Store() [2/3]
◆ Store() [3/3]
◆ TransactionManager()
◆ G4PersistencyCenter
◆ f_is_initialized
G4bool G4PersistencyManager::f_is_initialized |
|
private |
◆ f_pc
◆ m_verbose
int G4PersistencyManager::m_verbose |
|
protected |
◆ nameMgr
std::string G4PersistencyManager::nameMgr |
|
private |
The documentation for this class was generated from the following files: