]> git.uio.no Git - u/mrichter/AliRoot.git/blob - PWG2/FLOW/AliFlowCommonHistResults.h
gain set to 1 for all ch
[u/mrichter/AliRoot.git] / PWG2 / FLOW / AliFlowCommonHistResults.h
1 /* Copyright(c) 1998-1999, ALICE Experiment at CERN, All rights reserved. *
2  * See cxx source for full Copyright notice                               */
3
4
5 #ifndef AliFlowCommonHistResults_H
6 #define AliFlowCommonHistResults_H
7
8 class TH1F;
9 class TH1D;
10 class TCollection;
11 class TList;
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
17 class AliFlowCommonHistResults : public TObject {
18
19  public:
20   AliFlowCommonHistResults();               //default constructor
21   AliFlowCommonHistResults(TString input);  //constructor
22   virtual ~AliFlowCommonHistResults();      //destructor
23
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
28
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;} ;  
34
35   virtual Double_t  Merge(TCollection *aList);  //merge function
36
37  private:
38
39   AliFlowCommonHistResults(const AliFlowCommonHistResults& aSetOfResultHists);            //copy constructor
40   AliFlowCommonHistResults& operator=(const AliFlowCommonHistResults& aSetOfResultHists); //assignment operator
41
42   TH1D*     fHistIntFlow;      //integrated flow
43   TH1D*     fHistDiffFlow;     //differential flow
44   TH1D*     fHistChi;          //resolution
45   TList*    fHistList;         //list to hold all histograms
46
47   ClassDef(AliFlowCommonHistResults,0)                 // macro for rootcint
48 };
49  
50 #endif
51