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;
106 virtual const std::shared_ptr<G4HnManager>
GetHnManager()
const override;
117 static constexpr std::string_view
fkClass {
"G4THnToolsManager" };
121 const std::array<G4HnDimensionInformation, DIM>& hnInfo);
124 const std::array<G4HnDimensionInformation, DIM>& hnInfo);
126 void AddAnnotation(HT* ht,
127 const std::array<G4HnDimensionInformation, DIM>& hnInfo);
133 HT* CreateToolsHT(
const G4String& title,
134 const std::array<G4HnDimension, DIM>& bins,
135 const std::array<G4HnDimensionInformation, DIM>& hnInfo);
137 void ConfigureToolsHT(HT* ht,
138 const std::array<G4HnDimension, DIM>& bins,
139 const std::array<G4HnDimensionInformation, DIM>& hnInfo);
142 std::array<G4double, DIM>& value,
146 static const std::array<std::string, G4Analysis::kMaxDim> fkKeyAxisTitle;
148 std::unique_ptr<G4UImessenger> fMessenger;
154#include "G4THnToolsManager.icc"
155#include "G4THnMessenger.icc"
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