Geant4 10.7.0
Toolkit for the simulation of the passage of particles through matter
Loading...
Searching...
No Matches
G4THnManager< T > Class Template Reference

#include <G4THnManager.hh>

Public Member Functions

 G4THnManager (const G4AnalysisManagerState &state, const G4String &hnType)
 
virtual ~G4THnManager ()
 
G4bool Reset ()
 
G4bool IsEmpty () const
 
void AddTVector (const std::vector< T * > &tVector)
 
void Merge (G4Mutex &mergeMutex, G4THnManager< T > *masterInstance)
 

Protected Member Functions

std::vector< T * >::iterator BeginT ()
 
std::vector< T * >::iterator EndT ()
 
std::vector< T * >::const_iterator BeginConstT () const
 
std::vector< T * >::const_iterator EndConstT () const
 
T * GetTInFunction (G4int id, G4String functionName, G4bool warn=true, G4bool onlyIfActive=true) const
 
G4int RegisterT (T *t, const G4String &name)
 
G4int GetTId (const G4String &name, G4bool warn=true) const
 

Protected Attributes

const G4AnalysisManagerStatefState
 
std::vector< T * > fTVector
 
std::map< G4String, G4intfNameIdMap
 
std::shared_ptr< G4HnManagerfHnManager
 

Detailed Description

template<typename T>
class G4THnManager< T >

Definition at line 47 of file G4THnManager.hh.

Constructor & Destructor Documentation

◆ G4THnManager()

template<typename T >
G4THnManager< T >::G4THnManager ( const G4AnalysisManagerState state,
const G4String hnType 
)

◆ ~G4THnManager()

template<typename T >
virtual G4THnManager< T >::~G4THnManager ( )
virtual

Member Function Documentation

◆ AddTVector()

template<typename T >
void G4THnManager< T >::AddTVector ( const std::vector< T * > &  tVector)

◆ BeginConstT()

template<typename T >
std::vector< T * >::const_iterator G4THnManager< T >::BeginConstT ( ) const
protected

◆ BeginT()

template<typename T >
std::vector< T * >::iterator G4THnManager< T >::BeginT ( )
protected

◆ EndConstT()

template<typename T >
std::vector< T * >::const_iterator G4THnManager< T >::EndConstT ( ) const
protected

◆ EndT()

template<typename T >
std::vector< T * >::iterator G4THnManager< T >::EndT ( )
protected

◆ GetTId()

template<typename T >
G4int G4THnManager< T >::GetTId ( const G4String name,
G4bool  warn = true 
) const
protected

◆ GetTInFunction()

template<typename T >
T * G4THnManager< T >::GetTInFunction ( G4int  id,
G4String  functionName,
G4bool  warn = true,
G4bool  onlyIfActive = true 
) const
protected

◆ IsEmpty()

◆ Merge()

template<typename T >
void G4THnManager< T >::Merge ( G4Mutex mergeMutex,
G4THnManager< T > *  masterInstance 
)

◆ RegisterT()

template<typename T >
G4int G4THnManager< T >::RegisterT ( T *  t,
const G4String name 
)
protected

◆ Reset()

template<typename T >
G4bool G4THnManager< T >::Reset ( )

Member Data Documentation

◆ fHnManager

template<typename T >
std::shared_ptr<G4HnManager> G4THnManager< T >::fHnManager
protected

Definition at line 85 of file G4THnManager.hh.

◆ fNameIdMap

template<typename T >
std::map<G4String, G4int> G4THnManager< T >::fNameIdMap
protected

Definition at line 84 of file G4THnManager.hh.

◆ fState

template<typename T >
const G4AnalysisManagerState& G4THnManager< T >::fState
protected

Definition at line 82 of file G4THnManager.hh.

◆ fTVector

template<typename T >
std::vector<T*> G4THnManager< T >::fTVector
protected

Definition at line 83 of file G4THnManager.hh.


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