Geant4 10.7.0
Toolkit for the simulation of the passage of particles through matter
Loading...
Searching...
No Matches
G4VPDigitsCollectionIO Class Referenceabstract

#include <G4VPDigitsCollectionIO.hh>

Public Member Functions

 G4VPDigitsCollectionIO (const G4String &detName, const G4String &colName)
 
virtual ~G4VPDigitsCollectionIO ()
 
virtual G4bool Store (const G4VDigiCollection *)=0
 
virtual G4bool Retrieve (G4VDigiCollection *&)=0
 
G4bool operator== (const G4VPDigitsCollectionIO &right) const
 
const G4StringDMname ()
 
const G4StringCollectionName ()
 
void SetVerboseLevel (G4int v)
 

Protected Attributes

G4int m_verbose = 0
 
G4String f_detName
 
G4String f_colName
 

Detailed Description

Definition at line 39 of file G4VPDigitsCollectionIO.hh.

Constructor & Destructor Documentation

◆ G4VPDigitsCollectionIO()

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

Definition at line 34 of file G4VPDigitsCollectionIO.cc.

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

◆ ~G4VPDigitsCollectionIO()

virtual G4VPDigitsCollectionIO::~G4VPDigitsCollectionIO ( )
inlinevirtual

Definition at line 46 of file G4VPDigitsCollectionIO.hh.

46{}

Member Function Documentation

◆ CollectionName()

const G4String & G4VPDigitsCollectionIO::CollectionName ( )
inline

Definition at line 65 of file G4VPDigitsCollectionIO.hh.

65{ return f_colName; }

◆ DMname()

const G4String & G4VPDigitsCollectionIO::DMname ( )
inline

Definition at line 62 of file G4VPDigitsCollectionIO.hh.

62{ return f_detName; }

Referenced by G4DCIOcatalog::RegisterDCIOmanager().

◆ operator==()

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

Definition at line 42 of file G4VPDigitsCollectionIO.cc.

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

◆ Retrieve()

virtual G4bool G4VPDigitsCollectionIO::Retrieve ( G4VDigiCollection *&  )
pure virtual

◆ SetVerboseLevel()

void G4VPDigitsCollectionIO::SetVerboseLevel ( G4int  v)
inline

◆ Store()

virtual G4bool G4VPDigitsCollectionIO::Store ( const G4VDigiCollection )
pure virtual

Member Data Documentation

◆ f_colName

G4String G4VPDigitsCollectionIO::f_colName
protected

Definition at line 75 of file G4VPDigitsCollectionIO.hh.

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

◆ f_detName

G4String G4VPDigitsCollectionIO::f_detName
protected

Definition at line 74 of file G4VPDigitsCollectionIO.hh.

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

◆ m_verbose

G4int G4VPDigitsCollectionIO::m_verbose = 0
protected

Definition at line 73 of file G4VPDigitsCollectionIO.hh.

Referenced by SetVerboseLevel().


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