1 #ifndef ALITPCTRACKLET_H
2 #define ALITPCTRACKLET_H
4 /* Copyright(c) 1998-1999, ALICE Experiment at CERN, All rights reserved. *
5 * See cxx source for full Copyright notice */
8 // A class that contains a tracklet (a track that lives only in a single TPC
17 class AliExternalTrackParam;
19 class AliTPCTracklet:public TObject {
22 AliTPCTracklet(const AliTPCseed *s,Int_t sector);
23 AliTPCTracklet(const AliTPCTracklet &t);
24 AliTPCTracklet& operator=(const AliTPCTracklet &t);
25 virtual ~AliTPCTracklet();
27 static TObjArray CreateTracklets(const AliTPCseed *s,
29 Int_t maxTracklets=72);
31 // Returns the tracklet parametrisation at its outer most cluster.
32 AliExternalTrackParam* GetOuter() const {return fOuter;};
33 // Returns the tracklet parametrisation at its inner most cluster.
34 AliExternalTrackParam* GetInner() const {return fInner;};
35 // Returns the tracklet parametrisation at X=0, i.e. the "primary vertex".
36 AliExternalTrackParam* GetPrimary() const {return fPrimary;};
37 // Returns the sector in which the tracklet lives.
38 Int_t GetSector() const {return fSector;}
39 // Returns the number of clusters assined to the tracklet.
40 Int_t GetNClusters() const {return fNClusters;}
42 Int_t fNClusters; // The number of clusters assined to the tracklet.
43 Int_t fSector; // The sector this tracklet lives in.
44 AliExternalTrackParam *fOuter; // The tracklet parametrisation at its outer most cluster.
45 AliExternalTrackParam *fInner; // The tracklet parametrisation at its inner most cluster.
46 AliExternalTrackParam *fPrimary; // The tracklet parametrisation at X=0, i.e. the "primary vertex".
48 ClassDef(AliTPCTracklet,1)