Changes in external/ExRootAnalysis/ExRootResult.h [341014c:d7d2da3] in git
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
external/ExRootAnalysis/ExRootResult.h
r341014c rd7d2da3 2 2 #define ExRootResult_h 3 3 4 #include "Rtypes.h" 4 5 #include "Gtypes.h" 5 #include "Rtypes.h"6 6 #include "TMath.h" 7 7 8 #include <set> 8 9 #include <map> 9 #include <set>10 10 11 11 class TH1; … … 23 23 24 24 public: 25 25 26 ExRootResult(); 26 27 ~ExRootResult(); … … 31 32 32 33 TH1 *AddHist1D(const char *name, const char *title, 33 const char *xlabel, const char *ylabel,34 Int_t nxbins, Axis_t xmin, Axis_t xmax,35 Int_t logx = 0, Int_t logy = 0);34 const char *xlabel, const char *ylabel, 35 Int_t nxbins, Axis_t xmin, Axis_t xmax, 36 Int_t logx = 0, Int_t logy = 0); 36 37 37 38 TH1 *AddHist1D(const char *name, const char *title, 38 const char *xlabel, const char *ylabel,39 Int_t nxbins, const Float_t *bins,40 Int_t logx = 0, Int_t logy = 0);39 const char *xlabel, const char *ylabel, 40 Int_t nxbins, const Float_t *bins, 41 Int_t logx = 0, Int_t logy = 0); 41 42 42 43 TProfile *AddProfile(const char *name, const char *title, 43 const char *xlabel, const char *ylabel,44 Int_t nxbins, Axis_t xmin, Axis_t xmax,45 Int_t logx = 0, Int_t logy = 0);44 const char *xlabel, const char *ylabel, 45 Int_t nxbins, Axis_t xmin, Axis_t xmax, 46 Int_t logx = 0, Int_t logy = 0); 46 47 47 48 TH2 *AddHist2D(const char *name, const char *title, 48 const char *xlabel, const char *ylabel,49 Int_t nxbins, Axis_t xmin, Axis_t xmax,50 Int_t nybins, Axis_t ymin, Axis_t ymax,51 Int_t logx = 0, Int_t logy = 0);49 const char *xlabel, const char *ylabel, 50 Int_t nxbins, Axis_t xmin, Axis_t xmax, 51 Int_t nybins, Axis_t ymin, Axis_t ymax, 52 Int_t logx = 0, Int_t logy = 0); 52 53 53 54 THStack *AddHistStack(const char *name, const char *title); … … 61 62 TCanvas *GetCanvas(); 62 63 63 void PrintPlot(TObject *plot, const char *sufix = "", const char *format = "eps");64 void PrintPlot(TObject *plot, const char *sufix = "", const char *format = "eps"); 64 65 65 66 void SetFolder(TFolder *folder) { fFolder = folder; } 66 67 67 68 private: 69 68 70 struct PlotSettings 69 71 { … … 77 79 TCanvas *fCanvas; //! 78 80 79 std::set<TObject 81 std::set<TObject*> fPool; //! 80 82 81 std::map<TObject 83 std::map<TObject*, PlotSettings> fPlotMap; //! 82 84 83 85 TFolder *fFolder; //! 86 84 87 }; 85 88 86 89 #endif /* ExRootResult_h */ 90
Note:
See TracChangeset
for help on using the changeset viewer.