Track points are moved according to vertex position so vertex is in (0,0,0)
[u/mrichter/AliRoot.git] / HBTAN / AliHBTTrackPoints.h
CommitLineData
f5de2f09 1#ifndef ALIHBTTRACKPOINTS_H
2#define ALIHBTTRACKPOINTS_H
9616170a 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////////////////////////////////////////////////////////////
f5de2f09 16#include <TObject.h>
17
18class AliTPCtrack;
19class AliESDtrack;
20
21class AliHBTTrackPoints: public TObject
22{
23 public:
8cb21125 24 enum ETypes{kITS = 1};
25
f5de2f09 26 AliHBTTrackPoints();
81877d10 27 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,
28 AliHBTTrackPoints(Int_t n, AliESDtrack* track, Float_t mf, Float_t dr=30,Float_t r0 = 84.1); //min TPC R = 84.1; max TPC R = 246.6cm,
8cb21125 29 AliHBTTrackPoints(AliHBTTrackPoints::ETypes type, AliESDtrack* track);
81877d10 30 AliHBTTrackPoints(const AliHBTTrackPoints& in);
f5de2f09 31
32 virtual ~AliHBTTrackPoints();
81877d10 33 AliHBTTrackPoints& operator=(const AliHBTTrackPoints& in);
f5de2f09 34
35 Double_t AvarageDistance(const AliHBTTrackPoints& tr);
36 void PositionAt(Int_t n, Float_t &x, Float_t &y, Float_t &z);
80d96796 37 void Move(Float_t x, Float_t y, Float_t z);
38
9616170a 39 Int_t GetDebug() const {return fgDebug;}
40 void SetDebug(Int_t deblevel){fgDebug = deblevel;}
81877d10 41 static void testtpc(Int_t entr);
42 static void testesd(Int_t entr,const char* fname = "AliESDs.root");
8cb21125 43
f5de2f09 44 protected:
81877d10 45 void MakePoints( Float_t dr, Float_t r0, Double_t x, Double_t* par, Double_t c, Double_t alpha);
8cb21125 46 void MakeITSPoints(AliESDtrack* track);
47
f5de2f09 48 private:
49 Int_t fN;//number of points
81877d10 50 Float_t* fX;//[fN]positions at x
51 Float_t* fY;//[fN]positions at y
52 Float_t* fZ;//[fN] positions at z
9616170a 53// Float_t* fR;//! [fN] radii
54 static Int_t fgDebug;//! debug level
f5de2f09 55 ClassDef(AliHBTTrackPoints,1)
56};
57#endif