2 * Copyright(c) 1998-1999, ALICE Experiment at CERN, All rights reserved.
3 * See cxx source for full Copyright notice
7 /*************************************
8 * AliFlowCommonHistResults: *
9 * class to organize the common *
10 * histograms for Flow Analysis *
12 * authors: Naomi van der Kolk *
15 * (snelling@nikhef.nl) *
18 * **********************************/
20 #ifndef ALIFLOWCOMMONHISTRESULTS_H
21 #define ALIFLOWCOMMONHISTRESULTS_H
29 class AliFlowCommonHistResults : public TNamed {
32 AliFlowCommonHistResults(); //default constructor
33 AliFlowCommonHistResults(const char *name, const char *title = "AliFlowCommonHist"); //constructor
34 virtual ~AliFlowCommonHistResults(); //destructor
36 Bool_t IsFolder() const {return kTRUE;};
37 void Browse(TBrowser *b);
39 //xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx
40 // !!! to be removed !!!
41 //make fill methods here
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
45 //xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx
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
57 //xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx
58 // !!! to be removed !!!
59 //make get methods here
60 TH1D* GetHistDiffFlow() {return fHistDiffFlow; } ;
61 TH1D* GetHistChi() {return fHistChi; } ;
62 TH1D* GetHistIntFlow() {return fHistIntFlow; } ;
63 //xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx
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; } ;
76 TList* GetHistList() {return fHistList;} ;
78 virtual Double_t Merge(TCollection *aList); //merge function
79 void Print(Option_t* option = "") const; //method to print stats
83 AliFlowCommonHistResults(const AliFlowCommonHistResults& aSetOfResultHists); //copy constructor
84 AliFlowCommonHistResults& operator=(const AliFlowCommonHistResults& aSetOfResultHists); //assignment operator
86 //xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx
87 // !!! to be removed !!!
88 TH1D* fHistIntFlow; //integrated flow
89 TH1D* fHistDiffFlow; //differential flow
90 TH1D* fHistChi; //resolution
91 //xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx
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)
104 TList* fHistList; //list to hold all histograms
106 ClassDef(AliFlowCommonHistResults,1) // macro for rootcint