32#define G4THnManager_h 1
92 typename std::vector<HT*>::iterator
BeginT();
93 typename std::vector<HT*>::iterator
EndT();
94 typename std::vector<HT*>::const_iterator
BeginConstT()
const;
95 typename std::vector<HT*>::const_iterator
EndConstT()
const;
99 std::string_view functionName,
101 G4bool onlyIfActive =
true)
const;
104 std::string_view functionName,
106 G4bool onlyIfActive =
true)
const;
116 G4bool success =
true)
const;
119 static constexpr std::string_view
fkClass {
"G4THnManager<T>" };
132#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
std::set< G4int > fFreeIds
G4int GetNofHns(G4bool onlyIfExist) 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
G4bool DeleteT(G4int id, G4bool keepSetting)
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