Do not unload gAlice, it is needed until the end of the simulation run
[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
fc13079c 18class 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:
f3fe9fc0 26 Double_t GetValue(AliHBTPair* pair) const {return pair->GetDeltaPvector();}
67348e59 27 private:
fc13079c 28 ClassDef(AliHBTTwoTrackEffFctn,2)
67348e59 29 };
8de70730 30/******************************************************************/
67348e59 31
8de70730 32class AliHBTTwoTrackEffFctnPxPyPz: public AliHBTOnePairFctn3D, public AliHBTCorrelFunction
67348e59 33 {
34 public:
8de70730 35 AliHBTTwoTrackEffFctnPxPyPz(Int_t nXbins = 100, Double_t maxXval = 0.15, Double_t minXval = 0.0,
36 Int_t nYbins = 100, Double_t maxYval = 0.15, Double_t minYval = 0.0,
37 Int_t nZbins = 100, Double_t maxZval = 0.15, Double_t minZval = 0.0);
38 virtual ~AliHBTTwoTrackEffFctnPxPyPz(){}
39 TH1* GetResult();
40 protected:
a22a56ec 41 void GetValues(AliHBTPair* pair,Double_t& x, Double_t& y,Double_t& z) const;
8de70730 42 private:
43 ClassDef(AliHBTTwoTrackEffFctnPxPyPz,2)
44 };
45/******************************************************************/
67348e59 46
8de70730 47class AliHBTTwoTrackEffFctnPtThetaPhi: public AliHBTOnePairFctn3D, public AliHBTCorrelFunction
48 {
49 public:
50 AliHBTTwoTrackEffFctnPtThetaPhi(Int_t nXbins = 100, Double_t maxXval = 0.15, Double_t minXval = 0.0,
ed20b0ba 51 Int_t nYbins = 100, Double_t maxYval = 0.3, Double_t minYval = 0.0,
52 Int_t nZbins = 100, Double_t maxZval = 0.3, Double_t minZval = 0.0);
8de70730 53 virtual ~AliHBTTwoTrackEffFctnPtThetaPhi(){}
54 TH1* GetResult();
67348e59 55 protected:
a22a56ec 56 void GetValues(AliHBTPair* pair,Double_t& x, Double_t& y,Double_t& z) const;
67348e59 57 private:
8de70730 58 ClassDef(AliHBTTwoTrackEffFctnPtThetaPhi,1)
67348e59 59 };
8de70730 60
67348e59 61#endif