Geant4-11
Public Member Functions | Protected Attributes
G4VPHitsCollectionIO Class Referenceabstract

#include <G4VPHitsCollectionIO.hh>

Public Member Functions

const G4StringCollectionName ()
 
 G4VPHitsCollectionIO (const G4String &detName, const G4String &colName)
 
G4bool operator== (const G4VPHitsCollectionIO &right) const
 
virtual G4bool Retrieve (G4VHitsCollection *&)=0
 
const G4StringSDname ()
 
void SetVerboseLevel (G4int v)
 
virtual G4bool Store (const G4VHitsCollection *)=0
 
virtual ~G4VPHitsCollectionIO ()
 

Protected Attributes

G4String f_colName
 
G4String f_detName
 
G4int m_verbose = 0
 

Detailed Description

Definition at line 39 of file G4VPHitsCollectionIO.hh.

Constructor & Destructor Documentation

◆ G4VPHitsCollectionIO()

G4VPHitsCollectionIO::G4VPHitsCollectionIO ( const G4String detName,
const G4String colName 
)

Definition at line 34 of file G4VPHitsCollectionIO.cc.

36 : f_detName(detName)
37 , f_colName(colName)
38{
39}

◆ ~G4VPHitsCollectionIO()

virtual G4VPHitsCollectionIO::~G4VPHitsCollectionIO ( )
inlinevirtual

Definition at line 46 of file G4VPHitsCollectionIO.hh.

46{};

Member Function Documentation

◆ CollectionName()

const G4String & G4VPHitsCollectionIO::CollectionName ( )
inline

Definition at line 65 of file G4VPHitsCollectionIO.hh.

65{ return f_colName; }

References f_colName.

◆ operator==()

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

Definition at line 42 of file G4VPHitsCollectionIO.cc.

43{
44 return ((f_detName == right.f_detName) && (f_colName == right.f_colName));
45}

References f_colName, and f_detName.

◆ Retrieve()

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

◆ SDname()

const G4String & G4VPHitsCollectionIO::SDname ( )
inline

Definition at line 62 of file G4VPHitsCollectionIO.hh.

62{ return f_detName; }

References f_detName.

Referenced by G4HCIOcatalog::RegisterHCIOmanager().

◆ SetVerboseLevel()

void G4VPHitsCollectionIO::SetVerboseLevel ( G4int  v)
inline

◆ Store()

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

Field Documentation

◆ f_colName

G4String G4VPHitsCollectionIO::f_colName
protected

Definition at line 75 of file G4VPHitsCollectionIO.hh.

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

◆ f_detName

G4String G4VPHitsCollectionIO::f_detName
protected

Definition at line 74 of file G4VPHitsCollectionIO.hh.

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

◆ m_verbose

G4int G4VPHitsCollectionIO::m_verbose = 0
protected

Definition at line 73 of file G4VPHitsCollectionIO.hh.

Referenced by SetVerboseLevel().


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