G4VPDigitIO Class Reference

#include <G4VPDigitIO.hh>


Public Member Functions

 G4VPDigitIO ()
virtual ~G4VPDigitIO ()
G4VPDigitIOGetVPDigitIO ()
virtual G4bool Store (const G4DCofThisEvent *)=0
virtual G4bool Retrieve (G4DCofThisEvent *&)=0
void SetVerboseLevel (int v)

Protected Member Functions

void SetG4VPDigitIO (G4VPDigitIO *digitMan)

Protected Attributes

G4int m_verbose
G4DCIOcatalogf_catalog

Static Protected Attributes

static G4VPDigitIOf_G4VPDigitIO = 0


Detailed Description

Definition at line 41 of file G4VPDigitIO.hh.


Constructor & Destructor Documentation

G4VPDigitIO::G4VPDigitIO (  ) 

Definition at line 36 of file G4VPDigitIO.cc.

References f_catalog, and G4DCIOcatalog::GetDCIOcatalog().

00037  : m_verbose(0)
00038 {
00039   f_catalog = G4DCIOcatalog::GetDCIOcatalog();
00040 }

virtual G4VPDigitIO::~G4VPDigitIO (  )  [inline, virtual]

Definition at line 47 of file G4VPDigitIO.hh.

00047 {};


Member Function Documentation

G4VPDigitIO* G4VPDigitIO::GetVPDigitIO (  )  [inline]

Definition at line 51 of file G4VPDigitIO.hh.

References f_G4VPDigitIO.

00051 { return f_G4VPDigitIO; };

virtual G4bool G4VPDigitIO::Retrieve ( G4DCofThisEvent *&   )  [pure virtual]

void G4VPDigitIO::SetG4VPDigitIO ( G4VPDigitIO digitMan  )  [inline, protected]

Definition at line 68 of file G4VPDigitIO.hh.

References f_G4VPDigitIO.

00068 { f_G4VPDigitIO = digitMan; };

void G4VPDigitIO::SetVerboseLevel ( int  v  ) 

Definition at line 43 of file G4VPDigitIO.cc.

References f_catalog, G4DCIOcatalog::GetDCIOmanager(), m_verbose, G4DCIOcatalog::NumberOfDCIOmanager(), and G4VPDigitsCollectionIO::SetVerboseLevel().

Referenced by G4PersistencyManager::SetVerboseLevel().

00044 {
00045   m_verbose = v;
00046 
00047   // Loop through the registered Digit I/O managers
00048   for ( size_t i=0; i < f_catalog->NumberOfDCIOmanager(); i++ ) {
00049     G4VPDigitsCollectionIO* digitIOman = f_catalog->GetDCIOmanager(i);
00050     digitIOman->SetVerboseLevel(v);
00051   }
00052 }

virtual G4bool G4VPDigitIO::Store ( const G4DCofThisEvent  )  [pure virtual]

Referenced by G4PersistencyManager::Store().


Field Documentation

G4DCIOcatalog* G4VPDigitIO::f_catalog [protected]

Definition at line 74 of file G4VPDigitIO.hh.

Referenced by G4VPDigitIO(), and SetVerboseLevel().

G4VPDigitIO * G4VPDigitIO::f_G4VPDigitIO = 0 [static, protected]

Definition at line 73 of file G4VPDigitIO.hh.

Referenced by GetVPDigitIO(), and SetG4VPDigitIO().

G4int G4VPDigitIO::m_verbose [protected]

Definition at line 68 of file G4VPDigitIO.hh.

Referenced by SetVerboseLevel().


The documentation for this class was generated from the following files:
Generated on Mon May 27 17:53:52 2013 for Geant4 by  doxygen 1.4.7