]> git.uio.no Git - u/mrichter/AliRoot.git/blame - PWG2/FLOW/AliFlowCommonHist.h
Prototype for visualization-macro manager and gui.
[u/mrichter/AliRoot.git] / PWG2 / FLOW / AliFlowCommonHist.h
CommitLineData
f1d945a1 1/* Copyright(c) 1998-1999, ALICE Experiment at CERN, All rights reserved. *
2 * See cxx source for full Copyright notice */
3
d65e0fea 4/* $Id:$ */
f1d945a1 5
6#ifndef AliFlowCommonHist_H
7#define AliFlowCommonHist_H
8
9// AliFlowCommonHist:
10// Description: Class to organise common histograms for Flow Analysis
7ffdc193 11// authors: N.K A.B R.S
f1d945a1 12
13
14class AliFlowEventSimple;
15class AliFlowTrackSimple;
16class TH1F;
17class TH1D;
18class TProfile;
e35ddff0 19class TCollection;
20class TList;
f1d945a1 21
20c03187 22class AliFlowCommonHist: public TNamed {
f1d945a1 23
24 public:
25
e35ddff0 26 AliFlowCommonHist();
20c03187 27 AliFlowCommonHist(const char *name,const char *title = "AliFlowCommonHist");
f1d945a1 28 virtual ~AliFlowCommonHist();
29
30 //make fill methods here
e35ddff0 31 Bool_t FillControlHistograms(AliFlowEventSimple* anEvent);
f1d945a1 32
33 //make get methods here
e35ddff0 34 Double_t GetEntriesInPtBin(Int_t iBin); //gets entries from fHistPtDiff
35 Double_t GetMeanPt(Int_t iBin); //gets the mean pt for this bin from fHistProMeanPtperBin
f1d945a1 36
88e00a8a 37 TH1F* GetHistMultOrig() {return fHistMultOrig; } ;
38 TH1F* GetHistMultInt() {return fHistMultInt; } ;
39 TH1F* GetHistMultDiff() {return fHistMultDiff; } ;
40 TH1F* GetHistPtInt() {return fHistPtInt; } ;
41 TH1F* GetHistPtDiff() {return fHistPtDiff; } ;
42 TH1F* GetHistPhiInt() {return fHistPhiInt; } ;
43 TH1F* GetHistPhiDiff() {return fHistPhiDiff; } ;
44 TH1F* GetHistEtaInt() {return fHistEtaInt; } ;
45 TH1F* GetHistEtaDiff() {return fHistEtaDiff; } ;
46 TProfile* GetHistProMeanPtperBin() {return fHistProMeanPtperBin; } ;
47 TH1F* GetHistQ() {return fHistQ; } ;
48 TList* GetHistList() {return fHistList;} ;
e35ddff0 49
50 virtual Double_t Merge(TCollection *aList); //merge function
9825d4a9 51 //method to print stats
52 void Print(Option_t* option = "") const;
53
f1d945a1 54
55 private:
56
20605536 57 AliFlowCommonHist(const AliFlowCommonHist& aSetOfHists);
58 AliFlowCommonHist& operator=(const AliFlowCommonHist& aSetOfHists);
59
f1d945a1 60 //define histograms here
61 //control histograms
e35ddff0 62 TH1F* fHistMultOrig; //multiplicity before selection
63 TH1F* fHistMultInt; //multiplicity for integrated flow
64 TH1F* fHistMultDiff; //multiplicity for differential flow
65 TH1F* fHistPtInt; //pt distribution for integrated flow
66 TH1F* fHistPtDiff; //pt distribution for differential flow
67 TH1F* fHistPhiInt; //phi distribution for integrated flow
68 TH1F* fHistPhiDiff; //phi distribution for differential flow
69 TH1F* fHistEtaInt; //eta distribution for integrated flow
70 TH1F* fHistEtaDiff; //eta distribution for differential flow
71 TProfile* fHistProMeanPtperBin; //mean pt for each pt bin (for differential flow)
72 TH1F* fHistQ; //Qvector distribution
73
74 TList* fHistList; //list to hold all histograms
75
76 ClassDef(AliFlowCommonHist,0); // macro for rootcint
f1d945a1 77};
0683b7d5 78#endif
79