Geant4.10
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
Public Member Functions | Protected Member Functions | Protected Attributes | Static Protected Attributes
G4VPDigitIO Class Referenceabstract

#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 G4ThreadLocal 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().

37  : m_verbose(0)
38 {
40 }
G4DCIOcatalog * f_catalog
Definition: G4VPDigitIO.hh:74
G4int m_verbose
Definition: G4VPDigitIO.hh:68
static G4DCIOcatalog * GetDCIOcatalog()
virtual G4VPDigitIO::~G4VPDigitIO ( )
inlinevirtual

Definition at line 47 of file G4VPDigitIO.hh.

47 {};

Member Function Documentation

G4VPDigitIO* G4VPDigitIO::GetVPDigitIO ( )
inline

Definition at line 51 of file G4VPDigitIO.hh.

References f_G4VPDigitIO.

51 { return f_G4VPDigitIO; };
static G4ThreadLocal G4VPDigitIO * f_G4VPDigitIO
Definition: G4VPDigitIO.hh:73
virtual G4bool G4VPDigitIO::Retrieve ( G4DCofThisEvent *&  )
pure virtual
void G4VPDigitIO::SetG4VPDigitIO ( G4VPDigitIO digitMan)
inlineprotected

Definition at line 68 of file G4VPDigitIO.hh.

References f_G4VPDigitIO.

68 { f_G4VPDigitIO = digitMan; };
static G4ThreadLocal G4VPDigitIO * f_G4VPDigitIO
Definition: G4VPDigitIO.hh:73
void G4VPDigitIO::SetVerboseLevel ( int  v)

Definition at line 43 of file G4VPDigitIO.cc.

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

Referenced by G4PersistencyManager::SetVerboseLevel().

44 {
45  m_verbose = v;
46 
47  // Loop through the registered Digit I/O managers
48  for ( size_t i=0; i < f_catalog->NumberOfDCIOmanager(); i++ ) {
50  digitIOman->SetVerboseLevel(v);
51  }
52 }
G4DCIOcatalog * f_catalog
Definition: G4VPDigitIO.hh:74
G4VPDigitsCollectionIO * GetDCIOmanager(std::string name)
G4int m_verbose
Definition: G4VPDigitIO.hh:68
size_t NumberOfDCIOmanager()
virtual G4bool G4VPDigitIO::Store ( const G4DCofThisEvent )
pure virtual

Field Documentation

G4DCIOcatalog* G4VPDigitIO::f_catalog
protected

Definition at line 74 of file G4VPDigitIO.hh.

Referenced by G4VPDigitIO(), and SetVerboseLevel().

G4ThreadLocal G4VPDigitIO * G4VPDigitIO::f_G4VPDigitIO = 0
staticprotected

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: