Fork me on GitHub

Ignore:
File:
1 edited

Legend:

Unmodified
Added
Removed
  • external/ExRootAnalysis/ExRootResult.h

    rd7d2da3 r341014c  
    22#define ExRootResult_h
    33
     4#include "Gtypes.h"
    45#include "Rtypes.h"
    5 #include "Gtypes.h"
    66#include "TMath.h"
    77
     8#include <map>
    89#include <set>
    9 #include <map>
    1010
    1111class TH1;
     
    2323
    2424public:
    25 
    2625  ExRootResult();
    2726  ~ExRootResult();
     
    3231
    3332  TH1 *AddHist1D(const char *name, const char *title,
    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);
     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);
    3736
    3837  TH1 *AddHist1D(const char *name, const char *title,
    39                  const char *xlabel, const char *ylabel,
    40                  Int_t nxbins, const Float_t *bins,
    41                  Int_t logx = 0, Int_t logy = 0);
     38    const char *xlabel, const char *ylabel,
     39    Int_t nxbins, const Float_t *bins,
     40    Int_t logx = 0, Int_t logy = 0);
    4241
    4342  TProfile *AddProfile(const char *name, const char *title,
    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);
     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);
    4746
    4847  TH2 *AddHist2D(const char *name, const char *title,
    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);
     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);
    5352
    5453  THStack *AddHistStack(const char *name, const char *title);
     
    6261  TCanvas *GetCanvas();
    6362
    64   void PrintPlot(TObject *plot, const char *sufix = "",  const char *format = "eps");
     63  void PrintPlot(TObject *plot, const char *sufix = "", const char *format = "eps");
    6564
    6665  void SetFolder(TFolder *folder) { fFolder = folder; }
    6766
    6867private:
    69 
    7068  struct PlotSettings
    7169  {
     
    7977  TCanvas *fCanvas; //!
    8078
    81   std::set<TObject*> fPool; //!
     79  std::set<TObject *> fPool; //!
    8280
    83   std::map<TObject*, PlotSettings> fPlotMap; //!
     81  std::map<TObject *, PlotSettings> fPlotMap; //!
    8482
    8583  TFolder *fFolder; //!
    86 
    8784};
    8885
    8986#endif /* ExRootResult_h */
    90 
Note: See TracChangeset for help on using the changeset viewer.