Geant4 9.6.0
Toolkit for the simulation of the passage of particles through matter
Loading...
Searching...
No Matches
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 G4VPDigitIOf_G4VPDigitIO = 0
 

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 : m_verbose(0)
38{
40}
static G4DCIOcatalog * GetDCIOcatalog()
G4DCIOcatalog * f_catalog
Definition: G4VPDigitIO.hh:74
G4int m_verbose
Definition: G4VPDigitIO.hh:72

◆ ~G4VPDigitIO()

virtual G4VPDigitIO::~G4VPDigitIO ( )
inlinevirtual

Definition at line 47 of file G4VPDigitIO.hh.

47{};

Member Function Documentation

◆ GetVPDigitIO()

G4VPDigitIO * G4VPDigitIO::GetVPDigitIO ( )
inline

Definition at line 51 of file G4VPDigitIO.hh.

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

◆ Retrieve()

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

◆ SetG4VPDigitIO()

void G4VPDigitIO::SetG4VPDigitIO ( G4VPDigitIO digitMan)
inlineprotected

Definition at line 68 of file G4VPDigitIO.hh.

68{ f_G4VPDigitIO = digitMan; };

◆ SetVerboseLevel()

void G4VPDigitIO::SetVerboseLevel ( int  v)

Definition at line 43 of file G4VPDigitIO.cc.

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}
G4VPDigitsCollectionIO * GetDCIOmanager(std::string name)
size_t NumberOfDCIOmanager()

Referenced by G4PersistencyManager::SetVerboseLevel().

◆ Store()

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

Member Data Documentation

◆ f_catalog

G4DCIOcatalog* G4VPDigitIO::f_catalog
protected

Definition at line 74 of file G4VPDigitIO.hh.

Referenced by G4VPDigitIO(), and SetVerboseLevel().

◆ f_G4VPDigitIO

G4VPDigitIO * G4VPDigitIO::f_G4VPDigitIO = 0
staticprotected

Definition at line 73 of file G4VPDigitIO.hh.

Referenced by GetVPDigitIO(), and SetG4VPDigitIO().

◆ m_verbose

G4int G4VPDigitIO::m_verbose
protected

Definition at line 72 of file G4VPDigitIO.hh.

Referenced by SetVerboseLevel().


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