32#define G4THnManager_h 1
87 typename std::vector<HT*>::iterator
BeginT();
88 typename std::vector<HT*>::iterator
EndT();
89 typename std::vector<HT*>::const_iterator
BeginConstT()
const;
90 typename std::vector<HT*>::const_iterator
EndConstT()
const;
94 std::string_view functionName,
96 G4bool onlyIfActive =
true)
const;
99 std::string_view functionName,
101 G4bool onlyIfActive =
true)
const;
111 G4bool success =
true)
const;
114 static constexpr std::string_view
fkClass {
"G4THnManager<T>" };
126#include "G4THnManager.icc"
G4THnManager(const G4AnalysisManagerState &state)
std::vector< HT * >::const_iterator BeginConstT() const
std::vector< HT * > fTVector
const std::vector< HT * > & GetTVectorRef() const
HT * GetTInFunction(G4int id, std::string_view functionName, G4bool warn=true, G4bool onlyIfActive=true) const
void Merge(G4Mutex &mergeMutex, G4THnManager< HT > *masterInstance)
std::pair< HT *, G4HnInformation * > GetTHnInFunction(G4int id, std::string_view functionName, G4bool warn=true, G4bool onlyIfActive=true) const
G4int RegisterT(const G4String &name, HT *ht, G4HnInformation *info=nullptr)
G4bool List(std::ostream &output, G4bool onlyIfActive) const
std::map< G4String, G4int > fNameIdMap
const G4AnalysisManagerState & fState
std::vector< HT * >::iterator EndT()
static constexpr std::string_view fkClass
std::vector< std::pair< HT *, G4HnInformation * > > fTHnVector
G4int GetTId(const G4String &name, G4bool warn=true) const
HT * GetT(G4int id, G4bool warn=true, G4bool onlyIfActive=true) const
std::vector< HT * >::iterator BeginT()
std::vector< HT * > * GetTVector()
std::vector< std::pair< HT *, G4HnInformation * > > * GetTHnVector()
void AddTVector(const std::vector< HT * > &tVector)
void Message(G4int level, const G4String &action, const G4String &objectType, const G4String &objectName="", G4bool success=true) const
std::shared_ptr< G4HnManager > fHnManager
G4bool IsVerbose(G4int verboseLevel) const
const std::vector< std::pair< HT *, G4HnInformation * > > & GetTHnVectorRef() const
std::vector< HT * >::const_iterator EndConstT() const