]>
Commit | Line | Data |
---|---|---|
f1d945a1 | 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 | |
8232a5ec | 28 | Bool_t FillControlHistograms(AliFlowEventSimple* Event); |
f1d945a1 | 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 | ||
20605536 | 49 | AliFlowCommonHist(const AliFlowCommonHist& aSetOfHists); |
50 | AliFlowCommonHist& operator=(const AliFlowCommonHist& aSetOfHists); | |
51 | ||
f1d945a1 | 52 | AliFlowTrackSimple* fTrack; //! |
53 | ||
54 | //define histograms here | |
55 | //control histograms | |
56 | TH1F* fHistMultOrig; //! | |
57 | TH1F* fHistMultInt; //! | |
58 | TH1F* fHistMultDiff; //! | |
59 | TH1F* fHistPtInt; //! | |
60 | TH1F* fHistPtDiff; //! | |
61 | TH1F* fHistPhiInt; //! | |
62 | TH1F* fHistPhiDiff; //! | |
63 | TH1F* fHistEtaInt; //! | |
64 | TH1F* fHistEtaDiff; //! | |
65 | TProfile* fHistProMeanPtperBin; //! | |
66 | TH1F* fHistQ; //! | |
67 | ||
68 | ClassDef(AliFlowCommonHist,0); // macro for rootcint | |
69 | }; | |
0683b7d5 | 70 | #endif |
71 |