Geant4 9.6.0
Toolkit for the simulation of the passage of particles through matter
Loading...
Searching...
No Matches
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::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{}

◆ ~G4VPHitsCollectionIO()

virtual G4VPHitsCollectionIO::~G4VPHitsCollectionIO ( )
inlinevirtual

Definition at line 45 of file G4VPHitsCollectionIO.hh.

45{};

Member Function Documentation

◆ CollectionName()

std::string G4VPHitsCollectionIO::CollectionName ( )
inline

Definition at line 65 of file G4VPHitsCollectionIO.hh.

65{ return f_colName; };

◆ operator==()

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}

◆ Retrieve()

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

◆ SDname()

std::string G4VPHitsCollectionIO::SDname ( )
inline

Definition at line 62 of file G4VPHitsCollectionIO.hh.

62{ return f_detName; };

Referenced by G4HCIOcatalog::RegisterHCIOmanager().

◆ SetVerboseLevel()

void G4VPHitsCollectionIO::SetVerboseLevel ( int  v)
inline

◆ Store()

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

Member Data Documentation

◆ f_colName

std::string G4VPHitsCollectionIO::f_colName
protected

Definition at line 74 of file G4VPHitsCollectionIO.hh.

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

◆ f_detName

std::string G4VPHitsCollectionIO::f_detName
protected

Definition at line 73 of file G4VPHitsCollectionIO.hh.

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

◆ m_verbose

G4int G4VPHitsCollectionIO::m_verbose
protected

Definition at line 72 of file G4VPHitsCollectionIO.hh.

Referenced by SetVerboseLevel().


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