]> git.uio.no Git - u/mrichter/AliRoot.git/blobdiff - PWG2/FLOW/AliFlowLYZHist1.h
gain set to 1 for all ch
[u/mrichter/AliRoot.git] / PWG2 / FLOW / AliFlowLYZHist1.h
index bce8e81d86ef3ce832634a0b8348af994c898a89..5024b6bdb7209d1c2802ef64e789a0cc6b136406 100644 (file)
@@ -10,6 +10,9 @@
 #include "TComplex.h"  //explicitly called in void Fill(Float_t f, TComplex C);
 
 class TH1D;
+class TCollection;
+class TList;
+
 
 // Description: Class to organise histograms for Flow 
 //              by the LeeYangZeros method in the first run.
@@ -17,29 +20,40 @@ class TH1D;
 //              in the generating function.
 
 
-class AliFlowLYZHist1 {
+class AliFlowLYZHist1: public TObject  {
 
  public:
 
+  AliFlowLYZHist1();                          //default constructor
   AliFlowLYZHist1(Int_t theta);               //constructor
   virtual  ~AliFlowLYZHist1();                //destructor
   
-  void Fill(Double_t f, TComplex C);          //fill the histograms
+  void Fill(Double_t f, TComplex c);          //fill the histograms
   TH1D* FillGtheta();                         //fills fHistGtheta
   Double_t GetR0();                           //get R0
   Double_t GetBinCenter(Int_t i);             //Get a bincentre of fHistGtheta
-  Int_t GetNBins();                           //Gets fNbins
+  Int_t GetNBins();                           //Gets Nbins
+
+  TH1D*     GetHistGtheta()  {return this->fHistGtheta;} ;
+  TProfile* GetHistProReGtheta() {return this->fHistProReGtheta;} ;
+  TProfile* GetHistProImGtheta() {return this->fHistProImGtheta;} ;
+  TList*    GetHistList()    {return this->fHistList;} ;  
+
+  virtual Double_t  Merge(TCollection *aList);  //merge function
    
 private:
 
-  TH1D* fHistGtheta;                          //!
-  TProfile* fHistProReGtheta;                 //!
-  TProfile* fHistProImGtheta;                 //!
-  
+  AliFlowLYZHist1(const AliFlowLYZHist1& aAnalysis);             //copy constructor
+  AliFlowLYZHist1& operator=(const AliFlowLYZHist1& aAnalysis);  //assignment operator
 
-  ClassDef(AliFlowLYZHist1,0)                 // macro for rootcint
+  TH1D*     fHistGtheta;             //holds |Gtheta|^2(r)
+  TProfile* fHistProReGtheta;        //holds Re of Gtheta(r)
+  TProfile* fHistProImGtheta;        //holds Im of Gtheta(r)
+  TList*    fHistList;               //list to hold all histograms  
+
+
+  ClassDef(AliFlowLYZHist1,0)        // macro for rootcint
     };
  
      
 #endif
-