G4VPHitIO Class Reference

#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 (  ) 

Definition at line 36 of file G4VPHitIO.cc.

References f_catalog, and G4HCIOcatalog::GetHCIOcatalog().

00037  : m_verbose(0)
00038 {
00039   f_catalog = G4HCIOcatalog::GetHCIOcatalog();
00040 }

virtual G4VPHitIO::~G4VPHitIO (  )  [inline, virtual]

Definition at line 47 of file G4VPHitIO.hh.

00047 {};


Member Function Documentation

G4VPHitIO* G4VPHitIO::GetVPHitIO (  )  [inline]

Definition at line 51 of file G4VPHitIO.hh.

References f_G4VPHitIO.

00051 { return f_G4VPHitIO; };

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

void G4VPHitIO::SetG4VPHitIO ( G4VPHitIO hitMan  )  [inline, protected]

Definition at line 68 of file G4VPHitIO.hh.

References f_G4VPHitIO.

00068 { f_G4VPHitIO = hitMan; };

void G4VPHitIO::SetVerboseLevel ( int  v  ) 

Definition at line 43 of file G4VPHitIO.cc.

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

Referenced by G4PersistencyManager::SetVerboseLevel().

00044 {
00045   m_verbose = v;
00046 
00047   // Loop through the registered Hit I/O managers
00048   for ( size_t i=0; i < f_catalog->NumberOfHCIOmanager(); i++ ) {
00049     G4VPHitsCollectionIO* hitIOman = f_catalog->GetHCIOmanager(i);
00050     hitIOman->SetVerboseLevel(v);
00051   }
00052 }

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

Referenced by G4PersistencyManager::Store().


Field Documentation

G4HCIOcatalog* G4VPHitIO::f_catalog [protected]

Definition at line 74 of file G4VPHitIO.hh.

Referenced by G4VPHitIO(), and SetVerboseLevel().

G4VPHitIO * G4VPHitIO::f_G4VPHitIO = 0 [static, protected]

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:
Generated on Mon May 27 17:53:53 2013 for Geant4 by  doxygen 1.4.7