1 #ifndef ALITRDTRACKLET_H
2 #define ALITRDTRACKLET_H
4 /* Copyright(c) 1998-1999, ALICE Experiment at CERN, All rights reserved. *
5 * See cxx source for full Copyright notice */
11 ////////////////////////////////////////////////////////////////////////////
15 ////////////////////////////////////////////////////////////////////////////
17 class AliTRDtracklet : public TObject {
22 virtual ~AliTRDtracklet();
24 void Set(Float_t x, Float_t y, Float_t z, Float_t alpha, Float_t error2)
30 void SetP0(Float_t p0) { fP0 = p0; }
31 void SetP1(Float_t p1) { fP1 = p1; }
32 void SetN(Int_t n) { fNFound = n; }
33 void SetNCross(Int_t nc) { fNCross = nc; }
34 void SetPlane(Int_t plane) { fPlane = plane; }
35 void SetSigma2(Float_t sigma2) { fExpectedSigma2 = sigma2; }
36 void SetChi2(Float_t chi2) { fChi2 = chi2; }
37 void SetTilt(Float_t tilt) { fTilt = tilt; }
38 void SetMaxPos(Short_t pos, Short_t pos4, Short_t pos5)
43 Float_t GetX() const { return fX; }
44 Float_t GetY() const { return fY; }
45 Float_t GetZ() const { return fZ; }
46 Float_t GetAlpha() const { return fAlpha; }
47 Float_t GetTrackletSigma2() const { return fSigma2; }
48 Float_t GetP0() const { return fP0; }
49 Float_t GetP1() const { return fP1; }
50 Int_t GetN() const { return fNFound; }
51 Int_t GetNCross() const { return fNCross; }
52 Int_t GetPlane() const { return fPlane; }
53 Float_t GetClusterSigma2() const { return fExpectedSigma2; }
54 Float_t GetChi2() const { return fChi2; }
55 Float_t GetTilt() const { return fTilt; }
59 Float_t fY; // Y position
60 Float_t fZ; // Z position
61 Float_t fX; // X position
62 Float_t fAlpha; // Rotation angle
63 Float_t fSigma2; // Expected error of tracklet position
64 Float_t fP0; // Offset in y
65 Float_t fP1; // Offset in tangent
66 Int_t fNFound; // Number of found clusters
67 Int_t fNCross; // Number of crosses
68 Int_t fPlane; // Plane number
69 Float_t fExpectedSigma2; // Expected sigma of residual distribution of clusters
70 Float_t fChi2; // Chi2 of the tracklet
71 Float_t fTilt; // Tilt factor
72 Short_t fMaxPos; // Time bin with max charge
73 Short_t fMaxPos4; // Time bin with max charge
74 Short_t fMaxPos5; // Time bin with max charge
76 ClassDef(AliTRDtracklet,2) // The TRD tracklet in one ROC