Geant4.10
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
Public Member Functions | Protected Attributes
G4VPHitsCollectionIO Class Referenceabstract

#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.

36  : m_verbose(0), f_detName(detName), f_colName(colName)
37 {}
virtual G4VPHitsCollectionIO::~G4VPHitsCollectionIO ( )
inlinevirtual

Definition at line 45 of file G4VPHitsCollectionIO.hh.

45 {};

Member Function Documentation

std::string G4VPHitsCollectionIO::CollectionName ( )
inline

Definition at line 65 of file G4VPHitsCollectionIO.hh.

References f_colName.

65 { return f_colName; };
G4bool G4VPHitsCollectionIO::operator== ( const G4VPHitsCollectionIO right) const

Definition at line 40 of file G4VPHitsCollectionIO.cc.

References f_colName, and f_detName.

41 {
42  return ( (f_detName == right.f_detName) &&
43  (f_colName == right.f_colName) );
44 }
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().

62 { return f_detName; };
void G4VPHitsCollectionIO::SetVerboseLevel ( int  v)
inline
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: