Geant4  10.00.p01
G4PersistencyManager Class Reference

#include <G4PersistencyManager.hh>

+ Inheritance diagram for G4PersistencyManager:
+ Collaboration diagram for G4PersistencyManager:

Public Member Functions

 G4PersistencyManager (G4PersistencyCenter *pc, std::string n)
 
virtual ~G4PersistencyManager ()
 
virtual G4PersistencyManagerCreate ()
 
std::string GetName ()
 
virtual G4VPEventIOEventIO ()
 
virtual G4VPHitIOHitIO ()
 
virtual G4VPDigitIODigitIO ()
 
virtual G4VMCTruthIOMCTruthIO ()
 
virtual G4VTransactionManagerTransactionManager ()
 
virtual void Initialize ()
 
void SetVerboseLevel (int v)
 
G4bool Store (const G4Event *evt)
 
G4bool Retrieve (G4Event *&evt)
 
G4bool Store (const G4Run *)
 
G4bool Retrieve (G4Run *&)
 
G4bool Store (const G4VPhysicalVolume *)
 
G4bool Retrieve (G4VPhysicalVolume *&)
 
- Public Member Functions inherited from G4VPersistencyManager
virtual ~G4VPersistencyManager ()
 

Static Protected Member Functions

static G4PersistencyManagerGetPersistencyManager ()
 

Protected Attributes

G4PersistencyCenterf_pc
 
int m_verbose
 

Private Attributes

std::string nameMgr
 
G4bool f_is_initialized
 

Friends

class G4PersistencyCenter
 

Additional Inherited Members

- Static Public Member Functions inherited from G4VPersistencyManager
static G4VPersistencyManagerGetPersistencyManager ()
 
- Protected Member Functions inherited from G4VPersistencyManager
 G4VPersistencyManager ()
 

Detailed Description

Definition at line 114 of file G4PersistencyManager.hh.

Constructor & Destructor Documentation

G4PersistencyManager::G4PersistencyManager ( G4PersistencyCenter pc,
std::string  n 
)

Definition at line 38 of file G4PersistencyManager.cc.

References f_pc, m_verbose, and G4PersistencyCenter::VerboseLevel().

+ Here is the call graph for this function:

G4PersistencyManager::~G4PersistencyManager ( )
virtual

Definition at line 45 of file G4PersistencyManager.cc.

Member Function Documentation

virtual G4PersistencyManager* G4PersistencyManager::Create ( )
inlinevirtual

Reimplemented in G4PersistencyManagerT< T >.

Definition at line 127 of file G4PersistencyManager.hh.

Referenced by G4PersistencyCenter::SelectSystem().

+ Here is the caller graph for this function:

virtual G4VPDigitIO* G4PersistencyManager::DigitIO ( )
inlinevirtual

Reimplemented in G4PersistencyManagerT< T >.

Definition at line 141 of file G4PersistencyManager.hh.

Referenced by G4PersistencyManagerT< T >::DigitIO(), SetVerboseLevel(), and Store().

+ Here is the caller graph for this function:

virtual G4VPEventIO* G4PersistencyManager::EventIO ( )
inlinevirtual

Reimplemented in G4PersistencyManagerT< T >.

Definition at line 133 of file G4PersistencyManager.hh.

Referenced by G4PersistencyManagerT< T >::EventIO(), Retrieve(), SetVerboseLevel(), and Store().

+ Here is the caller graph for this function:

std::string G4PersistencyManager::GetName ( void  )
inline

Definition at line 130 of file G4PersistencyManager.hh.

References nameMgr.

Referenced by G4PersistencyManagerT< T >::Create(), and G4PersistencyCenter::RegisterPersistencyManager().

+ Here is the caller graph for this function:

G4PersistencyManager * G4PersistencyManager::GetPersistencyManager ( )
staticprotected

Definition at line 49 of file G4PersistencyManager.cc.

References G4PersistencyCenter::CurrentPersistencyManager(), and G4PersistencyCenter::GetPersistencyCenter().

+ Here is the call graph for this function:

virtual G4VPHitIO* G4PersistencyManager::HitIO ( )
inlinevirtual

Reimplemented in G4PersistencyManagerT< T >.

Definition at line 137 of file G4PersistencyManager.hh.

Referenced by G4PersistencyManagerT< T >::HitIO(), SetVerboseLevel(), and Store().

+ Here is the caller graph for this function:

virtual void G4PersistencyManager::Initialize ( )
inlinevirtual

Reimplemented in G4PersistencyManagerT< T >.

Definition at line 153 of file G4PersistencyManager.hh.

Referenced by Retrieve(), and Store().

+ Here is the caller graph for this function:

virtual G4VMCTruthIO* G4PersistencyManager::MCTruthIO ( )
inlinevirtual

Reimplemented in G4PersistencyManagerT< T >.

Definition at line 145 of file G4PersistencyManager.hh.

Referenced by G4PersistencyManagerT< T >::MCTruthIO(), SetVerboseLevel(), and Store().

+ Here is the caller graph for this function:

G4bool G4PersistencyManager::Retrieve ( G4Event *&  evt)
virtual

Implements G4VPersistencyManager.

Definition at line 230 of file G4PersistencyManager.cc.

References G4VTransactionManager::Abort(), G4VTransactionManager::Commit(), G4PersistencyCenter::CurrentReadFile(), G4PersistencyCenter::CurrentRetrieveMode(), EventIO(), f_is_initialized, f_pc, G4cerr, G4cout, G4endl, G4Event::GetEventID(), Initialize(), m_verbose, G4VPEventIO::Retrieve(), and TransactionManager().

+ Here is the call graph for this function:

G4bool G4PersistencyManager::Retrieve ( G4Run *&  )
inlinevirtual

Implements G4VPersistencyManager.

Definition at line 169 of file G4PersistencyManager.hh.

G4bool G4PersistencyManager::Retrieve ( G4VPhysicalVolume *&  )
inlinevirtual

Implements G4VPersistencyManager.

Definition at line 175 of file G4PersistencyManager.hh.

G4bool G4PersistencyManager::Store ( const G4Run )
inlinevirtual

Implements G4VPersistencyManager.

Definition at line 166 of file G4PersistencyManager.hh.

G4bool G4PersistencyManager::Store ( const G4VPhysicalVolume )
inlinevirtual

Implements G4VPersistencyManager.

Definition at line 172 of file G4PersistencyManager.hh.

virtual G4VTransactionManager* G4PersistencyManager::TransactionManager ( )
inlinevirtual

Reimplemented in G4PersistencyManagerT< T >.

Definition at line 149 of file G4PersistencyManager.hh.

Referenced by Retrieve(), SetVerboseLevel(), Store(), and G4PersistencyManagerT< T >::TransactionManager().

+ Here is the caller graph for this function:

Friends And Related Function Documentation

friend class G4PersistencyCenter
friend

Definition at line 117 of file G4PersistencyManager.hh.

Member Data Documentation

G4bool G4PersistencyManager::f_is_initialized
private

Definition at line 188 of file G4PersistencyManager.hh.

Referenced by Retrieve(), and Store().

G4PersistencyCenter* G4PersistencyManager::f_pc
protected
int G4PersistencyManager::m_verbose
protected
std::string G4PersistencyManager::nameMgr
private

Definition at line 187 of file G4PersistencyManager.hh.

Referenced by GetName(), and SetVerboseLevel().


The documentation for this class was generated from the following files: