AliPhysics  7c37cfa (7c37cfa)
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
AliFlowLYZHist1.h
Go to the documentation of this file.
1 /* Copyright(c) 1998-1999, ALICE Experiment at CERN, All rights reserved. *
2  * See cxx source for full Copyright notice */
3 
4 /* $Id: AliFlowLYZHist1.h 29627 2008-10-31 10:30:41Z snelling $ */
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 
12 class TH1D;
13 class TCollection;
14 class TList;
15 class TBrowser;
16 
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.
21 
22 
23 class AliFlowLYZHist1: public TNamed {
24 
25  public:
26 
27  AliFlowLYZHist1(); //default constructor
28  AliFlowLYZHist1(Int_t theta, const char *name ,Bool_t useSum = kTRUE); //constructor
29  virtual ~AliFlowLYZHist1(); //destructor
30 
31  Bool_t IsFolder() const {return kTRUE;};
32  void Browse(TBrowser *b);
33 
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
39 
40  TH1D* GetHistGtheta() {return this->fHistGtheta;} ;
41  TProfile* GetHistProReGtheta() {return this->fHistProReGtheta;} ;
42  TProfile* GetHistProImGtheta() {return this->fHistProImGtheta;} ;
43  TList* GetHistList() {return this->fHistList;} ;
44 
45  virtual Double_t Merge(TCollection *aList); //merge function
46  void Print(Option_t* option = "") const; //method to print stats
47 
48 private:
49 
50  AliFlowLYZHist1(const AliFlowLYZHist1& aAnalysis); //copy constructor
51  AliFlowLYZHist1& operator=(const AliFlowLYZHist1& aAnalysis); //assignment operator
52 
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
57 
58  ClassDef(AliFlowLYZHist1,1) // macro for rootcint
59  };
60 
61 
62 #endif
void Fill(Double_t f, TComplex c)
TH1D * GetHistGtheta()
double Double_t
Definition: External.C:58
virtual ~AliFlowLYZHist1()
TProfile * fHistProImGtheta
void Print(Option_t *option="") const
void Browse(TBrowser *b)
Double_t GetBinCenter(Int_t i)
TCanvas * c
Definition: TestFitELoss.C:172
AliFlowLYZHist1 & operator=(const AliFlowLYZHist1 &aAnalysis)
int Int_t
Definition: External.C:63
TList * GetHistList()
Definition: External.C:212
TProfile * GetHistProImGtheta()
virtual Double_t Merge(TCollection *aList)
TProfile * GetHistProReGtheta()
Bool_t IsFolder() const
TProfile * fHistProReGtheta
const char Option_t
Definition: External.C:48
bool Bool_t
Definition: External.C:53