Geant4-11
Public Member Functions | Protected Attributes
G4VDigiCollection Class Reference

#include <G4VDigiCollection.hh>

Inheritance diagram for G4VDigiCollection:
G4DigiCollection G4TDigiCollection< T >

Public Member Functions

virtual void DrawAllDigi ()
 
 G4VDigiCollection ()
 
 G4VDigiCollection (G4String DMnam, G4String colNam)
 
virtual G4VDigiGetDigi (size_t) const
 
const G4StringGetDMname () const
 
const G4StringGetName () const
 
virtual size_t GetSize () const
 
G4bool operator== (const G4VDigiCollection &right) const
 
virtual void PrintAllDigi ()
 
virtual ~G4VDigiCollection ()
 

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}

References collectionName, and DMname.

◆ 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}

References collectionName, and DMname.

◆ ~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; }

◆ GetDMname()

const G4String & G4VDigiCollection::GetDMname ( ) const
inline

Definition at line 62 of file G4VDigiCollection.hh.

62{ return DMname; }

References 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}

References collectionName, and DMname.

◆ PrintAllDigi()

void G4VDigiCollection::PrintAllDigi ( )
virtual

Reimplemented in G4TDigiCollection< T >.

Definition at line 54 of file G4VDigiCollection.cc.

54{ ; }

Field 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: