Additional protection
[u/mrichter/AliRoot.git] / HBTAN / AliHBTTwoTrackEffFctn.h
CommitLineData
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
18class AliHBTTwoTrackEffFctn: public AliHBTOnePairFctn1D
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:
67348e59 28 ClassDef(AliHBTTwoTrackEffFctn,1)
29 };
30
31class AliHBTTwoTrackEffFctn3D: public AliHBTOnePairFctn3D
32 {
33 public:
34 AliHBTTwoTrackEffFctn3D();
35 virtual ~AliHBTTwoTrackEffFctn3D(){}
36
bed069a4 37 void ProcessSameEventParticles(AliHBTPair* /*pair*/){}
38 void ProcessDiffEventParticles(AliHBTPair* /*pair*/){}
67348e59 39
40 protected:
eb828ce0 41 void GetValues(AliHBTPair* pair,Double_t& x, Double_t& y,Double_t& z);
67348e59 42 private:
67348e59 43 ClassDef(AliHBTTwoTrackEffFctn3D,1)
44 };
45#endif