#include <G4VPDigitIO.hh>
Public Member Functions | |
G4VPDigitIO () | |
virtual | ~G4VPDigitIO () |
G4VPDigitIO * | GetVPDigitIO () |
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 |
G4DCIOcatalog * | f_catalog |
Static Protected Attributes | |
static G4VPDigitIO * | f_G4VPDigitIO = 0 |
Definition at line 41 of file G4VPDigitIO.hh.
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] |
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().
G4DCIOcatalog* G4VPDigitIO::f_catalog [protected] |
G4VPDigitIO * G4VPDigitIO::f_G4VPDigitIO = 0 [static, protected] |
G4int G4VPDigitIO::m_verbose [protected] |