]>
Commit | Line | Data |
---|---|---|
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 | |
23 | class TH1F; | |
24 | class TH1D; | |
8de6876d | 25 | class TCollection; |
26 | class TList; | |
9d062fe3 | 27 | class TBrowser; |
f1d945a1 | 28 | |
9d062fe3 | 29 | class AliFlowCommonHistResults : public TNamed { |
f1d945a1 | 30 | |
31 | public: | |
62e36168 | 32 | AliFlowCommonHistResults(); // default constructor |
33 | AliFlowCommonHistResults(const char *name, const char *title = "AliFlowCommonHist", Int_t harmonic = 2); // constructor | |
34 | virtual ~AliFlowCommonHistResults(); // destructor | |
f1d945a1 | 35 | |
62e36168 | 36 | Bool_t IsFolder() const {return kTRUE;}; |
9d062fe3 | 37 | void Browse(TBrowser *b); |
38 | ||
62e36168 | 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 | |
f1d945a1 | 42 | |
62e36168 | 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 | |
9ba489f7 | 50 | |
62e36168 | 51 | // Getters: |
52 | // Reference flow: | |
53 | TH1D* GetHistChi(){return fHistChi;}; | |
54 | TH1D* GetHistIntFlow(){return fHistIntFlow;}; | |
55 | // RP = Reference Particles: | |
56 | TH1D* GetHistIntFlowRP(){return fHistIntFlowRP;}; | |
57 | TH1D* GetHistDiffFlowPtRP(){return fHistDiffFlowPtRP;}; | |
58 | TH1D* GetHistDiffFlowEtaRP(){return fHistDiffFlowEtaRP;}; | |
59 | // POI = Particles Of Interest: | |
60 | TH1D* GetHistIntFlowPOI(){return fHistIntFlowPOI;}; | |
61 | TH1D* GetHistDiffFlowPtPOI(){return fHistDiffFlowPtPOI;}; | |
62 | TH1D* GetHistDiffFlowEtaPOI(){return fHistDiffFlowEtaPOI;}; | |
9ba489f7 | 63 | |
62e36168 | 64 | TList* GetHistList(){return fHistList;}; |
8de6876d | 65 | |
62e36168 | 66 | virtual Double_t Merge(TCollection *aList); // merge function |
67 | void Print(Option_t* option = "") const; // method to print stats | |
8de6876d | 68 | |
f1d945a1 | 69 | private: |
62e36168 | 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 | |
9ba489f7 | 83 | |
62e36168 | 84 | TList* fHistList; // list to hold all histograms |
8de6876d | 85 | |
62e36168 | 86 | ClassDef(AliFlowCommonHistResults,2) // macro for rootcint |
f1d945a1 | 87 | }; |
88 | ||
0683b7d5 | 89 | #endif |
90 |