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;
18 class AliTRDtrigParam;
20 class AliTRDmodule : public TObject {
24 enum { kNplan = 6, kNmaxZchan = 100, kNsubZchan = 16, kNmaxTrk = 12 };
27 AliTRDmodule(const AliTRDmodule &m);
28 AliTRDmodule(AliTRDtrigParam *trigp);
29 virtual ~AliTRDmodule();
30 AliTRDmodule &operator=(const AliTRDmodule &m);
32 virtual void Copy(TObject &m) const;
34 Int_t GetNtracklets() const;
35 Int_t GetNtracks() const;
38 void AddTracklet(Int_t det, Int_t row, Float_t rowz, Float_t slope, Float_t offset
39 , Float_t time, Int_t ncl, Int_t label, Float_t q);
42 void ResetTracklets();
46 void RemoveMultipleTracklets();
47 void RemoveMultipleTracks();
48 void RemoveTracklet(Int_t pos);
49 void RemoveTrack(Int_t pos);
50 void SortZ(Int_t cha);
53 void FindTracksCombi(Int_t zchan);
55 TObjArray *Tracklets();
57 AliTRDltuTracklet *GetTracklet(Int_t pos) const;
58 AliTRDgtuTrack *GetTrack(Int_t pos) const;
62 Float_t fXprojPlane; //! X (time) coordinate of the projection plane
63 Float_t fField; //! Magnetic field
64 TObjArray *fTracklets; //! Array of LTU tracklets
65 TObjArray *fTracks; //! Array of GTU tracks
67 Int_t fZnchan[kNplan][kNsubZchan]; //! Number of LTU tracklets in each subchannel
68 Int_t fZtrkid[kNplan][kNmaxZchan][kNsubZchan]; //! List of LTU tracklet id's for each subchannel
70 Float_t fDeltaY; // Y (offset) matching window in the GTU
71 Float_t fDeltaS; // Slope matching window in the GTU
73 AliTRDltuTracklet *fLTUtrk; //! Current LTU tracklet
74 AliTRDgtuTrack *fGTUtrk; //! Current GTU track
76 ClassDef(AliTRDmodule,2) // TRD module class