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

#include <G4VPHitIO.hh>

Public Member Functions

 G4VPHitIO ()
 
G4VPHitIOGetVPHitIO ()
 
virtual G4bool Retrieve (G4HCofThisEvent *&)=0
 
void SetVerboseLevel (G4int v)
 
virtual G4bool Store (const G4HCofThisEvent *)=0
 
virtual ~G4VPHitIO ()
 

Protected Member Functions

void SetG4VPHitIO (G4VPHitIO *hitMan)
 

Protected Attributes

G4HCIOcatalogf_catalog = nullptr
 
G4int m_verbose = 0
 

Static Protected Attributes

static G4ThreadLocal G4VPHitIOf_G4VPHitIO = nullptr
 

Detailed Description

Definition at line 41 of file G4VPHitIO.hh.

Constructor & Destructor Documentation

◆ G4VPHitIO()

G4VPHitIO::G4VPHitIO ( )

Definition at line 36 of file G4VPHitIO.cc.

37{
39}
static G4HCIOcatalog * GetHCIOcatalog()
G4HCIOcatalog * f_catalog
Definition: G4VPHitIO.hh:76

References f_catalog, and G4HCIOcatalog::GetHCIOcatalog().

◆ ~G4VPHitIO()

virtual G4VPHitIO::~G4VPHitIO ( )
inlinevirtual

Definition at line 48 of file G4VPHitIO.hh.

48{}

Member Function Documentation

◆ GetVPHitIO()

G4VPHitIO * G4VPHitIO::GetVPHitIO ( )
inline

Definition at line 51 of file G4VPHitIO.hh.

51{ return f_G4VPHitIO; }
static G4ThreadLocal G4VPHitIO * f_G4VPHitIO
Definition: G4VPHitIO.hh:75

References f_G4VPHitIO.

◆ Retrieve()

virtual G4bool G4VPHitIO::Retrieve ( G4HCofThisEvent *&  )
pure virtual

◆ SetG4VPHitIO()

void G4VPHitIO::SetG4VPHitIO ( G4VPHitIO hitMan)
inlineprotected

Definition at line 69 of file G4VPHitIO.hh.

69{ f_G4VPHitIO = hitMan; }

References f_G4VPHitIO.

◆ SetVerboseLevel()

void G4VPHitIO::SetVerboseLevel ( G4int  v)

Definition at line 42 of file G4VPHitIO.cc.

43{
44 m_verbose = v;
45
46 // Loop through the registered Hit I/O managers
47 for(std::size_t i = 0; i < f_catalog->NumberOfHCIOmanager(); ++i)
48 {
50 hitIOman->SetVerboseLevel(v);
51 }
52}
G4VPHitsCollectionIO * GetHCIOmanager(const G4String &name)
std::size_t NumberOfHCIOmanager()
G4int m_verbose
Definition: G4VPHitIO.hh:74

References f_catalog, G4HCIOcatalog::GetHCIOmanager(), m_verbose, G4HCIOcatalog::NumberOfHCIOmanager(), and G4VPHitsCollectionIO::SetVerboseLevel().

Referenced by G4PersistencyManager::SetVerboseLevel().

◆ Store()

virtual G4bool G4VPHitIO::Store ( const G4HCofThisEvent )
pure virtual

Field Documentation

◆ f_catalog

G4HCIOcatalog* G4VPHitIO::f_catalog = nullptr
protected

Definition at line 76 of file G4VPHitIO.hh.

Referenced by G4VPHitIO(), and SetVerboseLevel().

◆ f_G4VPHitIO

G4ThreadLocal G4VPHitIO * G4VPHitIO::f_G4VPHitIO = nullptr
staticprotected

Definition at line 75 of file G4VPHitIO.hh.

Referenced by GetVPHitIO(), and SetG4VPHitIO().

◆ m_verbose

G4int G4VPHitIO::m_verbose = 0
protected

Definition at line 74 of file G4VPHitIO.hh.

Referenced by SetVerboseLevel().


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