32#define G4VH1Manager_h 1
61 const G4String& binSchemeName =
"linear") = 0;
63 const std::vector<G4double>& edges,
65 const G4String& fcnName =
"none") = 0;
71 const G4String& binSchemeName =
"linear") = 0;
73 const std::vector<G4double>& edges,
75 const G4String& fcnName =
"none") = 0;
virtual G4bool SetH1XAxisTitle(G4int id, const G4String &title)=0
virtual G4double GetH1Width(G4int id) const =0
virtual G4int CreateH1(const G4String &name, const G4String &title, const std::vector< G4double > &edges, const G4String &unitName="none", const G4String &fcnName="none")=0
virtual G4bool SetH1Title(G4int id, const G4String &title)=0
virtual G4bool SetH1(G4int id, G4int nbins, G4double xmin, G4double xmax, const G4String &unitName="none", const G4String &fcnName="none", const G4String &binSchemeName="linear")=0
virtual G4double GetH1Xmin(G4int id) const =0
virtual G4bool WriteOnAscii(std::ofstream &output)=0
virtual G4bool ScaleH1(G4int id, G4double factor)=0
virtual ~G4VH1Manager()=default
virtual G4double GetH1Xmax(G4int id) const =0
virtual G4String GetH1Title(G4int id) const =0
virtual G4bool SetH1(G4int id, const std::vector< G4double > &edges, const G4String &unitName="none", const G4String &fcnName="none")=0
virtual G4String GetH1YAxisTitle(G4int id) const =0
virtual G4bool SetH1YAxisTitle(G4int id, const G4String &title)=0
G4VH1Manager & operator=(const G4VH1Manager &rhs)=delete
virtual G4bool FillH1(G4int id, G4double value, G4double weight=1.0)=0
virtual G4String GetH1XAxisTitle(G4int id) const =0
G4VH1Manager(const G4VH1Manager &rhs)=delete
virtual G4int CreateH1(const G4String &name, const G4String &title, G4int nbins, G4double xmin, G4double xmax, const G4String &unitName="none", const G4String &fcnName="none", const G4String &binSchemeName="linear")=0
virtual std::shared_ptr< G4HnManager > GetHnManager()=0
virtual G4int GetH1Nbins(G4int id) const =0
virtual G4int GetH1Id(const G4String &name, G4bool warn=true) const =0
const char * name(G4int ptype)