34#define G4HnManager_h 1
66 std::string_view functionName,
71 std::string_view functionName,
74 const std::vector<G4HnInformation*>&
GetHnVector()
const;
130 static constexpr std::string_view fkClass {
"G4HnManager" };
135 G4int fNofActiveObjects { 0 };
136 G4int fNofAsciiObjects { 0 };
137 G4int fNofPlottingObjects { 0 };
138 G4int fNofFileNameObjects { 0 };
141 std::vector<G4HnInformation*> fHnVector;
142 std::set<G4int> fFreeIds;
143 std::shared_ptr<G4VFileManager> fFileManager {
nullptr };
146 std::unique_ptr<G4HnMessenger> fMessenger;
150{
return fNofActiveObjects; }
160 fFileManager = std::move(fileManager);
165 fDefaultFileType = fileType;
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 SetDefaultFileType(const G4String &fileType)
void SetFileManager(std::shared_ptr< G4VFileManager > fileManager)
G4String GetFileName(G4int id) const
void SetHnDeleted(G4HnInformation *info, G4bool keepSetting)
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
void AddHnInformation(G4HnInformation *info)
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