34#define G4HnManager_h 1
62 std::string_view functionName,
67 std::string_view functionName,
70 const std::vector<G4HnInformation*>&
GetHnVector()
const;
126 static constexpr std::string_view fkClass {
"G4HnManager" };
130 G4int fNofActiveObjects { 0 };
131 G4int fNofAsciiObjects { 0 };
132 G4int fNofPlottingObjects { 0 };
133 G4int fNofFileNameObjects { 0 };
136 std::vector<G4HnInformation*> fHnVector;
137 std::shared_ptr<G4VFileManager> fFileManager {
nullptr };
140 std::unique_ptr<G4HnMessenger> fMessenger;
144{
return G4int(fHnVector.size()); }
147{
return fNofActiveObjects; }
157 fFileManager = std::move(fileManager);
G4HnDimensionInformation * GetHnDimensionInformation(G4int id, G4int dimension, std::string_view functionName, G4bool warn=true) const
G4int GetNofActiveHns() const
G4bool GetPlotting(G4int id) const
G4bool SetAxisIsLog(unsigned int idim, G4int id, G4bool isLogAxis)
void SetActivation(G4bool activation)
void SetFileManager(std::shared_ptr< G4VFileManager > fileManager)
G4String GetFileName(G4int id) const
G4String GetName(G4int id) const
G4bool IsPlotting() const
void SetFileName(G4int id, const G4String &fileName)
G4bool GetActivation(G4int id) const
const std::vector< G4HnInformation * > & GetHnVector() const
G4bool GetAxisIsLog(unsigned int idim, G4int id) const
G4double GetUnit(unsigned int idim, G4int id) const
void SetAscii(G4int id, G4bool ascii)
G4String GetHnType() const
void SetPlotting(G4int id, G4bool plotting)
G4HnInformation * GetHnInformation(G4int id, std::string_view functionName, G4bool warn=true) const
G4bool GetAscii(G4int id) const
G4bool IsFileName() const
G4HnInformation * AddHnInformation(const G4String &name, G4int nofDimensions)