Geant4 9.6.0
Toolkit for the simulation of the passage of particles through matter
Loading...
Searching...
No Matches
G4VPHitIO Class Referenceabstract

#include <G4VPHitIO.hh>

Public Member Functions

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

Protected Member Functions

void SetG4VPHitIO (G4VPHitIO *hitMan)
 

Protected Attributes

G4int m_verbose
 
G4HCIOcatalogf_catalog
 

Static Protected Attributes

static G4VPHitIOf_G4VPHitIO = 0
 

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

◆ ~G4VPHitIO()

virtual G4VPHitIO::~G4VPHitIO ( )
inlinevirtual

Definition at line 47 of file G4VPHitIO.hh.

47{};

Member Function Documentation

◆ GetVPHitIO()

G4VPHitIO * G4VPHitIO::GetVPHitIO ( )
inline

Definition at line 51 of file G4VPHitIO.hh.

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

◆ Retrieve()

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

◆ SetG4VPHitIO()

void G4VPHitIO::SetG4VPHitIO ( G4VPHitIO hitMan)
inlineprotected

Definition at line 68 of file G4VPHitIO.hh.

68{ f_G4VPHitIO = hitMan; };

◆ SetVerboseLevel()

void G4VPHitIO::SetVerboseLevel ( int  v)

Definition at line 43 of file G4VPHitIO.cc.

44{
45 m_verbose = v;
46
47 // Loop through the registered Hit I/O managers
48 for ( size_t i=0; i < f_catalog->NumberOfHCIOmanager(); i++ ) {
50 hitIOman->SetVerboseLevel(v);
51 }
52}
G4VPHitsCollectionIO * GetHCIOmanager(std::string name)
size_t NumberOfHCIOmanager()

Referenced by G4PersistencyManager::SetVerboseLevel().

◆ Store()

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

Member Data Documentation

◆ f_catalog

G4HCIOcatalog* G4VPHitIO::f_catalog
protected

Definition at line 74 of file G4VPHitIO.hh.

Referenced by G4VPHitIO(), and SetVerboseLevel().

◆ f_G4VPHitIO

G4VPHitIO * G4VPHitIO::f_G4VPHitIO = 0
staticprotected

Definition at line 73 of file G4VPHitIO.hh.

Referenced by GetVPHitIO(), and SetG4VPHitIO().

◆ m_verbose

G4int G4VPHitIO::m_verbose
protected

Definition at line 72 of file G4VPHitIO.hh.

Referenced by SetVerboseLevel().


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