]> git.uio.no Git - u/mrichter/AliRoot.git/blame - PWG2/FLOW/AliFlowCommon/AliFlowCommonHistResults.h
corrections for single particle distributions in Q cumulants{2}
[u/mrichter/AliRoot.git] / PWG2 / FLOW / AliFlowCommon / AliFlowCommonHistResults.h
CommitLineData
9ba489f7 1/*
2 * Copyright(c) 1998-1999, ALICE Experiment at CERN, All rights reserved.
3 * See cxx source for full Copyright notice
4 * $Id$
5 */
f1d945a1 6
9ba489f7 7/*************************************
8 * AliFlowCommonHistResults: *
9 * class to organize the common *
10 * histograms for Flow Analysis *
11 * *
12 * authors: Naomi van der Kolk *
13 * (kolk@nikhef.nl) *
14 * Raimond Snellings *
15 * (snelling@nikhef.nl) *
16 * Ante Bilandzic *
17 * (anteb@nikhef.nl) *
18 * **********************************/
19
20#ifndef ALIFLOWCOMMONHISTRESULTS_H
21#define ALIFLOWCOMMONHISTRESULTS_H
f1d945a1 22
23class TH1F;
24class TH1D;
8de6876d 25class TCollection;
26class TList;
9d062fe3 27class TBrowser;
f1d945a1 28
9d062fe3 29class AliFlowCommonHistResults : public TNamed {
f1d945a1 30
31 public:
9ba489f7 32 AliFlowCommonHistResults(); //default constructor
33 AliFlowCommonHistResults(const char *name, const char *title = "AliFlowCommonHist"); //constructor
34 virtual ~AliFlowCommonHistResults(); //destructor
f1d945a1 35
9d062fe3 36 Bool_t IsFolder() const {return kTRUE;};
37 void Browse(TBrowser *b);
38
9ba489f7 39 //xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx
40 // !!! to be removed !!!
f1d945a1 41 //make fill methods here
0b4cb25b 42 Bool_t FillIntegratedFlow(Double_t aV, Double_t anError); //fill fHistIntFlow
43 Bool_t FillDifferentialFlow(Int_t aBin, Double_t av, Double_t anError); //fill fHistDiffFlow
44 Bool_t FillChi(Double_t aChi); //fill fHistChi
9ba489f7 45 //xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx
f1d945a1 46
9ba489f7 47 //make fill methods here
48 Bool_t FillIntegratedFlowRP(Double_t aV, Double_t anError); //fill fHistIntFlowRP
49 Bool_t FillChiRP(Double_t aChi); //fill fHistChiRP
50 Bool_t FillDifferentialFlowPtRP(Int_t aBin, Double_t av, Double_t anError); //fill fHistDiffFlowPtRP
51 Bool_t FillDifferentialFlowEtaRP(Int_t aBin, Double_t av, Double_t anError); //fill fHistDiffFlowEtaRP
52 Bool_t FillIntegratedFlowPOI(Double_t aV, Double_t anError); //fill fHistIntFlowPOI
53 Bool_t FillChiPOI(Double_t aChi); //fill fHistChiPOI
54 Bool_t FillDifferentialFlowPtPOI(Int_t aBin, Double_t av, Double_t anError); //fill fHistDiffFlowPtPOI
55 Bool_t FillDifferentialFlowEtaPOI(Int_t aBin, Double_t av, Double_t anError); //fill fHistDiffFlowEtaPOI
56
57 //xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx
58 // !!! to be removed !!!
f1d945a1 59 //make get methods here
9ba489f7 60 TH1D* GetHistDiffFlow() {return fHistDiffFlow; } ;
61 TH1D* GetHistChi() {return fHistChi; } ;
62 TH1D* GetHistIntFlow() {return fHistIntFlow; } ;
63 //xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx
64
65 //RP = Reaction Plane (RP denotes particles used to determine the reaction plane)
66 TH1D *GetHistIntFlowRP() {return fHistIntFlowRP; } ;
67 TH1D *GetHistChiRP() {return fHistChiRP; } ;
68 TH1D *GetHistDiffFlowPtRP() {return fHistDiffFlowPtRP; } ;
69 TH1D *GetHistDiffFlowEtaRP() {return fHistDiffFlowEtaRP; } ;
70 //POI = Particles Of Interest (POI denotes particles of interest for the final physical results for int. and diff. flow)
71 TH1D *GetHistIntFlowPOI() {return fHistIntFlowPOI; } ;
72 TH1D *GetHistChiPOI() {return fHistChiPOI; } ;
73 TH1D *GetHistDiffFlowPtPOI() {return fHistDiffFlowPtPOI; } ;
74 TH1D *GetHistDiffFlowEtaPOI() {return fHistDiffFlowEtaPOI; } ;
75
88e00a8a 76 TList* GetHistList() {return fHistList;} ;
8de6876d 77
78 virtual Double_t Merge(TCollection *aList); //merge function
9d062fe3 79 void Print(Option_t* option = "") const; //method to print stats
8de6876d 80
f1d945a1 81 private:
82
0b4cb25b 83 AliFlowCommonHistResults(const AliFlowCommonHistResults& aSetOfResultHists); //copy constructor
84 AliFlowCommonHistResults& operator=(const AliFlowCommonHistResults& aSetOfResultHists); //assignment operator
9ba489f7 85
86 //xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx
87 // !!! to be removed !!!
8de6876d 88 TH1D* fHistIntFlow; //integrated flow
89 TH1D* fHistDiffFlow; //differential flow
90 TH1D* fHistChi; //resolution
9ba489f7 91 //xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx
92
93 //RP = Reaction Plane (RP denotes particles used to determine the reaction plane)
94 TH1D *fHistIntFlowRP; //integrated flow
95 TH1D *fHistChiRP; //chi
96 TH1D *fHistDiffFlowPtRP; //differential flow (Pt)
97 TH1D *fHistDiffFlowEtaRP; //differential flow (Eta)
98 //POI = Particles Of Interest (POI denotes particles of interest for the final physical results of int. and diff. flow)
99 TH1D *fHistIntFlowPOI; //integrated flow
100 TH1D *fHistChiPOI; //chi
101 TH1D *fHistDiffFlowPtPOI; //differential flow (Pt)
102 TH1D *fHistDiffFlowEtaPOI; //differential flow (Eta)
103
8de6876d 104 TList* fHistList; //list to hold all histograms
105
9d062fe3 106 ClassDef(AliFlowCommonHistResults,1) // macro for rootcint
f1d945a1 107};
108
0683b7d5 109#endif
110