]> git.uio.no Git - u/mrichter/AliRoot.git/blobdiff - PWG1/AliTreeDraw.h
update macro, made TRD compiling
[u/mrichter/AliRoot.git] / PWG1 / AliTreeDraw.h
index 0b17784fca0d321a24b95674160b5ee713a7fee0..fbb57ee48642c2d6214f3fcb44c37f93aad5a86a 100644 (file)
@@ -50,16 +50,23 @@ public:
             Int_t nbins,Float_t min, Float_t max);
   //
   void   GetPoints3D(const char * label, const char * chpoints, const char* selection, TTree * tpoints, Int_t color=6, Float_t rmin=4.);
-
- private: 
   static void   AliLabelAxes(TH1* histo, const char* xAxisTitle, const char* yAxisTitle);
   static Double_t* CreateLogBins(Int_t nBins, Double_t xMin, Double_t xMax);
   static TH1F*  CreateEffHisto(TH1F* hGen, TH1F* hRec);
   static TH1F*  CreateResHisto(TH2F* hRes2, TH1F **phMean, 
-                               Bool_t drawBinFits = kTRUE,Bool_t overflowBinFits = kFALSE);
+                              Bool_t drawBinFits = kTRUE,Bool_t overflowBinFits = kFALSE);
+
+  static TH1F*  CreateResHistoI(TH2F* hRes2, TH1F **phMean, Int_t integ=0, 
+                              Bool_t drawBinFits = kTRUE);
+  static TH1F*  CreateResHistoII(TH2F* hRes2, TH1F **phMean, Int_t integ=0, 
+                              Bool_t drawBinFits = kTRUE, Int_t cut=0);
+
+
 
-  AliTreeDraw(const AliTreeDraw& t):TObject(),fTree(0),fRes(0),fMean(0),fPoints(0){;}
-  AliTreeDraw & operator=(const AliTreeDraw & t){return *this;}
+private:
+  AliTreeDraw(const AliTreeDraw& /*t*/):TObject(),fTree(0),fRes(0),fMean(0),fPoints(0){;}
+    AliTreeDraw & operator=(const AliTreeDraw & /*t*/){return *this;}
 
   TTree * fTree;    //the tree for visualization - NOT OWNER
   TH1F  * fRes;     //temporary histogram        - OWNER