1 #ifndef ALITRDTRACKER_H
2 #define ALITRDTRACKER_H
4 /* Copyright(c) 1998-1999, ALICE Experiment at CERN, All rights reserved. *
5 * See cxx source for full Copyright notice */
15 // class AliTRDtrackingSector;
20 class AliTRDtracker : public TNamed {
25 AliTRDtracker(const Text_t* name, const Text_t* title);
28 virtual void Clusters2Tracks();
29 Double_t ExpectedSigmaY2(Double_t r, Double_t tgl, Double_t pt);
30 Double_t ExpectedSigmaZ2(Double_t r, Double_t tgl);
31 Int_t FindProlongation(AliTRDtrack& t, AliTRDtrackingSector *sec,
33 void GetEvent(const Char_t *hitfile, const Char_t *clusterfile);
34 void SetUpSectors(AliTRDtrackingSector *sec);
35 virtual void MakeSeeds(Int_t inner, Int_t outer);
36 virtual void FindTracks();
37 virtual void UseClusters(AliTRDtrack t);
38 virtual Int_t GetTrackLabel(AliTRDtrack t);
39 Int_t WriteTracks(const Char_t *filename);
40 void ReadClusters(TObjArray *array, const Char_t *filename,
45 Int_t fEvent; // Event number
47 AliTRDgeometry *fGeom; // Pointer to TRD geometry
49 Int_t fNclusters; // Number of clusters in TRD
50 TObjArray *fClusters; // List of clusters for all sectors
52 Int_t fNseeds; // Number of track seeds
53 TObjArray *fSeeds; // List of track seeds
55 Int_t fNtracks; // Number of reconstructed tracks
56 TObjArray *fTracks; // List of reconstructed tracks
58 static const Int_t fSeedGap; // Distance between inner and outer
59 // time bin in seeding
61 static const Int_t fSeedStep; // Step in iterations
62 static const Float_t fSeedDepth; // Fraction of TRD allocated for seeding
63 static const Float_t fSkipDepth; // Fraction of TRD which can be skipped
64 // in track prolongation
65 static const Double_t fMaxChi2; // max increment in track chi2
67 static const Float_t fMinClustersInTrack; // min fraction of clusters in track
68 static const Float_t fMinClustersInSeed; // min fraction of clusters in seed
69 static const Float_t fMaxSeedDeltaZ; // max dZ in MakeSeeds
70 static const Float_t fMaxSeedC; // max initial curvature in MakeSeeds
71 static const Float_t fMaxSeedTan; // max initial Tangens(lambda) in MakeSeeds
72 static const Float_t fMaxSeedVertexZ; // max vertex Z in MakeSeeds
73 static const Double_t fSeedErrorSY; // sy parameter in MakeSeeds
74 static const Double_t fSeedErrorSY3; // sy3 parameter in MakeSeeds
75 static const Double_t fSeedErrorSZ; // sz parameter in MakeSeeds
76 static const Float_t fLabelFraction; // min fraction of clusters in GetTrackLabel
77 static const Float_t fWideRoad; // max road width in FindProlongation
79 ClassDef(AliTRDtracker,1) // manager base class