]> git.uio.no Git - u/mrichter/AliRoot.git/blame - PWG/FLOW/Base/AliFlowLYZHist1.h
Moving/split PWG2/FLOW to PWGCF/FLOW, PWG/FLOW/Base, PWG/FLOW/Tasks, PWG/Glauber
[u/mrichter/AliRoot.git] / PWG / FLOW / Base / 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
29b61d43 4/* $Id: AliFlowLYZHist1.h 29627 2008-10-31 10:30:41Z snelling $ */
f456b167 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;
8de6876d 13class TCollection;
14class TList;
9d062fe3 15class TBrowser;
f456b167 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
9d062fe3 23class AliFlowLYZHist1: public TNamed {
f456b167 24
25 public:
26
8de6876d 27 AliFlowLYZHist1(); //default constructor
0c380f17 28 AliFlowLYZHist1(Int_t theta, const char *name ,Bool_t useSum = kTRUE); //constructor
f456b167 29 virtual ~AliFlowLYZHist1(); //destructor
448e8856 30
0c380f17 31 Bool_t IsFolder() const {return kTRUE;};
32 void Browse(TBrowser *b);
9d062fe3 33
0c380f17 34 void Fill(Double_t f, TComplex c); //fill the histograms
35 TH1D* FillGtheta(); //fills fHistGtheta
448e8856 36 Double_t GetR0(); //get R0
37 Double_t GetBinCenter(Int_t i); //Get a bincentre of fHistGtheta
0c380f17 38 Int_t GetNBins(); //Gets Nbins
88e00a8a 39
9d062fe3 40 TH1D* GetHistGtheta() {return this->fHistGtheta;} ;
88e00a8a 41 TProfile* GetHistProReGtheta() {return this->fHistProReGtheta;} ;
42 TProfile* GetHistProImGtheta() {return this->fHistProImGtheta;} ;
9d062fe3 43 TList* GetHistList() {return this->fHistList;} ;
8de6876d 44
0c380f17 45 virtual Double_t Merge(TCollection *aList); //merge function
46 void Print(Option_t* option = "") const; //method to print stats
9d062fe3 47
f456b167 48private:
49
882ffd6a 50 AliFlowLYZHist1(const AliFlowLYZHist1& aAnalysis); //copy constructor
51 AliFlowLYZHist1& operator=(const AliFlowLYZHist1& aAnalysis); //assignment operator
af795c87 52
8de6876d 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
9d062fe3 58 ClassDef(AliFlowLYZHist1,1) // macro for rootcint
f456b167 59 };
60
61
62#endif