+ //__________________________________________________________________________________________________
+ class AliTRDtrackingSector {
+
+ public:
+
+ AliTRDtrackingSector(AliTRDgeometry* geo, Int_t gs);
+ AliTRDtrackingSector(const AliTRDtrackingSector &/*t*/);
+ ~AliTRDtrackingSector();
+
+ AliTRDtrackingSector &operator=(const AliTRDtrackingSector &/*t*/) { return *this; }
+
+ Int_t GetNumberOfLayers() const { return fN; }
+ Int_t GetNumberOfTimeBins() const;
+ Int_t GetLayerNumber(Double_t x) const;
+ Int_t GetInnerTimeBin() const;
+ Int_t GetOuterTimeBin() const;
+ Int_t GetLayerNumber(Int_t tb) const { return fTimeBinIndex[tb]; }
+ Double_t GetX(Int_t pl) const { return fLayers[pl]->GetX(); }
+ AliTRDpropagationLayer* GetLayer(Int_t i) { return fLayers[i]; }
+ Int_t GetSector() const {return fGeomSector;}
+
+ void MapTimeBinLayers();
+ Int_t Find(Double_t x) const;
+ void InsertLayer(AliTRDpropagationLayer *pl);
+ Int_t CookTimeBinIndex(Int_t plane, Int_t localTB) const;
+
+ private:
+
+ Int_t fN; // Total number of layers
+ AliTRDgeometry *fGeom; // Geometry
+ AliTRDpropagationLayer *fLayers[kMaxLayersPerSector]; // Layers
+ Int_t fTimeBinIndex[kMaxTimeBinIndex]; // Time bin index
+ Int_t fGeomSector; // Sector# in AliTRDgeometry
+
+ };
+
+ protected:
+ AliTRDReconstructor *fReconstructor;
+ AliTRDgeometry *fGeom; // Pointer to TRD geometry
+ AliTRDtrackingSector *fTrSec[kTrackingSectors]; // Array of tracking sectors;
+ Int_t fNclusters; // Number of clusters in TRD
+ TObjArray *fClusters; // List of clusters for all sectors
+ Int_t fNseeds; // Number of track seeds
+ TObjArray *fSeeds; // List of track seeds
+ Int_t fNtracks; // Number of reconstructed tracks
+ TObjArray *fTracks; // List of reconstructed tracks
+ Int_t fTimeBinsPerPlane; // Timebins per plane in track prolongation
+
+ static const Double_t fgkMaxChi2; // Max increment in track chi2
+ static const Float_t fgkMinClustersInTrack; // Min number of clusters in track
+ static const Float_t fgkLabelFraction; // Min fraction of same label
+ static const Double_t fgkMaxSnp; // Maximal snp for tracking
+ static const Double_t fgkMaxStep; // Maximal step for tracking
+
+ Bool_t fAddTRDseeds; // Something else
+ Bool_t fNoTilt; // No tilt, or what?
+
+ // Histograms
+ TH1D *fHBackfit; // QA histogram
+ TH1D *fHClSearch; // QA histogram
+ TH1D *fHRefit; // QA histogram
+ TH1D *fHX; // QA histogram
+ TH1D *fHNCl; // QA histogram
+ TH1D *fHNClTrack; // QA histogram
+ TH1D *fHFindCl[4]; // QA histogram
+ TH1D *fHMinYPos; // QA histogram
+ TH1D *fHMinYNeg; // QA histogram
+ TH1D *fHMinZ; // QA histogram
+ TH2D *fHMinD; // QA histogram
+ TH1D *fHDeltaX; // QA histogram
+ TH1D *fHXCl; // QA histogram