Geant4-11
Public Member Functions | Protected Member Functions | Protected Attributes | Static Protected Attributes
G4VPDigitIO Class Referenceabstract

#include <G4VPDigitIO.hh>

Public Member Functions

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

Protected Member Functions

void SetG4VPDigitIO (G4VPDigitIO *digitMan)
 

Protected Attributes

G4DCIOcatalogf_catalog = nullptr
 
G4int m_verbose = 0
 

Static Protected Attributes

static G4ThreadLocal G4VPDigitIOf_G4VPDigitIO = nullptr
 

Detailed Description

Definition at line 41 of file G4VPDigitIO.hh.

Constructor & Destructor Documentation

◆ G4VPDigitIO()

G4VPDigitIO::G4VPDigitIO ( )

Definition at line 36 of file G4VPDigitIO.cc.

37{
39}
static G4DCIOcatalog * GetDCIOcatalog()
G4DCIOcatalog * f_catalog
Definition: G4VPDigitIO.hh:76

References f_catalog, and G4DCIOcatalog::GetDCIOcatalog().

◆ ~G4VPDigitIO()

virtual G4VPDigitIO::~G4VPDigitIO ( )
inlinevirtual

Definition at line 48 of file G4VPDigitIO.hh.

48{}

Member Function Documentation

◆ GetVPDigitIO()

G4VPDigitIO * G4VPDigitIO::GetVPDigitIO ( )
inline

Definition at line 51 of file G4VPDigitIO.hh.

51{ return f_G4VPDigitIO; }
static G4ThreadLocal G4VPDigitIO * f_G4VPDigitIO
Definition: G4VPDigitIO.hh:75

References f_G4VPDigitIO.

◆ Retrieve()

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

◆ SetG4VPDigitIO()

void G4VPDigitIO::SetG4VPDigitIO ( G4VPDigitIO digitMan)
inlineprotected

Definition at line 69 of file G4VPDigitIO.hh.

69{ f_G4VPDigitIO = digitMan; }

References f_G4VPDigitIO.

◆ SetVerboseLevel()

void G4VPDigitIO::SetVerboseLevel ( G4int  v)

Definition at line 42 of file G4VPDigitIO.cc.

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

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

Referenced by G4PersistencyManager::SetVerboseLevel().

◆ Store()

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

Field Documentation

◆ f_catalog

G4DCIOcatalog* G4VPDigitIO::f_catalog = nullptr
protected

Definition at line 76 of file G4VPDigitIO.hh.

Referenced by G4VPDigitIO(), and SetVerboseLevel().

◆ f_G4VPDigitIO

G4ThreadLocal G4VPDigitIO * G4VPDigitIO::f_G4VPDigitIO = nullptr
staticprotected

Definition at line 75 of file G4VPDigitIO.hh.

Referenced by GetVPDigitIO(), and SetG4VPDigitIO().

◆ m_verbose

G4int G4VPDigitIO::m_verbose = 0
protected

Definition at line 74 of file G4VPDigitIO.hh.

Referenced by SetVerboseLevel().


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