Geant4 11.1.1
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.

45{ ; }

Member Function Documentation

◆ DrawAllDigi()

void G4VDigiCollection::DrawAllDigi ( )
virtual

Reimplemented in G4TDigiCollection< T >.

Definition at line 52 of file G4VDigiCollection.cc.

52{ ; }

Referenced by G4Event::Draw().

◆ GetDigi()

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

Reimplemented in G4TDigiCollection< T >.

Definition at line 68 of file G4VDigiCollection.hh.

68{ return 0; }

Referenced by G4DigiModel::DescribeYourselfTo().

◆ GetDMname()

const G4String & G4VDigiCollection::GetDMname ( ) const
inline

Definition at line 62 of file G4VDigiCollection.hh.

62{ return DMname; }

◆ GetName()

const G4String & G4VDigiCollection::GetName ( ) const
inline

◆ GetSize()

virtual size_t G4VDigiCollection::GetSize ( ) const
inlinevirtual

Reimplemented in G4TDigiCollection< T >.

Definition at line 69 of file G4VDigiCollection.hh.

69{ return 0; }

Referenced by G4DigiModel::DescribeYourselfTo().

◆ operator==()

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

Definition at line 47 of file G4VDigiCollection.cc.

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

◆ PrintAllDigi()

void G4VDigiCollection::PrintAllDigi ( )
virtual

Reimplemented in G4TDigiCollection< T >.

Definition at line 54 of file G4VDigiCollection.cc.

54{ ; }

Member Data Documentation

◆ collectionName

G4String G4VDigiCollection::collectionName
protected

◆ DMname

G4String G4VDigiCollection::DMname
protected

Definition at line 58 of file G4VDigiCollection.hh.

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


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