]>
Commit | Line | Data |
---|---|---|
f1d945a1 | 1 | /* Copyright(c) 1998-1999, ALICE Experiment at CERN, All rights reserved. * |
2 | * See cxx source for full Copyright notice */ | |
3 | ||
f1d945a1 | 4 | |
5 | #ifndef AliFlowCommonHistResults_H | |
6 | #define AliFlowCommonHistResults_H | |
7 | ||
8 | class TH1F; | |
9 | class TH1D; | |
8de6876d | 10 | class TCollection; |
11 | class TList; | |
f1d945a1 | 12 | |
13 | // AliFlowCommonHistResults: | |
14 | // Class to organize the common histograms for Flow Analysis | |
15 | // authors: N. van der Kolk (kolk@nikhef.nl) and A. Bilandzic (anteb@nikhef.nl) | |
16 | ||
6300ec0a | 17 | class AliFlowCommonHistResults : public TObject { |
f1d945a1 | 18 | |
19 | public: | |
8de6876d | 20 | AliFlowCommonHistResults(); //default constructor |
0b4cb25b | 21 | AliFlowCommonHistResults(TString input); //constructor |
22 | virtual ~AliFlowCommonHistResults(); //destructor | |
f1d945a1 | 23 | |
24 | //make fill methods here | |
0b4cb25b | 25 | Bool_t FillIntegratedFlow(Double_t aV, Double_t anError); //fill fHistIntFlow |
26 | Bool_t FillDifferentialFlow(Int_t aBin, Double_t av, Double_t anError); //fill fHistDiffFlow | |
27 | Bool_t FillChi(Double_t aChi); //fill fHistChi | |
f1d945a1 | 28 | |
29 | //make get methods here | |
88e00a8a | 30 | TH1D* GetHistDiffFlow() {return fHistDiffFlow; } ; |
31 | TH1D* GetHistChi() {return fHistChi; } ; | |
32 | TH1D* GetHistIntFlow() {return fHistIntFlow; } ; | |
33 | TList* GetHistList() {return fHistList;} ; | |
8de6876d | 34 | |
35 | virtual Double_t Merge(TCollection *aList); //merge function | |
36 | ||
f1d945a1 | 37 | private: |
38 | ||
0b4cb25b | 39 | AliFlowCommonHistResults(const AliFlowCommonHistResults& aSetOfResultHists); //copy constructor |
40 | AliFlowCommonHistResults& operator=(const AliFlowCommonHistResults& aSetOfResultHists); //assignment operator | |
20605536 | 41 | |
8de6876d | 42 | TH1D* fHistIntFlow; //integrated flow |
43 | TH1D* fHistDiffFlow; //differential flow | |
44 | TH1D* fHistChi; //resolution | |
45 | TList* fHistList; //list to hold all histograms | |
46 | ||
f1d945a1 | 47 | ClassDef(AliFlowCommonHistResults,0) // macro for rootcint |
48 | }; | |
49 | ||
0683b7d5 | 50 | #endif |
51 |