]> git.uio.no Git - u/mrichter/AliRoot.git/blob - PWG2/FEMTOSCOPY/AliFemtoUser/AliFemtoBPLCMS3DCorrFctnEMCIC.h
Add EMCICs classes
[u/mrichter/AliRoot.git] / PWG2 / FEMTOSCOPY / AliFemtoUser / AliFemtoBPLCMS3DCorrFctnEMCIC.h
1 /***************************************************************************
2  *
3  * $Id: AliFemtoBPLCMS3DCorrFctnEMCIC.h  $
4  *
5  * Author: Nicolas Bock, Ohio State University, bock@mps.ohio-state.edu
6  ***************************************************************************
7  *
8  * Description: Calculates of the 3D Correlation Function, and also
9  *              produces histograms to calculate Energy Momentum Conservation
10  *              Induced Correlations  (EMCICs)
11  *
12  * This Class produces the following histograms as function of Qinv
13  * (for both real and mixed pairs):
14  *        1)   E1 + E2
15  *        2)   E1 * E2
16  *        3)   Pt1*Pt2
17  *        4)   Pz1*Pz2
18  *  
19  * The class is derived from AliFemtoBPLCMS3DCorrFctn, therefore it produces
20  * also the histograms in that class. 
21  * 
22  * NOTE: The EMCIC histograms are not averaged in this class, to obtain 
23  * the average, the user needs to divide the real pair histograms by 
24  * the numerator, and the mixed pair histograms by the denominator
25  *
26  ***************************************************************************
27  *
28  **************************************************************************/
29
30
31 #ifndef ALIFEMTOBPLCMS3DCORRFCTNEMCIC_H
32 #define ALIFEMTOBPLCMS3DCORRFCTNEMCIC_H
33
34 #include "AliFemtoCorrFctn.h"
35 #include "AliFemtoBPLCMS3DCorrFctn.h"
36 //#include "AliFemtoCoulomb.h"
37 #include "AliFemtoPairCut.h"
38 //#include "AliFemtoHisto.h"
39 #include "TH3D.h"
40 //#include "AliFemtoSmearPair.h"
41
42 class AliFemtoBPLCMS3DCorrFctnEMCIC : public AliFemtoBPLCMS3DCorrFctn {
43 public:
44   AliFemtoBPLCMS3DCorrFctnEMCIC(char* title, const int& nbins, const float& QLo, const float& QHi);
45   AliFemtoBPLCMS3DCorrFctnEMCIC(const AliFemtoBPLCMS3DCorrFctnEMCIC& aCorrFctn);
46   virtual ~AliFemtoBPLCMS3DCorrFctnEMCIC();
47
48   AliFemtoBPLCMS3DCorrFctnEMCIC& operator=(const AliFemtoBPLCMS3DCorrFctnEMCIC& aCorrFctn);
49
50  
51   virtual void AddRealPair( AliFemtoPair* aPair);
52   virtual void AddMixedPair( AliFemtoPair* aPair);
53
54  
55
56   void WriteOutHistos();
57   virtual TList* GetOutputList();
58
59 private:
60   
61     
62   //EMCIC histograms
63   TH3D* fEnergyTotalReal;       // E1+E2 from real pairs
64   TH3D* fEnergyMultReal;        // E1*E2
65   TH3D* fPzMultReal;            // Pz1*Pz2
66   TH3D* fPtMultReal;            // Pt1*Pt2
67   TH3D* fEnergyTotalMix;       // E1+E2 from mixed pairs
68   TH3D* fEnergyMultMix;        // E1*E2
69   TH3D* fPzMultMix;            // Pz1*Pz2
70   TH3D* fPtMultMix;            // Pt1*Pt2
71   
72   
73
74 #ifdef __ROOT__
75   ClassDef(AliFemtoBPLCMS3DCorrFctnEMCIC, 1)
76 #endif
77 };
78
79
80 #endif