]> git.uio.no Git - u/mrichter/AliRoot.git/blame - PWG2/FLOW/AliFlowCommonHist.h
Filling the GRP entry inside ALiSimulation. Can be swtiched off/on via SetWriteGRPEnt...
[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
7ffdc193 22class AliFlowCommonHist: public TObject {
f1d945a1 23
24 public:
25
e35ddff0 26 AliFlowCommonHist();
27 AliFlowCommonHist(TString anInput);
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
37 TH1F* GetfHistMultOrig() {return fHistMultOrig; } ;
38 TH1F* GetfHistMultInt() {return fHistMultInt; } ;
39 TH1F* GetfHistMultDiff() {return fHistMultDiff; } ;
40 TH1F* GetfHistPtInt() {return fHistPtInt; } ;
41 TH1F* GetfHistPtDiff() {return fHistPtDiff; } ;
42 TH1F* GetfHistPhiInt() {return fHistPhiInt; } ;
43 TH1F* GetfHistPhiDiff() {return fHistPhiDiff; } ;
44 TH1F* GetfHistEtaInt() {return fHistEtaInt; } ;
45 TH1F* GetfHistEtaDiff() {return fHistEtaDiff; } ;
46 TProfile* GetfHistProMeanPtperBin() {return fHistProMeanPtperBin; } ;
47 TH1F* GetfHistQ() {return fHistQ; } ;
e35ddff0 48 TList* GetHistList() {return fHistList;} ;
49
50 virtual Double_t Merge(TCollection *aList); //merge function
f1d945a1 51
52 private:
53
20605536 54 AliFlowCommonHist(const AliFlowCommonHist& aSetOfHists);
55 AliFlowCommonHist& operator=(const AliFlowCommonHist& aSetOfHists);
56
f1d945a1 57 //define histograms here
58 //control histograms
e35ddff0 59 TH1F* fHistMultOrig; //multiplicity before selection
60 TH1F* fHistMultInt; //multiplicity for integrated flow
61 TH1F* fHistMultDiff; //multiplicity for differential flow
62 TH1F* fHistPtInt; //pt distribution for integrated flow
63 TH1F* fHistPtDiff; //pt distribution for differential flow
64 TH1F* fHistPhiInt; //phi distribution for integrated flow
65 TH1F* fHistPhiDiff; //phi distribution for differential flow
66 TH1F* fHistEtaInt; //eta distribution for integrated flow
67 TH1F* fHistEtaDiff; //eta distribution for differential flow
68 TProfile* fHistProMeanPtperBin; //mean pt for each pt bin (for differential flow)
69 TH1F* fHistQ; //Qvector distribution
70
71 TList* fHistList; //list to hold all histograms
72
73 ClassDef(AliFlowCommonHist,0); // macro for rootcint
f1d945a1 74};
0683b7d5 75#endif
76