Geant4-11
Public Member Functions | Protected Member Functions | Protected Attributes | Static Protected Attributes
G4THnManager< HT > Class Template Reference

#include <G4THnManager.hh>

Public Member Functions

void AddTVector (const std::vector< HT * > &tVector)
 
void ClearData ()
 
 G4THnManager ()=delete
 
 G4THnManager (const G4AnalysisManagerState &state, const G4String &hnType)
 
HT * GetT (G4int id) const
 
G4bool IsEmpty () const
 
void Merge (G4Mutex &mergeMutex, G4THnManager< HT > *masterInstance)
 
G4int RegisterT (HT *t, const G4String &name)
 
G4bool Reset ()
 
virtual ~G4THnManager ()
 

Protected Member Functions

std::vector< HT * >::const_iterator BeginConstT () const
 
std::vector< HT * >::iterator BeginT ()
 
std::vector< HT * >::const_iterator EndConstT () const
 
std::vector< HT * >::iterator EndT ()
 
G4int GetTId (const G4String &name, G4bool warn=true) const
 
HT * GetTInFunction (G4int id, std::string_view functionName, G4bool warn=true, G4bool onlyIfActive=true) const
 
G4bool IsVerbose (G4int verboseLevel) const
 
void Message (G4int level, const G4String &action, const G4String &objectType, const G4String &objectName="", G4bool success=true) const
 

Protected Attributes

std::shared_ptr< G4HnManagerfHnManager { nullptr }
 
std::map< G4String, G4intfNameIdMap
 
const G4AnalysisManagerStatefState
 
std::vector< HT * > fTVector
 

Static Protected Attributes

static constexpr std::string_view fkClass { "G4THnManager<T>" }
 

Detailed Description

template<typename HT>
class G4THnManager< HT >

Definition at line 48 of file G4THnManager.hh.

Constructor & Destructor Documentation

◆ G4THnManager() [1/2]

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

◆ G4THnManager() [2/2]

template<typename HT >
G4THnManager< HT >::G4THnManager ( )
delete

◆ ~G4THnManager()

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

Member Function Documentation

◆ AddTVector()

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

◆ BeginConstT()

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

◆ BeginT()

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

◆ ClearData()

template<typename HT >
void G4THnManager< HT >::ClearData ( )

◆ EndConstT()

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

◆ EndT()

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

◆ GetT()

template<typename HT >
HT * G4THnManager< HT >::GetT ( G4int  id) const

◆ GetTId()

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

◆ GetTInFunction()

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

◆ IsEmpty()

template<typename HT >
G4bool G4THnManager< HT >::IsEmpty ( ) const

◆ IsVerbose()

template<typename HT >
G4bool G4THnManager< HT >::IsVerbose ( G4int  verboseLevel) const
protected

◆ Merge()

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

◆ Message()

template<typename HT >
void G4THnManager< HT >::Message ( G4int  level,
const G4String action,
const G4String objectType,
const G4String objectName = "",
G4bool  success = true 
) const
protected

◆ RegisterT()

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

◆ Reset()

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

Field Documentation

◆ fHnManager

template<typename HT >
std::shared_ptr<G4HnManager> G4THnManager< HT >::fHnManager { nullptr }
protected

Definition at line 105 of file G4THnManager.hh.

◆ fkClass

template<typename HT >
constexpr std::string_view G4THnManager< HT >::fkClass { "G4THnManager<T>" }
staticconstexprprotected

Definition at line 99 of file G4THnManager.hh.

◆ fNameIdMap

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

Definition at line 104 of file G4THnManager.hh.

◆ fState

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

Definition at line 102 of file G4THnManager.hh.

◆ fTVector

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

Definition at line 103 of file G4THnManager.hh.


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