Geant4.10
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
Public Member Functions | Protected Member Functions | Protected Attributes | Static Protected Attributes
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 G4ThreadLocal G4VPHitIOf_G4VPHitIO = 0
 

Detailed Description

Definition at line 41 of file G4VPHitIO.hh.

Constructor & Destructor Documentation

G4VPHitIO::G4VPHitIO ( )

Definition at line 36 of file G4VPHitIO.cc.

References f_catalog, and G4HCIOcatalog::GetHCIOcatalog().

37  : m_verbose(0)
38 {
40 }
static G4HCIOcatalog * GetHCIOcatalog()
G4int m_verbose
Definition: G4VPHitIO.hh:68
G4HCIOcatalog * f_catalog
Definition: G4VPHitIO.hh:74
virtual G4VPHitIO::~G4VPHitIO ( )
inlinevirtual

Definition at line 47 of file G4VPHitIO.hh.

47 {};

Member Function Documentation

G4VPHitIO* G4VPHitIO::GetVPHitIO ( )
inline

Definition at line 51 of file G4VPHitIO.hh.

References f_G4VPHitIO.

51 { return f_G4VPHitIO; };
static G4ThreadLocal G4VPHitIO * f_G4VPHitIO
Definition: G4VPHitIO.hh:73
virtual G4bool G4VPHitIO::Retrieve ( G4HCofThisEvent *&  )
pure virtual
void G4VPHitIO::SetG4VPHitIO ( G4VPHitIO hitMan)
inlineprotected

Definition at line 68 of file G4VPHitIO.hh.

References f_G4VPHitIO.

68 { f_G4VPHitIO = hitMan; };
static G4ThreadLocal G4VPHitIO * f_G4VPHitIO
Definition: G4VPHitIO.hh:73
void G4VPHitIO::SetVerboseLevel ( int  v)

Definition at line 43 of file G4VPHitIO.cc.

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

Referenced by G4PersistencyManager::SetVerboseLevel().

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 }
size_t NumberOfHCIOmanager()
G4VPHitsCollectionIO * GetHCIOmanager(std::string name)
G4int m_verbose
Definition: G4VPHitIO.hh:68
G4HCIOcatalog * f_catalog
Definition: G4VPHitIO.hh:74
virtual G4bool G4VPHitIO::Store ( const G4HCofThisEvent )
pure virtual

Field Documentation

G4HCIOcatalog* G4VPHitIO::f_catalog
protected

Definition at line 74 of file G4VPHitIO.hh.

Referenced by G4VPHitIO(), and SetVerboseLevel().

G4ThreadLocal G4VPHitIO * G4VPHitIO::f_G4VPHitIO = 0
staticprotected

Definition at line 73 of file G4VPHitIO.hh.

Referenced by GetVPHitIO(), and SetG4VPHitIO().

G4int G4VPHitIO::m_verbose
protected

Definition at line 68 of file G4VPHitIO.hh.

Referenced by SetVerboseLevel().


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