31#ifndef G4THnToolsManager_h
32#define G4THnToolsManager_h 1
47template <
unsigned int DIM,
typename HT>
66 const std::array<G4HnDimension, DIM>& bins,
67 const std::array<G4HnDimensionInformation, DIM>& hnInfo)
override;
70 const std::array<G4HnDimension, DIM>& bins,
71 const std::array<G4HnDimensionInformation, DIM>& hnInfo)
override;
119 static constexpr std::string_view
fkClass {
"G4THnToolsManager" };
123 const std::array<G4HnDimensionInformation, DIM>& hnInfo);
126 const std::array<G4HnDimensionInformation, DIM>& hnInfo);
128 void AddAnnotation(HT* ht,
129 const std::array<G4HnDimensionInformation, DIM>& hnInfo);
135 HT* CreateToolsHT(
const G4String& title,
136 const std::array<G4HnDimension, DIM>& bins,
137 const std::array<G4HnDimensionInformation, DIM>& hnInfo);
139 void ConfigureToolsHT(HT* ht,
140 const std::array<G4HnDimension, DIM>& bins,
141 const std::array<G4HnDimensionInformation, DIM>& hnInfo);
144 std::array<G4double, DIM>& value,
148 static const std::array<std::string, G4Analysis::kMaxDim> fkKeyAxisTitle;
150 std::unique_ptr<G4UImessenger> fMessenger;
156#include "G4THnToolsManager.icc"
157#include "G4THnMessenger.icc"
G4THnManager(const G4AnalysisManagerState &state)
HT * GetTInFunction(G4int id, std::string_view functionName, G4bool warn=true, G4bool onlyIfActive=true) const
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)
G4int GetTId(const G4String &name, G4bool warn=true) const
void Message(G4int level, const G4String &action, const G4String &objectType, const G4String &objectName="", G4bool success=true) const
G4bool IsVerbose(G4int verboseLevel) const
G4VTBaseHnManager()=default