]> git.uio.no Git - u/mrichter/AliRoot.git/blob - PWG2/FLOW/AliFlowCommonHist.h
c978ac790c5ab65dea89939580b75a99da039e28
[u/mrichter/AliRoot.git] / PWG2 / FLOW / AliFlowCommonHist.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 AliFlowCommonHist_H
7 #define AliFlowCommonHist_H
8
9 // AliFlowCommonHist:
10 // Description: Class to organise common histograms for Flow Analysis
11 // authors: N. van der Kolk (kolk@nikhef.nl) and A. Bilandzic (anteb@nikhef.nl)
12
13              
14 class AliFlowEventSimple;
15 class AliFlowTrackSimple;
16 class TH1F;
17 class TH1D;
18 class TProfile;
19
20 class AliFlowCommonHist {
21
22  public:
23
24   AliFlowCommonHist(TString input);
25   virtual ~AliFlowCommonHist();
26
27   //make fill methods here
28   Bool_t FillControlHistograms(AliFlowEventSimple* fEvent);
29  
30   //make get methods here
31   Double_t GetEntriesInPtBin(Int_t fBin);   //gets entries from fHistPtDiff
32   Double_t GetMeanPt(Int_t fBin);           //gets the mean pt for this bin from fHistProMeanPtperBin   
33
34   TH1F*     GetfHistMultOrig()               {return fHistMultOrig;  } ;  
35   TH1F*     GetfHistMultInt()                {return fHistMultInt; } ;  
36   TH1F*     GetfHistMultDiff()               {return fHistMultDiff; } ;  
37   TH1F*     GetfHistPtInt()                  {return fHistPtInt; } ;  
38   TH1F*     GetfHistPtDiff()                 {return fHistPtDiff; } ;   
39   TH1F*     GetfHistPhiInt()                 {return fHistPhiInt; } ;  
40   TH1F*     GetfHistPhiDiff()                {return fHistPhiDiff; } ;  
41   TH1F*     GetfHistEtaInt()                 {return fHistEtaInt; } ;  
42   TH1F*     GetfHistEtaDiff()                {return fHistEtaDiff;  } ;   
43   TProfile* GetfHistProMeanPtperBin()        {return fHistProMeanPtperBin; } ;
44   TH1F*     GetfHistQ()                      {return fHistQ; } ;            
45    
46  
47  private:
48
49   AliFlowEventSimple* fEvent;     //!
50   AliFlowTrackSimple* fTrack;     //!
51
52   //define histograms here
53   //control histograms
54   TH1F*     fHistMultOrig;        //!
55   TH1F*     fHistMultInt;         //!
56   TH1F*     fHistMultDiff;        //!
57   TH1F*     fHistPtInt;           //!
58   TH1F*     fHistPtDiff;          //!
59   TH1F*     fHistPhiInt;          //!
60   TH1F*     fHistPhiDiff;         //!
61   TH1F*     fHistEtaInt;          //!
62   TH1F*     fHistEtaDiff;         //!
63   TProfile* fHistProMeanPtperBin; //!
64   TH1F*     fHistQ;               //!
65   
66   ClassDef(AliFlowCommonHist,0);                 // macro for rootcint
67 };
68 #endif
69