Geant4-11
|
#include <G4PersistencyManager.hh>
Public Member Functions | |
virtual G4PersistencyManager * | Create () |
virtual G4VPDigitIO * | DigitIO () |
virtual G4VPEventIO * | EventIO () |
G4PersistencyManager (G4PersistencyCenter *pc, const G4String &n) | |
const G4String & | GetName () |
virtual G4VPHitIO * | HitIO () |
virtual void | Initialize () |
virtual G4VMCTruthIO * | MCTruthIO () |
G4bool | Retrieve (G4Event *&evt) |
G4bool | Retrieve (G4Run *&) |
G4bool | Retrieve (G4VPhysicalVolume *&) |
void | SetVerboseLevel (G4int v) |
G4bool | Store (const G4Event *evt) |
G4bool | Store (const G4Run *) |
G4bool | Store (const G4VPhysicalVolume *) |
virtual G4VTransactionManager * | TransactionManager () |
virtual | ~G4PersistencyManager () |
Static Protected Member Functions | |
static G4PersistencyManager * | GetPersistencyManager () |
Protected Attributes | |
G4PersistencyCenter * | f_pc = nullptr |
G4int | m_verbose = 0 |
Private Attributes | |
G4bool | f_is_initialized = false |
G4String | nameMgr |
Static Private Attributes | |
static G4ThreadLocal G4VPersistencyManager * | fPersistencyManager = nullptr |
Friends | |
class | G4PersistencyCenter |
Definition at line 110 of file G4PersistencyManager.hh.
G4PersistencyManager::G4PersistencyManager | ( | G4PersistencyCenter * | pc, |
const G4String & | n | ||
) |
Definition at line 37 of file G4PersistencyManager.cc.
References f_pc, m_verbose, and G4PersistencyCenter::VerboseLevel().
|
virtual |
Definition at line 46 of file G4PersistencyManager.cc.
|
inlinevirtual |
Reimplemented in G4PersistencyManagerT< T >.
Definition at line 122 of file G4PersistencyManager.hh.
Referenced by G4PersistencyCenter::SelectSystem().
|
inlinevirtual |
Reimplemented in G4PersistencyManagerT< T >.
Definition at line 137 of file G4PersistencyManager.hh.
Referenced by G4PersistencyManagerT< T >::DigitIO(), SetVerboseLevel(), and Store().
|
inlinevirtual |
Reimplemented in G4PersistencyManagerT< T >.
Definition at line 129 of file G4PersistencyManager.hh.
Referenced by G4PersistencyManagerT< T >::EventIO(), Retrieve(), SetVerboseLevel(), and Store().
|
inline |
Definition at line 126 of file G4PersistencyManager.hh.
References nameMgr.
Referenced by G4PersistencyManagerT< T >::Create(), and G4PersistencyCenter::RegisterPersistencyManager().
|
staticprotected |
Definition at line 51 of file G4PersistencyManager.cc.
References G4PersistencyCenter::CurrentPersistencyManager(), and G4PersistencyCenter::GetPersistencyCenter().
|
inlinevirtual |
Reimplemented in G4PersistencyManagerT< T >.
Definition at line 133 of file G4PersistencyManager.hh.
Referenced by G4PersistencyManagerT< T >::HitIO(), SetVerboseLevel(), and Store().
|
inlinevirtual |
Reimplemented in G4PersistencyManagerT< T >.
Definition at line 149 of file G4PersistencyManager.hh.
Referenced by Retrieve(), and Store().
|
inlinevirtual |
Reimplemented in G4PersistencyManagerT< T >.
Definition at line 141 of file G4PersistencyManager.hh.
Referenced by G4PersistencyManagerT< T >::MCTruthIO(), SetVerboseLevel(), and Store().
Implements G4VPersistencyManager.
Definition at line 274 of file G4PersistencyManager.cc.
References G4VTransactionManager::Abort(), G4VTransactionManager::Commit(), G4PersistencyCenter::CurrentReadFile(), G4PersistencyCenter::CurrentRetrieveMode(), EventIO(), f_is_initialized, f_pc, geant4_check_module_cycles::file, G4cerr, G4cout, G4endl, G4Event::GetEventID(), Initialize(), m_verbose, G4VPEventIO::Retrieve(), and TransactionManager().
Implements G4VPersistencyManager.
Definition at line 165 of file G4PersistencyManager.hh.
|
inlinevirtual |
Implements G4VPersistencyManager.
Definition at line 171 of file G4PersistencyManager.hh.
void G4PersistencyManager::SetVerboseLevel | ( | G4int | v | ) |
Definition at line 58 of file G4PersistencyManager.cc.
References DigitIO(), EventIO(), G4cout, G4endl, G4DCIOcatalog::GetDCIOcatalog(), G4DCIOcatalog::GetDCIOmanager(), G4HCIOcatalog::GetHCIOcatalog(), G4HCIOcatalog::GetHCIOmanager(), HitIO(), m_verbose, MCTruthIO(), nameMgr, G4DCIOcatalog::NumberOfDCIOmanager(), G4HCIOcatalog::NumberOfHCIOmanager(), G4HCIOcatalog::SetVerboseLevel(), G4VMCTruthIO::SetVerboseLevel(), G4VPDigitIO::SetVerboseLevel(), G4VPDigitsCollectionIO::SetVerboseLevel(), G4VPEventIO::SetVerboseLevel(), G4VPHitIO::SetVerboseLevel(), G4VPHitsCollectionIO::SetVerboseLevel(), G4DCIOcatalog::SetVerboseLevel(), G4VTransactionManager::SetVerboseLevel(), and TransactionManager().
Referenced by G4PersistencyCenter::SelectSystem(), G4PersistencyCenter::SetVerboseLevel(), and G4PersistencyManagerT< T >::SetVerboseLevel().
Implements G4VPersistencyManager.
Definition at line 100 of file G4PersistencyManager.cc.
References G4VTransactionManager::Abort(), G4VTransactionManager::Commit(), G4PersistencyCenter::CurrentStoreMode(), G4PersistencyCenter::CurrentWriteFile(), DigitIO(), EventIO(), f_is_initialized, f_pc, geant4_check_module_cycles::file, G4cerr, G4cout, G4endl, G4Event::GetDCofThisEvent(), G4Event::GetEventID(), G4Event::GetHCofThisEvent(), G4INCL::PhysicalConstants::hc, HitIO(), Initialize(), kOff, kOn, m_verbose, MCTruthIO(), G4VPDigitIO::Store(), G4VPEventIO::Store(), G4VPHitIO::Store(), G4VMCTruthIO::Store(), and TransactionManager().
Implements G4VPersistencyManager.
Definition at line 162 of file G4PersistencyManager.hh.
|
inlinevirtual |
Implements G4VPersistencyManager.
Definition at line 168 of file G4PersistencyManager.hh.
|
inlinevirtual |
Reimplemented in G4PersistencyManagerT< T >.
Definition at line 145 of file G4PersistencyManager.hh.
Referenced by Retrieve(), SetVerboseLevel(), Store(), and G4PersistencyManagerT< T >::TransactionManager().
|
friend |
Definition at line 112 of file G4PersistencyManager.hh.
|
private |
Definition at line 187 of file G4PersistencyManager.hh.
Referenced by Retrieve(), and Store().
|
protected |
Definition at line 181 of file G4PersistencyManager.hh.
Referenced by G4PersistencyManagerT< T >::Create(), G4PersistencyManager(), Retrieve(), and Store().
|
staticprivateinherited |
Definition at line 79 of file G4VPersistencyManager.hh.
Referenced by G4VPersistencyManager::G4VPersistencyManager(), G4VPersistencyManager::GetPersistencyManager(), and G4VPersistencyManager::~G4VPersistencyManager().
|
protected |
Definition at line 182 of file G4PersistencyManager.hh.
Referenced by G4PersistencyManager(), G4PersistencyManagerT< T >::G4PersistencyManagerT(), Retrieve(), SetVerboseLevel(), and Store().
|
private |
Definition at line 186 of file G4PersistencyManager.hh.
Referenced by GetName(), and SetVerboseLevel().