]> git.uio.no Git - u/mrichter/AliRoot.git/blob - PWG2/FLOW/AliFlowLYZHist1.h
Cleanup and working proof task
[u/mrichter/AliRoot.git] / PWG2 / FLOW / AliFlowLYZHist1.h
1 /* Copyright(c) 1998-1999, ALICE Experiment at CERN, All rights reserved. *
2  * See cxx source for full Copyright notice                               */
3
4 /* $Id$ */
5
6 #ifndef AliFlowLYZHist1_H
7 #define AliFlowLYZHist1_H
8
9
10 #include "TComplex.h"  //explicitly called in void Fill(Float_t f, TComplex C);
11
12 class TH1D;
13
14 // Description: Class to organise histograms for Flow 
15 //              by the LeeYangZeros method in the first run.
16 //              Also includes methods to find the first minimum R0
17 //              in the generating function.
18
19
20 class AliFlowLYZHist1 {
21
22  public:
23
24   AliFlowLYZHist1(Int_t theta);               //constructor
25   virtual  ~AliFlowLYZHist1();                //destructor
26   
27   void Fill(Double_t f, TComplex c);          //fill the histograms
28   TH1D* FillGtheta();                         //fills fHistGtheta
29   Double_t GetR0();                           //get R0
30   Double_t GetBinCenter(Int_t i);             //Get a bincentre of fHistGtheta
31   Int_t GetNBins();                           //Gets Nbins
32    
33 private:
34
35   AliFlowLYZHist1(const AliFlowLYZHist1& aAnalysis);             //copy constructor
36   AliFlowLYZHist1& operator=(const AliFlowLYZHist1& aAnalysis);  //assignment operator
37
38   TH1D* fHistGtheta;                          //holds |Gtheta|^2(r)
39   TProfile* fHistProReGtheta;                 //holds Re of Gtheta(r)
40   TProfile* fHistProImGtheta;                 //holds Im of Gtheta(r)
41   
42
43   ClassDef(AliFlowLYZHist1,0)                 // macro for rootcint
44     };
45  
46      
47 #endif