3 /* Copyright(c) 1998-1999, ALICE Experiment at CERN, All rights reserved. *
4 * See cxx source for full Copyright notice */
8 ///////////////////////////////////////////////////////////////////////////////
10 // TRD module class //
12 ///////////////////////////////////////////////////////////////////////////////
17 class AliTRDltuTracklet;
19 class AliTRDmodule : public TObject {
23 enum { kNplan = 6, kNmaxZchan = 100, kNsubZchan = 16, kNmaxTrk = 12 };
26 AliTRDmodule(const AliTRDmodule &m);
27 virtual ~AliTRDmodule();
28 AliTRDmodule &operator=(const AliTRDmodule &m);
30 virtual void Copy(TObject &m) const;
32 Int_t GetNtracklets() const;
33 Int_t GetNtracks() const;
36 void AddTracklet(Int_t det, Int_t row, Float_t rowz, Float_t slope, Float_t offset
37 , Float_t time, Int_t ncl, Int_t label, Float_t q);
40 void ResetTracklets();
44 void RemoveMultipleTracklets();
45 void RemoveMultipleTracks();
46 void RemoveTracklet(Int_t pos);
47 void RemoveTrack(Int_t pos);
48 void SortZ(Int_t cha);
51 void FindTracksCombi(Int_t zchan);
53 TObjArray *Tracklets();
55 AliTRDltuTracklet *GetTracklet(Int_t pos) const;
56 AliTRDgtuTrack *GetTrack(Int_t pos) const;
60 Float_t fXprojPlane; //! X (time) coordinate of the projection plane
61 Float_t fField; //! Magnetic field
62 TObjArray *fTracklets; //! Array of LTU tracklets
63 TObjArray *fTracks; //! Array of GTU tracks
65 Int_t fZnchan[kNplan][kNsubZchan]; //! Number of LTU tracklets in each subchannel
66 Int_t fZtrkid[kNplan][kNmaxZchan][kNsubZchan]; //! List of LTU tracklet id's for each subchannel
68 Float_t fDeltaY; // Y (offset) matching window in the GTU
69 Float_t fDeltaS; // Slope matching window in the GTU
71 AliTRDltuTracklet *fLTUtrk; //! Current LTU tracklet
72 AliTRDgtuTrack *fGTUtrk; //! Current GTU track
74 ClassDef(AliTRDmodule,2) // TRD module class