Geant4 9.6.0
Toolkit for the simulation of the passage of particles through matter
Loading...
Searching...
No Matches
G4VDigiCollection Class Reference

#include <G4VDigiCollection.hh>

+ Inheritance diagram for G4VDigiCollection:

Public Member Functions

 G4VDigiCollection ()
 
 G4VDigiCollection (G4String DMnam, G4String colNam)
 
virtual ~G4VDigiCollection ()
 
G4int operator== (const G4VDigiCollection &right) const
 
virtual void DrawAllDigi ()
 
virtual void PrintAllDigi ()
 
G4String GetName ()
 
G4String GetDMname ()
 
virtual G4VDigiGetDigi (size_t) const
 
virtual size_t GetSize () const
 

Protected Attributes

G4String collectionName
 
G4String DMname
 

Detailed Description

Definition at line 45 of file G4VDigiCollection.hh.

Constructor & Destructor Documentation

◆ G4VDigiCollection() [1/2]

G4VDigiCollection::G4VDigiCollection ( )

Definition at line 34 of file G4VDigiCollection.cc.

35{
36 collectionName = "Unknown";
37 DMname = "Unknown";
38}

◆ G4VDigiCollection() [2/2]

G4VDigiCollection::G4VDigiCollection ( G4String  DMnam,
G4String  colNam 
)

Definition at line 40 of file G4VDigiCollection.cc.

41{
42 collectionName = colNam;
43 DMname = DMnam;
44}

◆ ~G4VDigiCollection()

G4VDigiCollection::~G4VDigiCollection ( )
virtual

Definition at line 46 of file G4VDigiCollection.cc.

47{ ; }

Member Function Documentation

◆ DrawAllDigi()

void G4VDigiCollection::DrawAllDigi ( )
virtual

Reimplemented in G4TDigiCollection< T >.

Definition at line 55 of file G4VDigiCollection.cc.

56{;}

Referenced by G4Event::Draw().

◆ GetDigi()

virtual G4VDigi * G4VDigiCollection::GetDigi ( size_t  ) const
inlinevirtual

Reimplemented in G4TDigiCollection< T >.

Definition at line 72 of file G4VDigiCollection.hh.

72{ return 0; }

◆ GetDMname()

G4String G4VDigiCollection::GetDMname ( )
inline

Definition at line 65 of file G4VDigiCollection.hh.

66 { return DMname; };

◆ GetName()

G4String G4VDigiCollection::GetName ( )
inline

◆ GetSize()

virtual size_t G4VDigiCollection::GetSize ( ) const
inlinevirtual

Reimplemented in G4TDigiCollection< T >.

Definition at line 73 of file G4VDigiCollection.hh.

73{ return 0; }

Referenced by G4DigiModel::DescribeYourselfTo().

◆ operator==()

G4int G4VDigiCollection::operator== ( const G4VDigiCollection right) const

Definition at line 49 of file G4VDigiCollection.cc.

50{
51 return ((collectionName==right.collectionName)
52 &&(DMname==right.DMname));
53}

◆ PrintAllDigi()

void G4VDigiCollection::PrintAllDigi ( )
virtual

Reimplemented in G4TDigiCollection< T >.

Definition at line 58 of file G4VDigiCollection.cc.

59{;}

Member Data Documentation

◆ collectionName

G4String G4VDigiCollection::collectionName
protected

◆ DMname

G4String G4VDigiCollection::DMname
protected

Definition at line 60 of file G4VDigiCollection.hh.

Referenced by G4VDigiCollection(), GetDMname(), and operator==().


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