]> git.uio.no Git - u/mrichter/AliRoot.git/blob - PWGCF/FEMTOSCOPY/AliFemto/AliFemtoCorrFctnNonIdDR.h
Merge branch 'feature-movesplit'
[u/mrichter/AliRoot.git] / PWGCF / FEMTOSCOPY / AliFemto / AliFemtoCorrFctnNonIdDR.h
1 ////////////////////////////////////////////////////////////////////////////////
2 //                                                                            //
3 // AliFemtoCorrFctnNonIdDR - correlation function for non-identical particles //
4 // uses k* as a function variable. Stores the correlation function separately //
5 // for positive and negative signs of k* projections into out, side and long  //
6 // directions, enabling the calculations of double ratios                     //
7 //                                                                            //
8 ////////////////////////////////////////////////////////////////////////////////
9 #ifndef ALIFEMTOCORRFCTNNONIDDR_H
10 #define ALIFEMTOCORRFCTNNONIDDR_H
11
12 #include "TH1D.h"
13 #include "AliFemtoCorrFctn.h"
14
15 class AliFemtoCorrFctnNonIdDR : public AliFemtoCorrFctn {
16 public:
17   AliFemtoCorrFctnNonIdDR(char* title, const int& nbins, const float& QinvLo, const float& QinvHi);
18   AliFemtoCorrFctnNonIdDR(const AliFemtoCorrFctnNonIdDR& aCorrFctn);
19   virtual ~AliFemtoCorrFctnNonIdDR();
20
21   AliFemtoCorrFctnNonIdDR& operator=(const AliFemtoCorrFctnNonIdDR& aCorrFctn);
22
23   virtual AliFemtoString Report();
24   virtual void AddRealPair(AliFemtoPair* aPair);
25   virtual void AddMixedPair(AliFemtoPair* aPair);
26
27   virtual void Finish();
28
29   virtual TList* GetOutputList();
30   void Write();
31
32 private:
33   TH1D *fNumOutP;     // Numerator for pair with positive k*out
34   TH1D *fNumOutN;     // Numerator for pair with negative k*out
35   TH1D *fNumSideP;    // Numerator for pair with positive k*side
36   TH1D *fNumSideN;    // Numerator for pair with negative k*side
37   TH1D *fNumLongP;    // Numerator for pair with positive k*long
38   TH1D *fNumLongN;    // Numerator for pair with negative k*long
39
40   TH1D *fDenOutP;     // Denominator for pair with positive k*out
41   TH1D *fDenOutN;     // Denominator for pair with negative k*out
42   TH1D *fDenSideP;    // Denominator for pair with positive k*side
43   TH1D *fDenSideN;    // Denominator for pair with negative k*side
44   TH1D *fDenLongP;    // Denominator for pair with positive k*long
45   TH1D *fDenLongN;    // Denominator for pair with negative k*long
46
47     TH1D* fkTMonitor;          // Monitor the kT of pairs in the function
48
49 #ifdef __ROOT__
50   ClassDef(AliFemtoCorrFctnNonIdDR, 1)
51 #endif
52 };
53
54
55 #endif
56