]> git.uio.no Git - u/mrichter/AliRoot.git/blob - PWG2/FLOW/AliFlowCommonHist.h
just one histrogram for now
[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.K A.B R.S
12
13              
14 class AliFlowEventSimple;
15 class AliFlowTrackSimple;
16 class TH1F;
17 class TH1D;
18 class TProfile;
19
20 class AliFlowCommonHist: public TObject {
21
22  public:
23
24   AliFlowCommonHist(TString input);
25   virtual ~AliFlowCommonHist();
26
27   //make fill methods here
28   Bool_t FillControlHistograms(AliFlowEventSimple* Event);
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   //  virtual Long64_t  Merge(TCollection *list);
47  
48  private:
49
50   AliFlowCommonHist(const AliFlowCommonHist& aSetOfHists);
51   AliFlowCommonHist& operator=(const AliFlowCommonHist& aSetOfHists);
52
53   //define histograms here
54   //control histograms
55   TH1F*     fHistMultOrig;        
56   TH1F*     fHistMultInt;        
57   TH1F*     fHistMultDiff;       
58   TH1F*     fHistPtInt;          
59   TH1F*     fHistPtDiff;         
60   TH1F*     fHistPhiInt;          
61   TH1F*     fHistPhiDiff;         
62   TH1F*     fHistEtaInt;          
63   TH1F*     fHistEtaDiff;         
64   TProfile* fHistProMeanPtperBin; 
65   TH1F*     fHistQ;               
66   
67   ClassDef(AliFlowCommonHist,0);                 // macro for rootcint
68 };
69 #endif
70