]> git.uio.no Git - u/mrichter/AliRoot.git/blame - ANALYSIS/AliTrackPoints.h
Removing AliBarrelTrack class (Yu.Belikov)
[u/mrichter/AliRoot.git] / ANALYSIS / AliTrackPoints.h
CommitLineData
a5556ea5 1#ifndef AliTrackPoints_H
2#define AliTrackPoints_H
3//_________________________________
4////////////////////////////////////////////////////////////
5// //
6// class AliTrackPoints //
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
18class AliTPCtrack;
19class AliESDtrack;
20
21class AliTrackPoints: public TObject
22{
23 public:
78d7c6d3 24 enum ETypes{kITS = 1};
25
a5556ea5 26 AliTrackPoints();
78d7c6d3 27 AliTrackPoints(AliTrackPoints::ETypes type, AliESDtrack* track);
a5556ea5 28 AliTrackPoints(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,
78d7c6d3 29 AliTrackPoints(Int_t n, AliTPCtrack* track, Float_t dr=30, Float_t r0 = 84.1); //min TPC R = 84.1; max TPC R = 246.6cm,
30// AliTrackPoints(const AliTrackPoints& in);
a5556ea5 31
32 virtual ~AliTrackPoints();
afbed925 33// AliTrackPoints& operator=(const AliTrackPoints& in);
a5556ea5 34
35 Double_t AvarageDistance(const AliTrackPoints& tr);
36 void PositionAt(Int_t n, Float_t &x, Float_t &y, Float_t &z);
78d7c6d3 37 void Move(Float_t x, Float_t y, Float_t z);
afbed925 38 Int_t GetN() const {return fN;}
78d7c6d3 39
a5556ea5 40 Int_t GetDebug() const {return fgDebug;}
41 void SetDebug(Int_t deblevel){fgDebug = deblevel;}
78d7c6d3 42 static void Testtpc(Int_t entr);
43 static void Testesd(Int_t entr,const char* fname = "AliESDs.root");
44
a5556ea5 45 protected:
46 void MakePoints( Float_t dr, Float_t r0, Double_t x, Double_t* par, Double_t c, Double_t alpha);
78d7c6d3 47 void MakeITSPoints(AliESDtrack* track);
48
a5556ea5 49 private:
50 Int_t fN;//number of points
51 Float_t* fX;//[fN]positions at x
52 Float_t* fY;//[fN]positions at y
53 Float_t* fZ;//[fN] positions at z
54// Float_t* fR;//! [fN] radii
55 static Int_t fgDebug;//! debug level
56 ClassDef(AliTrackPoints,1)
57};
58#endif