Fork me on GitHub

Ignore:
File:
1 edited

Legend:

Unmodified
Added
Removed
  • external/ExRootAnalysis/ExRootResult.h

    r341014c rd7d2da3  
    22#define ExRootResult_h
    33
     4#include "Rtypes.h"
    45#include "Gtypes.h"
    5 #include "Rtypes.h"
    66#include "TMath.h"
    77
     8#include <set>
    89#include <map>
    9 #include <set>
    1010
    1111class TH1;
     
    2323
    2424public:
     25
    2526  ExRootResult();
    2627  ~ExRootResult();
     
    3132
    3233  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);
    3637
    3738  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);
    4142
    4243  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);
    4647
    4748  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);
    5253
    5354  THStack *AddHistStack(const char *name, const char *title);
     
    6162  TCanvas *GetCanvas();
    6263
    63   void PrintPlot(TObject *plot, const char *sufix = "", const char *format = "eps");
     64  void PrintPlot(TObject *plot, const char *sufix = "",  const char *format = "eps");
    6465
    6566  void SetFolder(TFolder *folder) { fFolder = folder; }
    6667
    6768private:
     69
    6870  struct PlotSettings
    6971  {
     
    7779  TCanvas *fCanvas; //!
    7880
    79   std::set<TObject *> fPool; //!
     81  std::set<TObject*> fPool; //!
    8082
    81   std::map<TObject *, PlotSettings> fPlotMap; //!
     83  std::map<TObject*, PlotSettings> fPlotMap; //!
    8284
    8385  TFolder *fFolder; //!
     86
    8487};
    8588
    8689#endif /* ExRootResult_h */
     90
Note: See TracChangeset for help on using the changeset viewer.