Geant4 10.7.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 ()
 
G4bool operator== (const G4VDigiCollection &right) const
 
virtual void DrawAllDigi ()
 
virtual void PrintAllDigi ()
 
const G4StringGetName () const
 
const G4StringGetDMname () const
 
virtual G4VDigiGetDigi (size_t) const
 
virtual size_t GetSize () const
 

Protected Attributes

G4String collectionName
 
G4String DMname
 

Detailed Description

Definition at line 44 of file G4VDigiCollection.hh.

Constructor & Destructor Documentation

◆ G4VDigiCollection() [1/2]

G4VDigiCollection::G4VDigiCollection ( )

Definition at line 33 of file G4VDigiCollection.cc.

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

◆ G4VDigiCollection() [2/2]

G4VDigiCollection::G4VDigiCollection ( G4String  DMnam,
G4String  colNam 
)

Definition at line 39 of file G4VDigiCollection.cc.

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

◆ ~G4VDigiCollection()

G4VDigiCollection::~G4VDigiCollection ( )
virtual

Definition at line 45 of file G4VDigiCollection.cc.

46{ ; }

Member Function Documentation

◆ DrawAllDigi()

void G4VDigiCollection::DrawAllDigi ( )
virtual

Reimplemented in G4TDigiCollection< T >.

Definition at line 54 of file G4VDigiCollection.cc.

55{;}

Referenced by G4Event::Draw().

◆ GetDigi()

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

Reimplemented in G4TDigiCollection< T >.

Definition at line 71 of file G4VDigiCollection.hh.

71{ return 0; }

◆ GetDMname()

const G4String & G4VDigiCollection::GetDMname ( ) const
inline

Definition at line 64 of file G4VDigiCollection.hh.

65 { return DMname; }

◆ GetName()

const G4String & G4VDigiCollection::GetName ( ) const
inline

◆ GetSize()

virtual size_t G4VDigiCollection::GetSize ( ) const
inlinevirtual

Reimplemented in G4TDigiCollection< T >.

Definition at line 72 of file G4VDigiCollection.hh.

72{ return 0; }

Referenced by G4DigiModel::DescribeYourselfTo().

◆ operator==()

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

Definition at line 48 of file G4VDigiCollection.cc.

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

◆ PrintAllDigi()

void G4VDigiCollection::PrintAllDigi ( )
virtual

Reimplemented in G4TDigiCollection< T >.

Definition at line 57 of file G4VDigiCollection.cc.

58{;}

Member Data Documentation

◆ collectionName

G4String G4VDigiCollection::collectionName
protected

◆ DMname

G4String G4VDigiCollection::DMname
protected

Definition at line 59 of file G4VDigiCollection.hh.

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


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