ECCE @ EIC Software
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
G4Accumulable< T > Class Template Reference

#include <geant4/tree/geant4-10.6-release/source/analysis/accumulables/include/G4Accumulable.hh>

+ Inheritance diagram for G4Accumulable< T >:
+ Collaboration diagram for G4Accumulable< T >:

Public Member Functions

 G4Accumulable (const G4String &name, T initValue, G4MergeMode mergeMode=G4MergeMode::kAddition)
 
 G4Accumulable (T initValue, G4MergeMode mergeMode=G4MergeMode::kAddition)
 
 G4Accumulable (const G4Accumulable &rhs)
 
 G4Accumulable ()=delete
 
virtual ~G4Accumulable ()
 
G4Accumulable< T > & operator= (const G4Accumulable< T > &rhs)
 
G4Accumulable< T > & operator+= (const G4Accumulable< T > &rhs)
 
G4Accumulable< T > & operator*= (const G4Accumulable< T > &rhs)
 
G4Accumulable< Toperator++ (int)
 
G4Accumulable< T > & operator++ ()
 
G4Accumulable< T > & operator= (const T &rhs)
 
G4Accumulable< T > & operator+= (const T &rhs)
 
G4Accumulable< T > & operator*= (const T &rhs)
 
virtual void Merge (const G4VAccumulable &other) final
 
virtual void Reset () final
 
T GetValue () const
 
G4MergeMode GetMergeMode () const
 
- Public Member Functions inherited from G4VAccumulable
 G4VAccumulable (const G4String &name="")
 
 G4VAccumulable (const G4VAccumulable &rhs)
 
virtual ~G4VAccumulable ()
 
G4VAccumulableoperator= (const G4VAccumulable &rhs)
 
G4String GetName () const
 

Private Attributes

T fValue
 
T fInitValue
 
G4MergeMode fMergeMode
 
G4MergeFunction< TfMergeFunction
 

Additional Inherited Members

- Protected Attributes inherited from G4VAccumulable
G4String fName
 

Detailed Description

template<typename T>
class G4Accumulable< T >

Definition at line 40 of file G4Accumulable.hh.

View newest version in sPHENIX GitHub at line 40 of file G4Accumulable.hh

Constructor & Destructor Documentation

template<typename T>
G4Accumulable< T >::G4Accumulable ( const G4String name,
T  initValue,
G4MergeMode  mergeMode = G4MergeMode::kAddition 
)
template<typename T>
G4Accumulable< T >::G4Accumulable ( T  initValue,
G4MergeMode  mergeMode = G4MergeMode::kAddition 
)
template<typename T>
G4Accumulable< T >::G4Accumulable ( const G4Accumulable< T > &  rhs)
template<typename T>
G4Accumulable< T >::G4Accumulable ( )
delete
template<typename T>
virtual G4Accumulable< T >::~G4Accumulable ( )
virtual

Member Function Documentation

template<typename T>
G4MergeMode G4Accumulable< T >::GetMergeMode ( ) const
template<typename T>
T G4Accumulable< T >::GetValue ( ) const

Referenced by B3aRunAction::EndOfRunAction(), and B1RunAction::EndOfRunAction().

+ Here is the caller graph for this function:

template<typename T>
virtual void G4Accumulable< T >::Merge ( const G4VAccumulable other)
finalvirtual

Implements G4VAccumulable.

template<typename T>
G4Accumulable<T>& G4Accumulable< T >::operator*= ( const G4Accumulable< T > &  rhs)
template<typename T>
G4Accumulable<T>& G4Accumulable< T >::operator*= ( const T rhs)
template<typename T>
G4Accumulable<T> G4Accumulable< T >::operator++ ( int  )
template<typename T>
G4Accumulable<T>& G4Accumulable< T >::operator++ ( )
template<typename T>
G4Accumulable<T>& G4Accumulable< T >::operator+= ( const G4Accumulable< T > &  rhs)
template<typename T>
G4Accumulable<T>& G4Accumulable< T >::operator+= ( const T rhs)
template<typename T>
G4Accumulable<T>& G4Accumulable< T >::operator= ( const G4Accumulable< T > &  rhs)
template<typename T>
G4Accumulable<T>& G4Accumulable< T >::operator= ( const T rhs)
template<typename T>
virtual void G4Accumulable< T >::Reset ( )
finalvirtual

Implements G4VAccumulable.

Member Data Documentation

template<typename T>
T G4Accumulable< T >::fInitValue
private

Definition at line 73 of file G4Accumulable.hh.

View newest version in sPHENIX GitHub at line 73 of file G4Accumulable.hh

template<typename T>
G4MergeFunction<T> G4Accumulable< T >::fMergeFunction
private

Definition at line 75 of file G4Accumulable.hh.

View newest version in sPHENIX GitHub at line 75 of file G4Accumulable.hh

template<typename T>
G4MergeMode G4Accumulable< T >::fMergeMode
private

Definition at line 74 of file G4Accumulable.hh.

View newest version in sPHENIX GitHub at line 74 of file G4Accumulable.hh

template<typename T>
T G4Accumulable< T >::fValue
private

Definition at line 72 of file G4Accumulable.hh.

View newest version in sPHENIX GitHub at line 72 of file G4Accumulable.hh


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