]> git.uio.no Git - u/mrichter/AliRoot.git/blob - PWG2/FEMTOSCOPY/AliFemtoUser/AliFemtoTPCInnerCorrFctn.h
Lines getting the matched track moved to a method in AliCalorimeterUtils. Lines copie...
[u/mrichter/AliRoot.git] / PWG2 / FEMTOSCOPY / AliFemtoUser / AliFemtoTPCInnerCorrFctn.h
1 ////////////////////////////////////////////////////////////////////////////////
2 ///                                                                          ///
3 /// AliFemtoTPCInnerCorrFctn - A correlation function that saves the         ///
4 /// distance at the entrance to the TPC between two tracks as a function     ///
5 /// of qinv                                                                  ///
6 /// Authors: Adam Kisiel kisiel@mps.ohio-state.edu                           ///
7 ///                                                                          ///
8 ////////////////////////////////////////////////////////////////////////////////
9
10 #ifndef AliFemtoTPCInnerCorrFctn_hh
11 #define AliFemtoTPCInnerCorrFctn_hh
12
13 #include "TH1D.h"
14 #include "TH2D.h"
15 #include "AliFemtoCorrFctn.h"
16
17 class AliFemtoTPCInnerCorrFctn : public AliFemtoCorrFctn {
18 public:
19   AliFemtoTPCInnerCorrFctn(char* title, const int& nbins, const float& QinvLo, const float& QinvHi);
20   AliFemtoTPCInnerCorrFctn(const AliFemtoTPCInnerCorrFctn& aCorrFctn);
21   virtual ~AliFemtoTPCInnerCorrFctn();
22
23   AliFemtoTPCInnerCorrFctn& operator=(const AliFemtoTPCInnerCorrFctn& aCorrFctn);
24
25   virtual AliFemtoString Report();
26   virtual void AddRealPair(AliFemtoPair* aPair);
27   virtual void AddMixedPair(AliFemtoPair* aPair);
28   void SetRadius(double rad);
29
30   virtual void Finish();
31
32   void WriteHistos();
33   virtual TList* GetOutputList();
34 private:
35   
36   TH2D *fDTPCNumerator;        // Distance at the entrance to the TPC for real pairs
37   TH2D *fDTPCDenominator;      // Distance at the entrance to tht TPC for mixed pairs
38   TH2D *fRadDNumerator;        // Distance at the radius for real pairs
39   TH2D *fRadDDenominator;      // Distance at the radius for mixed pairs
40   Double_t fRadius;            // Radius at which to calculate the distance
41
42 #ifdef __ROOT__
43   ClassDef(AliFemtoTPCInnerCorrFctn, 1)
44 #endif
45 };
46
47
48 #endif
49