67348e59 |
1 | #ifndef AliHBTTwoTrackEffFctn_H |
2 | #define AliHBTTwoTrackEffFctn_H |
16f9289f |
3 | //____________________________________________________________________ |
4 | ////////////////////////////////////////////////////////////////////// |
5 | // // |
6 | // class AliHBTTwoTrackEffFctn // |
7 | // // |
8 | // classes for calculating two track efficiency of the tracking // |
9 | // binning is done using value of simulated pair montum difference // |
10 | // pair must be recontructed, that is why we need both pairs // |
11 | // (simulated and recontructed), thus functions are "two pair" // |
12 | // Piotr.Skowronski@cern.ch // |
13 | // // |
14 | ////////////////////////////////////////////////////////////////////// |
67348e59 |
15 | #include "AliHBTPair.h" |
16 | #include "AliHBTFunction.h" |
17 | |
fc13079c |
18 | class AliHBTTwoTrackEffFctn: public AliHBTOnePairFctn1D, public AliHBTCorrelFunction |
67348e59 |
19 | { |
20 | public: |
21 | AliHBTTwoTrackEffFctn(); |
22 | AliHBTTwoTrackEffFctn(Int_t nbins, Double_t maxval, Double_t minval); |
23 | virtual ~AliHBTTwoTrackEffFctn(){} |
24 | TH1* GetResult(); |
25 | protected: |
26 | Double_t GetValue(AliHBTPair* pair){return pair->GetDeltaP();} |
27 | private: |
fc13079c |
28 | ClassDef(AliHBTTwoTrackEffFctn,2) |
67348e59 |
29 | }; |
30 | |
fc13079c |
31 | class AliHBTTwoTrackEffFctn3D: public AliHBTOnePairFctn3D, public AliHBTCorrelFunction |
67348e59 |
32 | { |
33 | public: |
34 | AliHBTTwoTrackEffFctn3D(); |
35 | virtual ~AliHBTTwoTrackEffFctn3D(){} |
36 | |
bed069a4 |
37 | void ProcessSameEventParticles(AliHBTPair* /*pair*/){} |
38 | void ProcessDiffEventParticles(AliHBTPair* /*pair*/){} |
67348e59 |
39 | |
40 | protected: |
fc13079c |
41 | void GetValues(AliHBTPair*,Double_t&, Double_t&,Double_t&); |
67348e59 |
42 | private: |
fc13079c |
43 | ClassDef(AliHBTTwoTrackEffFctn3D,2) |
67348e59 |
44 | }; |
45 | #endif |