1 /* Copyright(c) 1998-1999, ALICE Experiment at CERN, All rights reserved. *
2 * See cxx source for full Copyright notice */
5 #ifndef AliFlowCommonHistResults_H
6 #define AliFlowCommonHistResults_H
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)
17 class AliFlowCommonHistResults : public TObject {
20 AliFlowCommonHistResults(); //default constructor
21 AliFlowCommonHistResults(TString input); //constructor
22 virtual ~AliFlowCommonHistResults(); //destructor
24 //make fill methods here
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
29 //make get methods here
30 TH1D* GetHistDiffFlow() {return fHistDiffFlow; } ;
31 TH1D* GetHistChi() {return fHistChi; } ;
32 TH1D* GetHistIntFlow() {return fHistIntFlow; } ;
33 TList* GetHistList() {return fHistList;} ;
35 virtual Double_t Merge(TCollection *aList); //merge function
39 AliFlowCommonHistResults(const AliFlowCommonHistResults& aSetOfResultHists); //copy constructor
40 AliFlowCommonHistResults& operator=(const AliFlowCommonHistResults& aSetOfResultHists); //assignment operator
42 TH1D* fHistIntFlow; //integrated flow
43 TH1D* fHistDiffFlow; //differential flow
44 TH1D* fHistChi; //resolution
45 TList* fHistList; //list to hold all histograms
47 ClassDef(AliFlowCommonHistResults,0) // macro for rootcint