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