]> git.uio.no Git - u/mrichter/AliRoot.git/blame - PWG2/FLOW/AliFlowLYZHist1.h
gain set to 1 for all ch
[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;
8de6876d 13class TCollection;
14class TList;
15
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
8de6876d 23class AliFlowLYZHist1: public TObject {
f456b167 24
25 public:
26
8de6876d 27 AliFlowLYZHist1(); //default constructor
448e8856 28 AliFlowLYZHist1(Int_t theta); //constructor
f456b167 29 virtual ~AliFlowLYZHist1(); //destructor
448e8856 30
882ffd6a 31 void Fill(Double_t f, TComplex c); //fill the histograms
f456b167 32 TH1D* FillGtheta(); //fills fHistGtheta
448e8856 33 Double_t GetR0(); //get R0
34 Double_t GetBinCenter(Int_t i); //Get a bincentre of fHistGtheta
882ffd6a 35 Int_t GetNBins(); //Gets Nbins
88e00a8a 36
37 TH1D* GetHistGtheta() {return this->fHistGtheta;} ;
38 TProfile* GetHistProReGtheta() {return this->fHistProReGtheta;} ;
39 TProfile* GetHistProImGtheta() {return this->fHistProImGtheta;} ;
40 TList* GetHistList() {return this->fHistList;} ;
8de6876d 41
42 virtual Double_t Merge(TCollection *aList); //merge function
448e8856 43
f456b167 44private:
45
882ffd6a 46 AliFlowLYZHist1(const AliFlowLYZHist1& aAnalysis); //copy constructor
47 AliFlowLYZHist1& operator=(const AliFlowLYZHist1& aAnalysis); //assignment operator
af795c87 48
8de6876d 49 TH1D* fHistGtheta; //holds |Gtheta|^2(r)
50 TProfile* fHistProReGtheta; //holds Re of Gtheta(r)
51 TProfile* fHistProImGtheta; //holds Im of Gtheta(r)
52 TList* fHistList; //list to hold all histograms
53
f456b167 54
8de6876d 55 ClassDef(AliFlowLYZHist1,0) // macro for rootcint
f456b167 56 };
57
58
59#endif