]> git.uio.no Git - u/mrichter/AliRoot.git/blob - PWG2/FLOW/AliQCumulantsFunctions.h
5e2c2651fbad76939903f2d456cd9e7fba30c34d
[u/mrichter/AliRoot.git] / PWG2 / FLOW / AliQCumulantsFunctions.h
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  * functions and equations needed * 
9  * for calculation of Q-cumulants *
10  * and final flow estimates       *
11  *                                *   
12  * author:  Ante Bilandzic        * 
13  *           (anteb@nikhef.nl)    *
14  *********************************/ 
15
16 #ifndef ALIQCUMULANTSFUNCTIONS_H
17 #define ALIQCUMULANTSFUNCTIONS_H
18
19 #include "AliFlowCommonConstants.h"
20
21 class TH1;
22 class TProfile;
23 class TProfile2D;
24 class TProfile3D;
25
26 class TObjArray;
27 class TList;
28 class TFile;
29
30 class AliFlowCommonHistResults;
31
32 //================================================================================================================
33
34 class AliQCumulantsFunctions{
35  public:
36   AliQCumulantsFunctions();
37   virtual ~AliQCumulantsFunctions();
38   AliQCumulantsFunctions(TH1D *intRes, TH1D *diffRes2nd, TH1D *diffRes4th, TH1D *covar, TProfile *AvMult, TProfile *QVector, TProfile *QCorr, TProfile *QProd, TProfile *Direct, TProfile *binPt2p1n1nRP, TProfile *binPt2p2n2nRP, TProfile *binPt3p2n1n1nRP, TProfile *binPt3p1n1n2nRP, TProfile *binPt4p1n1n1n1nRP, TProfile *binEta2p1n1nRP, TProfile *binEta2p2n2nRP, TProfile *binEta3p2n1n1nRP, TProfile *binEta3p1n1n2nRP, TProfile *binEta4p1n1n1n1nRP, TProfile *binPt2p1n1nPOI, TProfile *binPt2p2n2nPOI, TProfile *binPt3p2n1n1nPOI, TProfile *binPt3p1n1n2nPOI, TProfile *binPt4p1n1n1n1nPOI, TProfile *binEta2p1n1nPOI, TProfile *binEta2p2n2nPOI, TProfile *binEta3p2n1n1nPOI, TProfile *binEta3p1n1n2nPOI, TProfile *binEta4p1n1n1n1nPOI, AliFlowCommonHistResults *chr2nd, AliFlowCommonHistResults *chr4th, AliFlowCommonHistResults *chr6th, AliFlowCommonHistResults *chr8th);
39  
40   void Calculate();
41
42  private:
43   AliQCumulantsFunctions(const AliQCumulantsFunctions& Qfun);
44   AliQCumulantsFunctions& operator=(const AliQCumulantsFunctions& Qfun);
45   
46   TH1D     *fIntRes;          //results for integrated flow
47   TH1D     *fDiffRes2nd;      //results for differential flow (2nd order)
48   TH1D     *fDiffRes4th;      //results for differential flow (4th order)
49   TH1D     *fCovar;           //results for covariances (1st bin: <2*4>-<2>*<4>, 2nd bin: <2*6>-<2>*<6>, ...)  
50           
51   TProfile *fAvMult;          //avarage selected multiplicity for int. flow
52   TProfile *fQVector;         //avarage values of Q-vector components
53   TProfile *fQCorr;           //multi-particle correlations calculated from Q-vectors 
54   TProfile *fQProd;           //average of products: 1st bin: <2*4>, 2nd bin: <2*6>, ...
55
56   TProfile *fDirect;          //direct correlations (correlations calculated with nested loopps)
57   
58   TProfile *fbinPt2p1n1nRP;     //<<2'>>_{n|n} per pt-bin
59   TProfile *fbinPt2p2n2nRP;     //<<2'>>_{2n|2n} per pt-bin
60   TProfile *fbinPt3p2n1n1nRP;   //<<3'>>_{2n,n|n} per pt-bin
61   TProfile *fbinPt3p1n1n2nRP;   //<<3'>>_{n,n|2n} per pt-bin
62   TProfile *fbinPt4p1n1n1n1nRP; //<<4'>>_{n,n|n,n} per pt-bin
63   
64   TProfile *fbinEta2p1n1nRP;     //<<2'>>_{n|n} per eta-bin
65   TProfile *fbinEta2p2n2nRP;     //<<2'>>_{2n|2n} per eta-bin
66   TProfile *fbinEta3p2n1n1nRP;   //<<3'>>_{2n,n|n} per eta-bin
67   TProfile *fbinEta3p1n1n2nRP;   //<<3'>>_{n,n|2n} per eta-bin
68   TProfile *fbinEta4p1n1n1n1nRP; //<<4'>>_{n,n|n,n} per eta-bin  
69   
70   TProfile *fbinPt2p1n1nPOI;     //<<2'>>_{n|n} per pt-bin
71   TProfile *fbinPt2p2n2nPOI;     //<<2'>>_{2n|2n} per pt-bin
72   TProfile *fbinPt3p2n1n1nPOI;   //<<3'>>_{2n,n|n} per pt-bin
73   TProfile *fbinPt3p1n1n2nPOI;   //<<3'>>_{n,n|2n} per pt-bin
74   TProfile *fbinPt4p1n1n1n1nPOI; //<<4'>>_{n,n|n,n} per pt-bin
75   
76   TProfile *fbinEta2p1n1nPOI;     //<<2'>>_{n|n} per eta-bin
77   TProfile *fbinEta2p2n2nPOI;     //<<2'>>_{2n|2n} per eta-bin
78   TProfile *fbinEta3p2n1n1nPOI;   //<<3'>>_{2n,n|n} per eta-bin
79   TProfile *fbinEta3p1n1n2nPOI;   //<<3'>>_{n,n|2n} per eta-bin
80   TProfile *fbinEta4p1n1n1n1nPOI; //<<4'>>_{n,n|n,n} per eta-bin  
81   
82   AliFlowCommonHistResults *fchr2nd; //final results for 2nd order int. and diff. flow stored in the common histograms
83   AliFlowCommonHistResults *fchr4th; //final results for 4th order int. and diff. flow stored in the common histograms
84   AliFlowCommonHistResults *fchr6th; //final results for 6th order int. and diff. flow stored in the common histograms
85   AliFlowCommonHistResults *fchr8th; //final results for 8th order int. and diff. flow stored in the common histograms
86               
87   ClassDef(AliQCumulantsFunctions, 0);
88 };
89
90 //================================================================================================================
91
92 #endif
93
94
95
96
97