Geant4 11.3.0
Toolkit for the simulation of the passage of particles through matter
Loading...
Searching...
No Matches
G4VAccumulable Class Referenceabstract

#include <G4VAccumulable.hh>

+ Inheritance diagram for G4VAccumulable:

Public Member Functions

 G4VAccumulable (G4MergeMode mergeMode=G4MergeMode::kAddition)
 
 G4VAccumulable (const G4String &name, G4MergeMode mergeMode=G4MergeMode::kAddition)
 
 G4VAccumulable (const G4VAccumulable &rhs)=default
 
 G4VAccumulable (G4VAccumulable &&rhs)=default
 
virtual ~G4VAccumulable ()=default
 
G4VAccumulableoperator= (const G4VAccumulable &rhs)=default
 
G4VAccumulableoperator= (G4VAccumulable &&rhs)=default
 
virtual void Merge (const G4VAccumulable &other)=0
 
virtual void Reset ()=0
 
virtual void Print (G4PrintOptions options=G4PrintOptions()) const
 
virtual void SetMergeMode (G4MergeMode value)
 
void SetName (const G4String &name)
 
void SetId (G4int id)
 
G4String GetName () const
 
G4MergeMode GetMergeMode () const
 
G4int GetId () const
 
virtual G4AccType GetType () const
 

Protected Member Functions

void PrintBase (G4PrintOptions options) const
 

Protected Attributes

G4String fName
 
G4MergeMode fMergeMode = G4MergeMode::kAddition
 
G4int fId = G4Accumulables::kInvalidId
 

Detailed Description

Definition at line 39 of file G4VAccumulable.hh.

Constructor & Destructor Documentation

◆ G4VAccumulable() [1/4]

◆ G4VAccumulable() [2/4]

G4VAccumulable::G4VAccumulable ( const G4String & name,
G4MergeMode mergeMode = G4MergeMode::kAddition )

◆ G4VAccumulable() [3/4]

G4VAccumulable::G4VAccumulable ( const G4VAccumulable & rhs)
default

◆ G4VAccumulable() [4/4]

G4VAccumulable::G4VAccumulable ( G4VAccumulable && rhs)
default

◆ ~G4VAccumulable()

virtual G4VAccumulable::~G4VAccumulable ( )
virtualdefault

Member Function Documentation

◆ GetId()

G4int G4VAccumulable::GetId ( ) const

◆ GetMergeMode()

G4MergeMode G4VAccumulable::GetMergeMode ( ) const

◆ GetName()

G4String G4VAccumulable::GetName ( ) const

◆ GetType()

virtual G4AccType G4VAccumulable::GetType ( ) const
inlinevirtual

◆ Merge()

◆ operator=() [1/2]

G4VAccumulable & G4VAccumulable::operator= ( const G4VAccumulable & rhs)
default

◆ operator=() [2/2]

G4VAccumulable & G4VAccumulable::operator= ( G4VAccumulable && rhs)
default

◆ Print()

◆ PrintBase()

void G4VAccumulable::PrintBase ( G4PrintOptions options) const
protected

◆ Reset()

◆ SetId()

void G4VAccumulable::SetId ( G4int id)

◆ SetMergeMode()

◆ SetName()

void G4VAccumulable::SetName ( const G4String & name)

Member Data Documentation

◆ fId

G4int G4VAccumulable::fId = G4Accumulables::kInvalidId
protected

Definition at line 75 of file G4VAccumulable.hh.

◆ fMergeMode

G4MergeMode G4VAccumulable::fMergeMode = G4MergeMode::kAddition
protected

Definition at line 74 of file G4VAccumulable.hh.

◆ fName

G4String G4VAccumulable::fName
protected

Definition at line 73 of file G4VAccumulable.hh.


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