30#ifndef G4VAnalysisManager_h
31#define G4VAnalysisManager_h 1
71 const G4String& fcnName =
"none") = 0;
78 const G4String& yfcnName =
"none") = 0;
83 const G4String& fcnName =
"none") = 0;
90 const G4String& yfcnName =
"none") = 0;
262 G4int fNofActiveObjects;
263 G4int fNofAsciiObjects;
266 std::vector<G4HnInformation*> fH1Informations;
267 std::vector<G4HnInformation*> fH2Informations;
301 return fH1Informations.size();
305 return fH2Informations.size();
G4double(* G4Fcn)(G4double)
virtual G4int GetVerboseLevel() const
virtual G4int GetNofH1s() const
G4double GetUnitValue(const G4String &unit) const
virtual G4bool AddNtupleRow()=0
G4bool GetActivation() const
virtual G4double GetH1Width(G4int id) const =0
virtual G4double GetH1Xmin(G4int id) const =0
virtual ~G4VAnalysisManager()
void AddH1Information(const G4String &name, const G4String &unitName, const G4String &fcnName, G4double unit, G4Fcn fx)
G4int fFirstNtupleColumnId
virtual G4String GetH2ZAxisTitle(G4int id) const =0
G4AnalysisVerbose * fpVerboseL4
virtual G4bool FillH2(G4int id, G4double xvalue, G4double yvalue, G4double weight=1.0)=0
G4String GetH1Name(G4int id) const
void AddH2Information(const G4String &name, const G4String &xunitName, const G4String &yunitName, const G4String &xfcnName, const G4String &yfcnName, G4double xunit, G4double yunit, G4Fcn fx, G4Fcn fy)
void SetAscii(ObjectType type, G4int id, G4bool ascii)
G4double GetH2XUnit(G4int id) const
G4AnalysisVerbose fVerboseL2
G4String GetH2Name(G4int id) const
G4bool fLockFirstNtupleColumnId
virtual G4String GetHistoDirectoryName() const
G4bool fLockNtupleDirectoryName
virtual G4bool OpenFile(const G4String &fileName)=0
G4AnalysisVerbose * fpVerboseL2
virtual G4String GetH1Title(G4int id) const =0
G4HnInformation * GetH2Information(G4int id) const
G4double GetYUnit(ObjectType type, G4int id) const
G4String fHistoDirectoryName
G4HnInformation * GetInformation(ObjectType type, G4int id) const
virtual G4int GetH1Nbins(G4int id) const =0
G4double GetH2YUnit(G4int id) const
G4AnalysisVerbose fVerboseL3
G4AnalysisVerbose * fpVerboseL3
virtual G4bool FillNtupleDColumn(G4int id, G4double value)=0
void SetActivation(G4bool activation)
virtual G4bool SetFirstNtupleColumnId(G4int firstId)
virtual G4String GetFileName() const
virtual G4int CreateNtupleDColumn(const G4String &name)=0
virtual G4bool SetH2ZAxisTitle(G4int id, const G4String &title)=0
virtual G4int CreateH1(const G4String &name, const G4String &title, G4int nbins, G4double xmin, G4double xmax, const G4String &unitName="none", const G4String &fcnName="none")=0
virtual G4String GetH1XAxisTitle(G4int id) const =0
G4bool GetH1Activation(G4int id) const
G4AnalysisVerbose fVerboseL4
G4bool GetH2Activation(G4int id) const
virtual G4bool SetH1(G4int id, G4int nbins, G4double xmin, G4double xmax, const G4String &unitName="none", const G4String &fcnName="none")=0
G4HnInformation * GetH1Information(G4int id) const
virtual G4bool ScaleH2(G4int id, G4double factor)=0
virtual G4bool SetH2Title(G4int id, const G4String &title)=0
virtual G4int GetH2Nybins(G4int id) const =0
virtual G4bool SetH1Title(G4int id, const G4String &title)=0
virtual G4bool SetH1YAxisTitle(G4int id, const G4String &title)=0
virtual G4int GetH2Nxbins(G4int id) const =0
virtual G4bool SetHistoDirectoryName(const G4String &dirName)
virtual void CreateNtuple(const G4String &name, const G4String &title)=0
G4bool GetH2Ascii(G4int id) const
G4bool fLockHistoDirectoryName
virtual void FinishNtuple()=0
virtual G4bool SetH1XAxisTitle(G4int id, const G4String &title)=0
virtual G4double GetH2Ymin(G4int id) const =0
G4String fNtupleDirectoryName
virtual G4bool FillNtupleIColumn(G4int id, G4int value)=0
G4double GetH1Unit(G4int id) const
virtual G4bool OpenFile()
G4AnalysisVerbose * fpVerboseL1
virtual void SetVerboseLevel(G4int verboseLevel)
G4bool GetAscii(ObjectType type, G4int id) const
virtual G4bool WriteOnAscii(std::ofstream &output)=0
virtual G4double GetH2XWidth(G4int id) const =0
G4String GetName(ObjectType type, G4int id) const
virtual G4double GetH2Xmax(G4int id) const =0
G4double GetXUnit(ObjectType type, G4int id) const
G4String GetFileType() const
virtual G4bool FillH1(G4int id, G4double value, G4double weight=1.0)=0
virtual G4int CreateNtupleFColumn(const G4String &name)=0
virtual G4bool SetFileName(const G4String &fileName)
virtual G4bool SetH2YAxisTitle(G4int id, const G4String &title)=0
virtual G4double GetH2YWidth(G4int id) const =0
virtual G4bool CloseFile()=0
virtual G4String GetNtupleDirectoryName() const
virtual G4String GetH1YAxisTitle(G4int id) const =0
virtual G4bool SetFirstHistoId(G4int firstId)
virtual G4double GetH2Xmin(G4int id) const =0
virtual G4bool SetNtupleDirectoryName(const G4String &dirName)
virtual G4String GetH2Title(G4int id) const =0
virtual G4String GetFullFileName() const
virtual G4bool FillNtupleFColumn(G4int id, G4float value)=0
virtual G4String GetH2YAxisTitle(G4int id) const =0
virtual G4double GetH1Xmax(G4int id) const =0
virtual G4bool SetH2(G4int id, G4int nxbins, G4double xmin, G4double xmax, G4int nybins, G4double ymin, G4double ymax, const G4String &xunitName="none", const G4String &yunitName="none", const G4String &xfcnName="none", const G4String &yfcnName="none")=0
virtual G4bool ScaleH1(G4int id, G4double factor)=0
virtual G4bool SetH2XAxisTitle(G4int id, const G4String &title)=0
virtual G4int CreateH2(const G4String &name, const G4String &title, G4int nxbins, G4double xmin, G4double xmax, G4int nybins, G4double ymin, G4double ymax, const G4String &xunitName="none", const G4String &yunitName="none", const G4String &xfcnName="none", const G4String &yfcnName="none")=0
G4AnalysisVerbose fVerboseL1
G4Fcn GetFunction(const G4String &fcnName) const
virtual G4int CreateNtupleIColumn(const G4String &name)=0
virtual G4int GetNofH2s() const
G4bool GetH1Ascii(G4int id) const
virtual G4double GetH2Ymax(G4int id) const =0
virtual G4String GetH2XAxisTitle(G4int id) const =0