Geant4  10.02.p02
G4Parameter< T > Class Template Reference

#include <G4Parameter.hh>

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

Public Member Functions

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

Private Attributes

fValue
 
fInitValue
 

Additional Inherited Members

- Protected Attributes inherited from G4VParameter
G4String fName
 
G4MergeMode fMergeMode
 

Detailed Description

template<typename T>
class G4Parameter< T >

Definition at line 39 of file G4Parameter.hh.

Constructor & Destructor Documentation

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

Member Function Documentation

template<typename T>
T G4Parameter< T >::GetValue ( ) const

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

+ Here is the caller graph for this function:

template<typename T>
virtual void G4Parameter< T >::Merge ( const G4VParameter other)
finalvirtual

Implements G4VParameter.

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

Implements G4VParameter.

Member Data Documentation

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

Definition at line 67 of file G4Parameter.hh.

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

Definition at line 66 of file G4Parameter.hh.


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