1 /* Copyright(c) 1998-1999, ALICE Experiment at CERN, All rights reserved. *
2 * See cxx source for full Copyright notice */
6 #ifndef AliFlowLYZHist2_H
7 #define AliFlowLYZHist2_H
9 #include "TProfile.h" //no forward declaration possible because of inline functions
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().
21 class AliFlowLYZHist2 {
25 AliFlowLYZHist2(Int_t theta); //constructor
26 virtual ~AliFlowLYZHist2(); //destructor
28 void Fill(Double_t f1,Double_t f2, TComplex C); //fill the histograms
30 {Int_t fMaxEtaBins = fHistProReNumer->GetNbinsX(); return fMaxEtaBins;}
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)
42 TProfile* fHistProReNumer; //!
43 TProfile* fHistProImNumer; //!
44 TProfile* fHistProReNumerPt; //!
45 TProfile* fHistProImNumerPt; //!
46 TProfile2D* fHistProReNumer2D; //!
47 TProfile2D* fHistProImNumer2D; //!
50 ClassDef(AliFlowLYZHist2,0) // macro for rootcint