some coding convention fixies (Marian)
[u/mrichter/AliRoot.git] / PWG1 / AliTreeDraw.h
index 9ea3b81a17369287c78e6bc34622322f0faeca57..1a74f7ed0b21b3af33c2cd5ee22a816fbe63cbb9 100644 (file)
@@ -25,6 +25,7 @@ class AliTreeDraw: public TObject{
 public:
   AliTreeDraw();
   ~AliTreeDraw(){;}
+  TTree * T() { return fTree;}
   void SetTree(TTree *tree){fTree=tree;}
   const TH1 * GetRes() const{ return (TH1*)fRes;}
   const TH1 * GetMean() const{ return (TH1*)fMean;}
@@ -52,6 +53,9 @@ public:
   static TH1F*  CreateResHisto(TH2F* hRes2, TH1F **phMean, 
                                Bool_t drawBinFits = kTRUE,Bool_t overflowBinFits = kFALSE);
 
+  AliTreeDraw(const AliTreeDraw& t):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  
   TH1F  * fMean;    //temporary histogram        - OWNER