Geant4 11.2.2
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 (G4int v)
 

Protected Member Functions

void SetG4VPDigitIO (G4VPDigitIO *digitMan)
 

Protected Attributes

G4int m_verbose = 0
 
G4DCIOcatalogf_catalog = nullptr
 

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

◆ ~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

◆ 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; }

◆ 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(G4int i = 0; i < (G4int)f_catalog->NumberOfDCIOmanager(); ++i)
48 {
50 digitIOman->SetVerboseLevel(v);
51 }
52}
int G4int
Definition G4Types.hh:85
G4VPDigitsCollectionIO * GetDCIOmanager(const G4String &name)
std::size_t NumberOfDCIOmanager()
G4int m_verbose

Referenced by G4PersistencyManager::SetVerboseLevel().

◆ Store()

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

Member Data 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: