]> git.uio.no Git - u/mrichter/AliRoot.git/blame - PWG2/FLOW/AliFlowLYZHist2.h
First V0 QAing version
[u/mrichter/AliRoot.git] / PWG2 / FLOW / AliFlowLYZHist2.h
CommitLineData
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
9#include "TComplex.h"
10#include "TProfile.h" //no forward declaration possible because of inline functions
11
12class 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
21class AliFlowLYZHist2 {
22
23 public:
24
25 AliFlowLYZHist2(Int_t i1, Int_t i2); //constructor
26 AliFlowLYZHist2(const AliFlowLYZHist2&); //copy constructor (dummy)
27 virtual ~AliFlowLYZHist2(); //destructor
28
29 AliFlowLYZHist2& operator=(const AliFlowLYZHist2&); //assignment operator (dummy)
30
31 void Fill(Float_t f1,Float_t f2, TComplex C); //fill the histograms
32 Int_t GetNbinsX() {Int_t fMaxEtaBins = fHistProReNumer->GetNbinsX(); return fMaxEtaBins;}
33 Int_t GetNbinsXPt() {Int_t fMaxPtBins = fHistProReNumerPt->GetNbinsX(); return fMaxPtBins;}
34 Float_t GetBinCenter(Int_t i) {Float_t fEta = fHistProReNumer->GetXaxis()->GetBinCenter(i); return fEta;}
35 Float_t GetBinCenterPt(Int_t i) {Float_t fPt = fHistProReNumerPt->GetXaxis()->GetBinCenter(i); return fPt;}
36 TComplex GetfNumer(Int_t i); //get numerator for diff. flow (eta)
37 TComplex GetfNumerPt(Int_t i); //get numerator for diff. flow (pt)
38 Int_t GetNprime(Int_t i); //get number of entries in bin (eta)
39 Int_t GetNprimePt(Int_t i); //get number of entries in bin (pt)
40
41
42 private:
43
44 TProfile* fHistProReNumer; //!
45 TProfile* fHistProImNumer; //!
46 TProfile* fHistProReNumerPt; //!
47 TProfile* fHistProImNumerPt; //!
48 TProfile2D* fHistProReNumer2D; //!
49 TProfile2D* fHistProImNumer2D; //!
50
51
52
53
54
55 ClassDef(AliFlowLYZHist2,0) // macro for rootcint
56 };
57
58
59#endif
60