38 #ifndef G4VAnalysisManager_h
39 #define G4VAnalysisManager_h 1
96 const G4String& binSchemeName =
"linear");
99 const std::vector<G4double>& edges,
110 const G4String& xbinSchemeName =
"linear",
111 const G4String& ybinSchemeName =
"linear");
114 const std::vector<G4double>& xedges,
115 const std::vector<G4double>& yedges,
131 const G4String& xbinSchemeName =
"linear",
132 const G4String& ybinSchemeName =
"linear",
133 const G4String& zbinSchemeName =
"linear");
136 const std::vector<G4double>& xedges,
137 const std::vector<G4double>& yedges,
138 const std::vector<G4double>& zedges,
150 const G4String& binSchemeName =
"linear");
153 const std::vector<G4double>& edges,
164 const G4String& xbinSchemeName =
"linear",
165 const G4String& ybinSchemeName =
"linear");
168 const std::vector<G4double>& xedges,
169 const std::vector<G4double>& yedges,
185 const G4String& xbinSchemeName =
"linear",
186 const G4String& ybinSchemeName =
"linear",
187 const G4String& zbinSchemeName =
"linear");
190 const std::vector<G4double>& xedges,
191 const std::vector<G4double>& yedges,
192 const std::vector<G4double>& zedges,
213 const G4String& xbinSchemeName =
"linear");
215 const std::vector<G4double>& edges,
232 const G4String& xbinSchemeName =
"linear",
233 const G4String& ybinSchemeName =
"linear");
235 const std::vector<G4double>& xedges,
236 const std::vector<G4double>& yedges,
252 const G4String& xbinSchemeName =
"linear");
254 const std::vector<G4double>& edges,
271 const G4String& xbinSchemeName =
"linear",
272 const G4String& ybinSchemeName =
"linear");
274 const std::vector<G4double>& xedges,
275 const std::vector<G4double>& yedges,
299 const G4String& name, std::vector<int>& vector);
301 const G4String& name, std::vector<float>& vector);
303 const G4String& name, std::vector<double>& vector);
314 const G4String& name, std::vector<int>& vector);
316 const G4String& name, std::vector<float>& vector);
318 const G4String& name, std::vector<double>& vector);
G4int CreateH3(const G4String &name, const G4String &title, G4int nxbins, G4double xmin, G4double xmax, G4int nybins, G4double ymin, G4double ymax, G4int nzbins, G4double zmin, G4double zmax, const G4String &xunitName="none", const G4String &yunitName="none", const G4String &zunitName="none", const G4String &xfcnName="none", const G4String &yfcnName="none", const G4String &zfcnName="none", const G4String &xbinSchemeName="linear", const G4String &ybinSchemeName="linear", const G4String &zbinSchemeName="linear")
void SetP1Manager(G4VP1Manager *p1Manager)
G4bool SetHistoDirectoryName(const G4String &dirName)
G4String GetH3XAxisTitle(G4int id) const
G4double GetH1Unit(G4int id) const
G4bool GetP2Ascii(G4int id) const
void SetH2Ascii(G4int id, G4bool ascii)
G4bool GetH1Plotting(G4int id) const
G4String GetNtupleDirectoryName() const
G4bool GetH3Plotting(G4int id) const
G4bool SetP2ZAxisTitle(G4int id, const G4String &title)
void SetH3Plotting(G4int id, G4bool plotting)
G4int GetP1Nbins(G4int id) const
G4int CreateNtupleIColumn(const G4String &name)
G4bool FillNtupleSColumn(G4int id, const G4String &value)
G4bool GetH3Activation(G4int id) const
G4bool SetFirstHistoId(G4int firstId)
virtual G4bool MergeImpl(tools::histo::hmpi *hmpi)=0
G4bool GetH3Ascii(G4int id) const
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")
void SetCompressionLevel(G4int level)
G4double GetP2XWidth(G4int id) const
G4double GetH3Xmax(G4int id) const
G4String GetP1XAxisTitle(G4int id) const
G4double GetH2YUnit(G4int id) const
G4String GetP2YAxisTitle(G4int id) const
G4double GetH3XWidth(G4int id) const
G4bool ScaleH1(G4int id, G4double factor)
G4bool ScaleH2(G4int id, G4double factor)
G4double GetP1XWidth(G4int id) const
G4bool SetH2YAxisTitle(G4int id, const G4String &title)
void SetH1Manager(G4VH1Manager *h1Manager)
void SetP2Activation(G4bool activation)
G4bool GetP1Activation(G4int id) const
G4double GetP1Ymin(G4int id) const
virtual G4bool WriteImpl()=0
G4int GetH2Id(const G4String &name, G4bool warn=true) const
void SetVerboseLevel(G4int verboseLevel)
G4String GetH2ZAxisTitle(G4int id) const
G4double GetH2XWidth(G4int id) const
G4double GetH3ZUnit(G4int id) const
G4double GetP2Ymin(G4int id) const
void SetH2Plotting(G4int id, G4bool plotting)
void SetH2Activation(G4bool activation)
G4int CreateNtuple(const G4String &name, const G4String &title)
G4bool SetP2Title(G4int id, const G4String &title)
G4int GetFirstP2Id() const
G4bool FillP2(G4int id, G4double xvalue, G4double yvalue, G4double zvalue, G4double weight=1.0)
G4int CreateP1(const G4String &name, const G4String &title, G4int nbins, G4double xmin, G4double xmax, G4double ymin=0, G4double ymax=0, const G4String &xunitName="none", const G4String &yunitName="none", const G4String &xfcnName="none", const G4String &yfcnName="none", const G4String &xbinSchemeName="linear")
G4String GetH3YAxisTitle(G4int id) const
G4double GetH2Ymin(G4int id) const
const char * name(G4int ptype)
G4bool FillP1(G4int id, G4double xvalue, G4double yvalue, G4double weight=1.0)
G4int GetFirstH2Id() const
std::unique_ptr< G4VP2Manager > fVP2Manager
G4int GetFirstH1Id() const
G4VNtupleManager * fVNtupleManager
G4bool SetFileName(const G4String &fileName)
G4bool ScaleH3(G4int id, G4double factor)
G4int CreateNtupleSColumn(const G4String &name)
G4bool SetNtupleDirectoryName(const G4String &dirName)
G4int GetFirstP1Id() const
G4bool SetH2ZAxisTitle(G4int id, const G4String &title)
void SetP1Activation(G4bool activation)
G4bool SetH3(G4int id, G4int nxbins, G4double xmin, G4double xmax, G4int nzbins, G4double zmin, G4double zmax, G4int nybins, G4double ymin, G4double ymax, const G4String &xunitName="none", const G4String &yunitName="none", const G4String &zunitName="none", const G4String &xfcnName="none", const G4String &yfcnName="none", const G4String &zfcnName="none", const G4String &xbinSchemeName="linear", const G4String &ybinSchemeName="linear", const G4String &zbinSchemeName="linear")
G4int GetFirstNtupleColumnId() const
G4bool OpenFile(const G4String &fileName="")
G4String GetP1Title(G4int id) const
G4bool GetNtupleActivation(G4int id) const
G4bool FillNtupleFColumn(G4int id, G4float value)
void SetH3Manager(G4VH3Manager *h3Manager)
G4int GetH3Id(const G4String &name, G4bool warn=true) const
G4double GetP2YWidth(G4int id) const
G4bool SetFirstH1Id(G4int firstId)
G4double GetH2XUnit(G4int id) const
G4String GetP2Title(G4int id) const
G4String GetH2Title(G4int id) const
G4double GetP1XUnit(G4int id) const
G4double GetH3Xmin(G4int id) const
G4VAnalysisManager(const G4String &type, G4bool isMaster)
std::shared_ptr< G4HnManager > fH1HnManager
void SetH3Ascii(G4int id, G4bool ascii)
G4bool SetFirstProfileId(G4int firstId)
virtual G4bool PlotImpl()=0
G4double GetH2YWidth(G4int id) const
G4bool FillNtupleIColumn(G4int id, G4int value)
G4double GetP2Zmin(G4int id) const
std::unique_ptr< G4VH2Manager > fVH2Manager
void SetH1Ascii(G4int id, G4bool ascii)
G4bool SetP1YAxisTitle(G4int id, const G4String &title)
G4bool SetP1(G4int id, G4int nbins, G4double xmin, G4double xmax, G4double ymin=0, G4double ymax=0, const G4String &xunitName="none", const G4String &yunitName="none", const G4String &xfcnName="none", const G4String &yfcnName="none", const G4String &xbinSchemeName="linear")
void SetP2Manager(G4VP2Manager *p2Manager)
G4bool GetH2Ascii(G4int id) const
G4double GetP1YUnit(G4int id) const
G4int GetNofNtuples() const
G4double GetH2Xmax(G4int id) const
G4bool SetH3Title(G4int id, const G4String &title)
G4double GetH1Xmax(G4int id) const
G4int GetVerboseLevel() const
G4bool SetP2XAxisTitle(G4int id, const G4String &title)
G4bool FillNtupleDColumn(G4int id, G4double value)
std::shared_ptr< G4VFileManager > fVFileManager
virtual G4bool OpenFileImpl(const G4String &fileName)=0
G4String GetFileType() const
G4int GetFirstH3Id() const
G4bool GetP2Plotting(G4int id) const
G4int GetH3Nybins(G4int id) const
G4bool SetFirstP1Id(G4int firstId)
G4String GetP2ZAxisTitle(G4int id) const
virtual G4bool IsOpenFileImpl() const =0
std::unique_ptr< G4VH1Manager > fVH1Manager
G4bool GetP2Activation(G4int id) const
G4double GetH3Zmin(G4int id) const
G4bool SetH1(G4int id, G4int nbins, G4double xmin, G4double xmax, const G4String &unitName="none", const G4String &fcnName="none", const G4String &binSchemeName="linear")
G4String GetFileName() const
std::shared_ptr< G4HnManager > fP2HnManager
G4bool ScaleP2(G4int id, G4double factor)
G4bool SetH1YAxisTitle(G4int id, const G4String &title)
G4String GetH3ZAxisTitle(G4int id) const
G4double GetH3XUnit(G4int id) const
G4double GetH3Ymin(G4int id) const
std::unique_ptr< G4VP1Manager > fVP1Manager
G4String GetHistoDirectoryName() const
G4double GetH3ZWidth(G4int id) const
G4bool GetActivation() const
G4bool GetP1Ascii(G4int id) const
G4double GetP2ZUnit(G4int id) const
G4String GetH1XAxisTitle(G4int id) const
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", const G4String &xbinSchemeName="linear", const G4String &ybinSchemeName="linear")
G4int GetH3Nzbins(G4int id) const
G4int GetP2Nybins(G4int id) const
void SetFileManager(std::shared_ptr< G4VFileManager > fileManager)
G4String GetP1ZAxisTitle(G4int id) const
void SetH2Manager(G4VH2Manager *h2Manager)
G4bool SetP2(G4int id, G4int nxbins, G4double xmin, G4double xmax, G4int nybins, G4double ymin, G4double ymax, G4double zmin=0, G4double zmax=0, const G4String &xunitName="none", const G4String &yunitName="none", const G4String &zunitName="none", const G4String &xfcnName="none", const G4String &yfcnName="none", const G4String &zfcnName="none", const G4String &xbinSchemeName="linear", const G4String &ybinSchemeName="linear")
G4bool SetFirstNtupleId(G4int firstId)
G4bool SetH2Title(G4int id, const G4String &title)
G4double GetP1Xmin(G4int id) const
G4bool SetFirstH3Id(G4int firstId)
G4bool SetP1XAxisTitle(G4int id, const G4String &title)
G4bool IsOpenFile() const
virtual ~G4VAnalysisManager()
G4bool SetP2YAxisTitle(G4int id, const G4String &title)
G4bool SetFirstP2Id(G4int firstId)
G4double GetH3YUnit(G4int id) const
G4String GetP2XAxisTitle(G4int id) const
std::shared_ptr< G4HnManager > fH3HnManager
std::unique_ptr< G4AnalysisMessenger > fMessenger
G4int GetH1Nbins(G4int id) const
G4int CreateP2(const G4String &name, const G4String &title, G4int nxbins, G4double xmin, G4double xmax, G4int nybins, G4double ymin, G4double ymax, G4double zmin=0, G4double zmax=0, const G4String &xunitName="none", const G4String &yunitName="none", const G4String &zunitName="none", const G4String &xfcnName="none", const G4String &yfcnName="none", const G4String &zfcnName="none", const G4String &xbinSchemeName="linear", const G4String &ybinSchemeName="linear")
void SetH1Plotting(G4int id, G4bool plotting)
G4bool FillH2(G4int id, G4double xvalue, G4double yvalue, G4double weight=1.0)
G4double GetP2Xmin(G4int id) const
G4String GetP1YAxisTitle(G4int id) const
void SetH1Activation(G4bool activation)
G4bool FillH1(G4int id, G4double value, G4double weight=1.0)
G4int GetH3Nxbins(G4int id) const
G4double GetP2Zmax(G4int id) const
G4bool GetH2Plotting(G4int id) const
void SetActivation(G4bool activation)
void SetP2Ascii(G4int id, G4bool ascii)
G4double GetP2XUnit(G4int id) const
G4int CreateNtupleFColumn(const G4String &name)
G4String GetP2Name(G4int id) const
G4String GetH3Name(G4int id) const
G4String GetH2YAxisTitle(G4int id) const
G4String GetH3Title(G4int id) const
G4int GetP2Nxbins(G4int id) const
G4bool SetP1Title(G4int id, const G4String &title)
G4int GetCompressionLevel() const
G4double GetH1Width(G4int id) const
G4double GetH1Xmin(G4int id) const
G4bool GetH1Activation(G4int id) const
void SetH3Activation(G4bool activation)
G4double GetH3Ymax(G4int id) const
G4bool SetH3XAxisTitle(G4int id, const G4String &title)
void SetP1Ascii(G4int id, G4bool ascii)
std::shared_ptr< G4HnManager > fP1HnManager
G4double GetP1Xmax(G4int id) const
G4String GetH1Name(G4int id) const
G4double GetP2Xmax(G4int id) const
G4bool SetFirstNtupleColumnId(G4int firstId)
G4bool SetFirstH2Id(G4int firstId)
G4String GetH2XAxisTitle(G4int id) const
G4double GetH2Xmin(G4int id) const
G4int CreateNtupleDColumn(const G4String &name)
G4String GetH2Name(G4int id) const
std::shared_ptr< G4HnManager > fH2HnManager
G4bool FillH3(G4int id, G4double xvalue, G4double yvalue, G4double zvalue, G4double weight=1.0)
G4int GetH2Nxbins(G4int id) const
G4double GetH3YWidth(G4int id) const
G4bool GetH1Ascii(G4int id) const
void SetNtupleActivation(G4bool activation)
G4String GetH1Title(G4int id) const
void SetP1Plotting(G4int id, G4bool plotting)
G4bool SetH3ZAxisTitle(G4int id, const G4String &title)
G4bool SetH1Title(G4int id, const G4String &title)
G4bool GetH2Activation(G4int id) const
G4AnalysisManagerState fState
G4double GetH3Zmax(G4int id) const
G4double GetH2Ymax(G4int id) const
G4bool GetP1Plotting(G4int id) const
G4double GetP1Ymax(G4int id) const
void SetP2Plotting(G4int id, G4bool plotting)
std::unique_ptr< G4VH3Manager > fVH3Manager
virtual G4bool CloseFileImpl()=0
G4bool SetH1XAxisTitle(G4int id, const G4String &title)
G4bool SetH3YAxisTitle(G4int id, const G4String &title)
G4double GetP2YUnit(G4int id) const
G4int GetFirstNtupleId() const
G4int GetH1Id(const G4String &name, G4bool warn=true) const
void SetNtupleManager(G4VNtupleManager *ntupleManager)
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", const G4String &xbinSchemeName="linear", const G4String &ybinSchemeName="linear")
G4String GetH1YAxisTitle(G4int id) const
G4bool SetH2XAxisTitle(G4int id, const G4String &title)
G4int GetH2Nybins(G4int id) const
G4bool ScaleP1(G4int id, G4double factor)
G4double GetP2Ymax(G4int id) const
G4bool WriteAscii(const G4String &fileName)
G4bool Merge(tools::histo::hmpi *hmpi)
G4bool IsPlotting() const
G4String GetP1Name(G4int id) const