AliPhysics  608b256 (608b256)
AliFlowCommonHistResults.h
Go to the documentation of this file.
1 /*
2  * Copyright(c) 1998-1999, ALICE Experiment at CERN, All rights reserved.
3  * See cxx source for full Copyright notice
4  * $Id$
5  */
6 
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
22 
23 class TH1F;
24 class TH1D;
25 class TCollection;
26 class TList;
27 class TBrowser;
28 
30 
31  public:
32  AliFlowCommonHistResults(); // default constructor
33  AliFlowCommonHistResults(const char *name, const char *title = "AliFlowCommonHist", Int_t harmonic = 2); // constructor
34  virtual ~AliFlowCommonHistResults(); // destructor
35 
36  Bool_t IsFolder() const {return kTRUE;};
37  void Browse(TBrowser *b);
38 
39  // Make fill methods for reference flow here: (TBI: rename eventually to FillReferenceFlow)
40  Bool_t FillIntegratedFlow(Double_t aV, Double_t anError); // fill fHistIntFlow
41  Bool_t FillChi(Double_t aChi); // fill fHistChi
42 
43  // Make fill methods for differential and integrated flow here:
44  Bool_t FillIntegratedFlowRP(Double_t aV, Double_t anError); // fill fHistIntFlowRP
45  Bool_t FillDifferentialFlowPtRP(Int_t aBin, Double_t av, Double_t anError); // fill fHistDiffFlowPtRP
46  Bool_t FillDifferentialFlowEtaRP(Int_t aBin, Double_t av, Double_t anError); // fill fHistDiffFlowEtaRP
47  Bool_t FillIntegratedFlowPOI(Double_t aV, Double_t anError); // fill fHistIntFlowPOI
48  Bool_t FillDifferentialFlowPtPOI(Int_t aBin, Double_t av, Double_t anError); // fill fHistDiffFlowPtPOI
49  Bool_t FillDifferentialFlowEtaPOI(Int_t aBin, Double_t av, Double_t anError); // fill fHistDiffFlowEtaPOI
50 
51  // Getters:
52  // Reference flow:
53  TH1D* GetHistChi(){return fHistChi;};
55  // RP = Reference Particles:
59  // POI = Particles Of Interest:
63 
64  TList* GetHistList(){return fHistList;};
65 
66  virtual Double_t Merge(TCollection *aList); // merge function
67  void Print(Option_t* option = "") const; // method to print stats
68 
69  private:
70  AliFlowCommonHistResults(const AliFlowCommonHistResults& aSetOfResultHists); // copy constructor
71  AliFlowCommonHistResults& operator=(const AliFlowCommonHistResults& aSetOfResultHists); // assignment operator
72  // Reference flow:
73  TH1D* fHistIntFlow; // reference flow
74  TH1D* fHistChi; // resolution
75  // RP = Reference Particles:
76  TH1D* fHistIntFlowRP; // integrated flow of RPs
77  TH1D* fHistDiffFlowPtRP; // differential flow (Pt) of RPs
78  TH1D* fHistDiffFlowEtaRP; // differential flow (Eta) of RPs
79  // POI = Particles Of Interest:
80  TH1D* fHistIntFlowPOI; // integrated flow of POIs
81  TH1D* fHistDiffFlowPtPOI; // differential flow (Pt) of POIs
82  TH1D* fHistDiffFlowEtaPOI; // differential flow (Eta) of POIs
83 
84  TList* fHistList; // list to hold all histograms
85 
86  ClassDef(AliFlowCommonHistResults,2) // macro for rootcint
87 };
88 
89 #endif
90 
double Double_t
Definition: External.C:58
const char * title
Definition: MakeQAPdf.C:27
void Print(Option_t *option="") const
Bool_t FillDifferentialFlowPtRP(Int_t aBin, Double_t av, Double_t anError)
Bool_t FillIntegratedFlowRP(Double_t aV, Double_t anError)
int Int_t
Definition: External.C:63
Definition: External.C:212
Bool_t FillIntegratedFlow(Double_t aV, Double_t anError)
Bool_t FillDifferentialFlowEtaPOI(Int_t aBin, Double_t av, Double_t anError)
Bool_t FillIntegratedFlowPOI(Double_t aV, Double_t anError)
Bool_t FillDifferentialFlowPtPOI(Int_t aBin, Double_t av, Double_t anError)
virtual Double_t Merge(TCollection *aList)
AliFlowCommonHistResults & operator=(const AliFlowCommonHistResults &aSetOfResultHists)
const char Option_t
Definition: External.C:48
bool Bool_t
Definition: External.C:53
Bool_t FillDifferentialFlowEtaRP(Int_t aBin, Double_t av, Double_t anError)