1 #ifndef ALIVTRDTRACKLET_H
2 #define ALIVTRDTRACKLET_H
4 // format for the TRD tracklets calculated in the FEE,
5 // used for the TRD L1 trigger
6 // Author: Jochen Klein <jochen.klein@cern.ch>
10 class AliVTrdTracklet : public TObject {
14 virtual ~AliVTrdTracklet() {};
15 AliVTrdTracklet(const AliVTrdTracklet& track);
16 AliVTrdTracklet& operator=(const AliVTrdTracklet& track);
17 virtual void Copy(TObject &obj) const;
19 // tracklet information
20 virtual UInt_t GetTrackletWord() const = 0;
21 virtual Int_t GetBinY() const = 0;
22 virtual Int_t GetBinDy() const = 0;
23 virtual Int_t GetBinZ() const = 0;
24 virtual Int_t GetPID() const = 0;
26 // position and deflection information (chamber-local)
27 Float_t GetLocalY() const { return GetBinY() * fgkBinWidthY; }
28 Float_t GetDyDx() const { return GetBinDy() * fgkBinWidthDy/fgkDriftLength; }
30 virtual Int_t GetHCId() const = 0;
31 virtual Int_t GetDetector() const = 0;
32 virtual Int_t GetLabel() const = 0;
36 static const Float_t fgkBinWidthY; // bin width y-position
37 static const Float_t fgkBinWidthDy; // bin width deflection length
38 static const Float_t fgkDriftLength; // drift length to which the deflection length is scaled
40 ClassDef(AliVTrdTracklet,0)