Geant4 11.2.2
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 ()=default
 
 G4VDigiCollection (G4String DMnam, G4String colNam)
 
virtual ~G4VDigiCollection ()=default
 
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 = "Unknown"
 
G4String DMname = "Unknown"
 

Detailed Description

Definition at line 45 of file G4VDigiCollection.hh.

Constructor & Destructor Documentation

◆ G4VDigiCollection() [1/2]

G4VDigiCollection::G4VDigiCollection ( )
default

◆ G4VDigiCollection() [2/2]

G4VDigiCollection::G4VDigiCollection ( G4String DMnam,
G4String colNam )

Definition at line 33 of file G4VDigiCollection.cc.

34 : collectionName(colNam), DMname(DMnam)
35{}

◆ ~G4VDigiCollection()

virtual G4VDigiCollection::~G4VDigiCollection ( )
virtualdefault

Member Function Documentation

◆ DrawAllDigi()

virtual void G4VDigiCollection::DrawAllDigi ( )
inlinevirtual

Reimplemented in G4TDigiCollection< T >.

Definition at line 53 of file G4VDigiCollection.hh.

53{};

Referenced by G4Event::Draw().

◆ GetDigi()

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

Reimplemented in G4TDigiCollection< T >.

Definition at line 62 of file G4VDigiCollection.hh.

62{ return nullptr; }

Referenced by G4DigiModel::DescribeYourselfTo().

◆ GetDMname()

const G4String & G4VDigiCollection::GetDMname ( ) const
inline

Definition at line 57 of file G4VDigiCollection.hh.

57{ return DMname; }

◆ GetName()

const G4String & G4VDigiCollection::GetName ( ) const
inline

◆ GetSize()

virtual size_t G4VDigiCollection::GetSize ( ) const
inlinevirtual

Reimplemented in G4TDigiCollection< T >.

Definition at line 63 of file G4VDigiCollection.hh.

63{ return 0; }

Referenced by G4DigiModel::DescribeYourselfTo().

◆ operator==()

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

Definition at line 37 of file G4VDigiCollection.cc.

38{
39 return ((collectionName == right.collectionName) && (DMname == right.DMname));
40}

◆ PrintAllDigi()

virtual void G4VDigiCollection::PrintAllDigi ( )
inlinevirtual

Reimplemented in G4TDigiCollection< T >.

Definition at line 54 of file G4VDigiCollection.hh.

54{};

Member Data Documentation

◆ collectionName

G4String G4VDigiCollection::collectionName = "Unknown"
protected

Definition at line 67 of file G4VDigiCollection.hh.

Referenced by GetName(), G4TDigiCollection< T >::operator==(), and operator==().

◆ DMname

G4String G4VDigiCollection::DMname = "Unknown"
protected

Definition at line 68 of file G4VDigiCollection.hh.

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


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