]> git.uio.no Git - u/mrichter/AliRoot.git/blame - PWG2/FLOW/AliFlowLYZHist1.h
Moved old reacton plane code to /oldcode
[u/mrichter/AliRoot.git] / PWG2 / FLOW / AliFlowLYZHist1.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 AliFlowLYZHist1_H
7#define AliFlowLYZHist1_H
8
9
10#include "TComplex.h" //explicitly called in void Fill(Float_t f, TComplex C);
11
f456b167 12class TH1D;
13
14// Description: Class to organise histograms for Flow
15// by the LeeYangZeros method in the first run.
16// Also includes methods to find the first minimum R0
17// in the generating function.
18
19
20class AliFlowLYZHist1 {
21
22 public:
23
448e8856 24 AliFlowLYZHist1(Int_t theta); //constructor
f456b167 25 virtual ~AliFlowLYZHist1(); //destructor
448e8856 26
27 void Fill(Double_t f, TComplex C); //fill the histograms
f456b167 28 TH1D* FillGtheta(); //fills fHistGtheta
448e8856 29 Double_t GetR0(); //get R0
30 Double_t GetBinCenter(Int_t i); //Get a bincentre of fHistGtheta
f456b167 31 Int_t GetNBins(); //Gets fNbins
448e8856 32
f456b167 33private:
34
35 TH1D* fHistGtheta; //!
36 TProfile* fHistProReGtheta; //!
37 TProfile* fHistProImGtheta; //!
38
39
40 ClassDef(AliFlowLYZHist1,0) // macro for rootcint
41 };
42
43
44#endif
45