1 /* Copyright(c) 1998-1999, ALICE Experiment at CERN, All rights reserved. *
2 * See cxx source for full Copyright notice */
4 /* $Id: AliFlowLYZHist1.h 29627 2008-10-31 10:30:41Z snelling $ */
6 #ifndef AliFlowLYZHist1_H
7 #define AliFlowLYZHist1_H
10 #include "TComplex.h" //explicitly called in void Fill(Float_t f, TComplex C);
17 // Description: Class to organise histograms for Flow
18 // by the LeeYangZeros method in the first run.
19 // Also includes methods to find the first minimum R0
20 // in the generating function.
23 class AliFlowLYZHist1: public TNamed {
27 AliFlowLYZHist1(); //default constructor
28 AliFlowLYZHist1(Int_t theta, const char *name ,Bool_t useSum = kTRUE); //constructor
29 virtual ~AliFlowLYZHist1(); //destructor
31 Bool_t IsFolder() const {return kTRUE;};
32 void Browse(TBrowser *b);
34 void Fill(Double_t f, TComplex c); //fill the histograms
35 TH1D* FillGtheta(); //fills fHistGtheta
36 Double_t GetR0(); //get R0
37 Double_t GetBinCenter(Int_t i); //Get a bincentre of fHistGtheta
38 Int_t GetNBins(); //Gets Nbins
40 TH1D* GetHistGtheta() {return this->fHistGtheta;} ;
41 TProfile* GetHistProReGtheta() {return this->fHistProReGtheta;} ;
42 TProfile* GetHistProImGtheta() {return this->fHistProImGtheta;} ;
43 TList* GetHistList() {return this->fHistList;} ;
45 virtual Double_t Merge(TCollection *aList); //merge function
46 void Print(Option_t* option = "") const; //method to print stats
50 AliFlowLYZHist1(const AliFlowLYZHist1& aAnalysis); //copy constructor
51 AliFlowLYZHist1& operator=(const AliFlowLYZHist1& aAnalysis); //assignment operator
53 TH1D* fHistGtheta; //holds |Gtheta|^2(r)
54 TProfile* fHistProReGtheta; //holds Re of Gtheta(r)
55 TProfile* fHistProImGtheta; //holds Im of Gtheta(r)
56 TList* fHistList; //list to hold all histograms
58 ClassDef(AliFlowLYZHist1,1) // macro for rootcint