]> git.uio.no Git - u/mrichter/AliRoot.git/blob - PWGCF/FEMTOSCOPY/AliFemtoUser/AliFemtoCorrFctnTPCNcls.h
Merge branch 'feature-movesplit'
[u/mrichter/AliRoot.git] / PWGCF / FEMTOSCOPY / AliFemtoUser / AliFemtoCorrFctnTPCNcls.h
1 ////////////////////////////////////////////////////////////////////////////////
2 //                                                                            //
3 // AliFemtoCorrFctnTPCNcls - A correlation function that saves the correlation//
4 // function as a function of number of TPC clusters of the track              //
5 //                                                                            //
6 // Authors: Adam Kisiel kisiel@mps.ohio-state.edu                             //
7 //                                                                            //
8 ////////////////////////////////////////////////////////////////////////////////
9
10 #ifndef ALIFEMTOCORRFCTNTPCNCLS_H
11 #define ALIFEMTOCORRFCTNTPCNCLS_H
12
13 #include "TH1D.h"
14 #include "TH2D.h"
15 #include "AliFemtoCorrFctn.h"
16
17 class AliFemtoCorrFctnTPCNcls : public AliFemtoCorrFctn {
18 public:
19   AliFemtoCorrFctnTPCNcls(char* title, const int& nbins, const float& QinvLo, const float& QinvHi);
20   AliFemtoCorrFctnTPCNcls(const AliFemtoCorrFctnTPCNcls& aCorrFctn);
21   virtual ~AliFemtoCorrFctnTPCNcls();
22
23   AliFemtoCorrFctnTPCNcls& operator=(const AliFemtoCorrFctnTPCNcls& aCorrFctn);
24
25   virtual AliFemtoString Report();
26   virtual void AddRealPair(AliFemtoPair* aPair);
27   virtual void AddMixedPair(AliFemtoPair* aPair);
28
29   virtual void Finish();
30
31   void WriteHistos();
32   virtual TList* GetOutputList();
33 private:
34   
35   TH2D *fNclsTPCMinNumerator;        // Numerator as a function of lower TPC Ncls of the pair 
36   TH2D *fNclsTPCMinDenominator;      // Denominator as a function of lower TPC Ncls of the pair
37
38 #ifdef __ROOT__
39   ClassDef(AliFemtoCorrFctnTPCNcls, 1)
40 #endif
41 };
42
43
44 #endif
45