G4VPHitsCollectionIO Class Reference

#include <G4VPHitsCollectionIO.hh>


Public Member Functions

 G4VPHitsCollectionIO (std::string detName, std::string colName)
virtual ~G4VPHitsCollectionIO ()
virtual G4bool Store (const G4VHitsCollection *)=0
virtual G4bool Retrieve (G4VHitsCollection *&)=0
G4bool operator== (const G4VPHitsCollectionIO &right) const
std::string SDname ()
std::string CollectionName ()
void SetVerboseLevel (int v)

Protected Attributes

G4int m_verbose
std::string f_detName
std::string f_colName


Detailed Description

Definition at line 39 of file G4VPHitsCollectionIO.hh.


Constructor & Destructor Documentation

G4VPHitsCollectionIO::G4VPHitsCollectionIO ( std::string  detName,
std::string  colName 
)

Definition at line 34 of file G4VPHitsCollectionIO.cc.

00036  : m_verbose(0), f_detName(detName), f_colName(colName)
00037 {}

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

Definition at line 45 of file G4VPHitsCollectionIO.hh.

00045 {};


Member Function Documentation

std::string G4VPHitsCollectionIO::CollectionName (  )  [inline]

Definition at line 65 of file G4VPHitsCollectionIO.hh.

References f_colName.

00065 { return f_colName; };

G4bool G4VPHitsCollectionIO::operator== ( const G4VPHitsCollectionIO right  )  const

Definition at line 40 of file G4VPHitsCollectionIO.cc.

References f_colName, and f_detName.

00041 {
00042   return ( (f_detName == right.f_detName) &&
00043            (f_colName == right.f_colName) );
00044 }

virtual G4bool G4VPHitsCollectionIO::Retrieve ( G4VHitsCollection *&   )  [pure virtual]

std::string G4VPHitsCollectionIO::SDname (  )  [inline]

Definition at line 62 of file G4VPHitsCollectionIO.hh.

References f_detName.

Referenced by G4HCIOcatalog::RegisterHCIOmanager().

00062 { return f_detName; };

void G4VPHitsCollectionIO::SetVerboseLevel ( int  v  )  [inline]

Definition at line 68 of file G4VPHitsCollectionIO.hh.

References m_verbose.

Referenced by G4VPHitIO::SetVerboseLevel(), and G4PersistencyManager::SetVerboseLevel().

00068 { m_verbose = v; };

virtual G4bool G4VPHitsCollectionIO::Store ( const G4VHitsCollection  )  [pure virtual]


Field Documentation

std::string G4VPHitsCollectionIO::f_colName [protected]

Definition at line 74 of file G4VPHitsCollectionIO.hh.

Referenced by CollectionName(), and operator==().

std::string G4VPHitsCollectionIO::f_detName [protected]

Definition at line 73 of file G4VPHitsCollectionIO.hh.

Referenced by operator==(), and SDname().

G4int G4VPHitsCollectionIO::m_verbose [protected]

Definition at line 68 of file G4VPHitsCollectionIO.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