]>
Commit | Line | Data |
---|---|---|
f456b167 | 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 AliFlowLYZHist2_H | |
7 | #define AliFlowLYZHist2_H | |
8 | ||
f456b167 | 9 | #include "TProfile.h" //no forward declaration possible because of inline functions |
10 | ||
448e8856 | 11 | class TComplex; |
f456b167 | 12 | class TProfile2D; |
13 | ||
14 | ||
15 | // Description: Class to organise histograms for Flow | |
16 | // by the LeeYangZeros method in the second run. | |
17 | // Also contains methods to get values from the histograms | |
18 | // which are called in AliFlowLeeYandZerosMaker::Finish(). | |
19 | ||
20 | ||
21 | class AliFlowLYZHist2 { | |
22 | ||
23 | public: | |
24 | ||
448e8856 | 25 | AliFlowLYZHist2(Int_t theta); //constructor |
26 | virtual ~AliFlowLYZHist2(); //destructor | |
27 | ||
28 | void Fill(Double_t f1,Double_t f2, TComplex C); //fill the histograms | |
29 | Int_t GetNbinsX() | |
30 | {Int_t fMaxEtaBins = fHistProReNumer->GetNbinsX(); return fMaxEtaBins;} | |
31 | Int_t GetNbinsXPt() | |
32 | {Int_t fMaxPtBins = fHistProReNumerPt->GetNbinsX(); return fMaxPtBins;} | |
33 | Double_t GetBinCenter(Int_t i) | |
34 | {Double_t fEta = fHistProReNumer->GetXaxis()->GetBinCenter(i); return fEta;} | |
35 | Double_t GetBinCenterPt(Int_t i) | |
36 | {Double_t fPt = fHistProReNumerPt->GetXaxis()->GetBinCenter(i); return fPt;} | |
37 | TComplex GetfNumer(Int_t i); //get numerator for diff. flow (eta) | |
38 | TComplex GetfNumerPt(Int_t i); //get numerator for diff. flow (pt) | |
39 | ||
f456b167 | 40 | private: |
41 | ||
448e8856 | 42 | TProfile* fHistProReNumer; //! |
43 | TProfile* fHistProImNumer; //! | |
44 | TProfile* fHistProReNumerPt; //! | |
45 | TProfile* fHistProImNumerPt; //! | |
46 | TProfile2D* fHistProReNumer2D; //! | |
47 | TProfile2D* fHistProImNumer2D; //! | |
f456b167 | 48 | |
49 | ||
f456b167 | 50 | ClassDef(AliFlowLYZHist2,0) // macro for rootcint |
51 | }; | |
52 | ||
53 | ||
54 | #endif | |
55 |