Geant4  10.03.p01
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Pages
G4VPHitsCollectionIO Class Referenceabstract

#include <G4VPHitsCollectionIO.hh>

Collaboration diagram for G4VPHitsCollectionIO:

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.

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

Definition at line 40 of file G4VPHitsCollectionIO.cc.

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.

62 { return f_detName; };

Here is the caller graph for this function:

void G4VPHitsCollectionIO::SetVerboseLevel ( int  v)
inline

Definition at line 68 of file G4VPHitsCollectionIO.hh.

68 { m_verbose = v; };

Here is the caller graph for this function:

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

Member Data Documentation

std::string G4VPHitsCollectionIO::f_colName
protected

Definition at line 74 of file G4VPHitsCollectionIO.hh.

std::string G4VPHitsCollectionIO::f_detName
protected

Definition at line 73 of file G4VPHitsCollectionIO.hh.

G4int G4VPHitsCollectionIO::m_verbose
protected

Definition at line 68 of file G4VPHitsCollectionIO.hh.


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