]> git.uio.no Git - u/mrichter/AliRoot.git/blame_incremental - PWG2/FLOW/AliFlowCommonHist.h
Prototype for visualization-macro manager and gui.
[u/mrichter/AliRoot.git] / PWG2 / FLOW / AliFlowCommonHist.h
... / ...
CommitLineData
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 AliFlowCommonHist_H
7#define AliFlowCommonHist_H
8
9// AliFlowCommonHist:
10// Description: Class to organise common histograms for Flow Analysis
11// authors: N.K A.B R.S
12
13
14class AliFlowEventSimple;
15class AliFlowTrackSimple;
16class TH1F;
17class TH1D;
18class TProfile;
19class TCollection;
20class TList;
21
22class AliFlowCommonHist: public TNamed {
23
24 public:
25
26 AliFlowCommonHist();
27 AliFlowCommonHist(const char *name,const char *title = "AliFlowCommonHist");
28 virtual ~AliFlowCommonHist();
29
30 //make fill methods here
31 Bool_t FillControlHistograms(AliFlowEventSimple* anEvent);
32
33 //make get methods here
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
36
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;} ;
49
50 virtual Double_t Merge(TCollection *aList); //merge function
51 //method to print stats
52 void Print(Option_t* option = "") const;
53
54
55 private:
56
57 AliFlowCommonHist(const AliFlowCommonHist& aSetOfHists);
58 AliFlowCommonHist& operator=(const AliFlowCommonHist& aSetOfHists);
59
60 //define histograms here
61 //control histograms
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
77};
78#endif
79