]> git.uio.no Git - u/mrichter/AliRoot.git/blob - HBTAN/AliHBTTrackPoints.h
AntiMerging cut implemented
[u/mrichter/AliRoot.git] / HBTAN / AliHBTTrackPoints.h
1 #ifndef ALIHBTTRACKPOINTS_H
2 #define ALIHBTTRACKPOINTS_H
3 //_________________________________
4 ////////////////////////////////////////////////////////////
5 //                                                        //
6 // class AliHBTTrackPoints                                //
7 //                                                        //
8 // used by Anti-Merging cut                               //
9 // contains set of poits the lay on track trajectory      //
10 // according to reconstructed track parameters -          //
11 // NOT CLUSTERS POSITIONS!!!                              //
12 // Anti-Merging cut is applied only on tracks coming from //
13 // different events (that are use to fill deniminators)   //
14 //                                                        //
15 ////////////////////////////////////////////////////////////
16 #include <TObject.h>
17
18 class AliTPCtrack;
19 class AliESDtrack;
20
21 class AliHBTTrackPoints: public TObject
22 {
23   public:
24     AliHBTTrackPoints();
25     AliHBTTrackPoints(Int_t n, AliTPCtrack* track, Float_t dr=30,Float_t r0 = 84.1); //min TPC R  = 84.1; max TPC R =  246.6cm, 
26     
27     virtual ~AliHBTTrackPoints();
28     
29     Double_t AvarageDistance(const AliHBTTrackPoints& tr);
30     void PositionAt(Int_t n, Float_t &x, Float_t &y, Float_t &z);
31     Int_t GetDebug() const {return fgDebug;}
32     void  SetDebug(Int_t deblevel){fgDebug = deblevel;} 
33     static void tp(Int_t entr);
34   protected:
35   private:
36     Int_t    fN;//number of points
37     Float_t* fX;//[fN]
38     Float_t* fY;//[fN]
39     Float_t* fZ;//[fN]
40 //    Float_t* fR;//! [fN] radii
41     static Int_t fgDebug;//! debug level
42     ClassDef(AliHBTTrackPoints,1)
43 };
44 #endif