]> git.uio.no Git - u/mrichter/AliRoot.git/blob - PWG2/FLOW/AliFlowLYZHist1.h
First V0 QAing version
[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 TProfile;
13 class TH1D;
14
15 // Description: Class to organise histograms for Flow 
16 //              by the LeeYangZeros method in the first run.
17 //              Also includes methods to find the first minimum R0
18 //              in the generating function.
19
20
21 class AliFlowLYZHist1 {
22
23  public:
24
25   AliFlowLYZHist1(Int_t i1, Int_t i2);        //constructor
26   AliFlowLYZHist1(const AliFlowLYZHist1&);    //copy constructor (dummy)
27   virtual  ~AliFlowLYZHist1();                //destructor
28
29   AliFlowLYZHist1& operator=(const AliFlowLYZHist1&); //assignment operator (dummy)
30
31   void Fill(Float_t f, TComplex C);           //fill the histograms
32   TH1D* FillGtheta();                         //fills fHistGtheta
33   Float_t GetR0();                            //get R0
34   Float_t GetBinCenter(Int_t i);              //Get a bincentre of fHistGtheta
35   Int_t GetNBins();                           //Gets fNbins
36
37   //void Save();                              //save the histograms 
38
39  
40 private:
41
42   TH1D* fHistGtheta;                          //!
43   TProfile* fHistProReGtheta;                 //!
44   TProfile* fHistProImGtheta;                 //!
45   
46
47   ClassDef(AliFlowLYZHist1,0)                 // macro for rootcint
48     };
49  
50      
51 #endif
52