AliRoot Core  3dc7879 (3dc7879)
AliVTrdTracklet.h
Go to the documentation of this file.
1 #ifndef ALIVTRDTRACKLET_H
2 #define ALIVTRDTRACKLET_H
3 
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>
7 
8 #include "TObject.h"
9 
10 class AliVTrdTracklet : public TObject {
11  public:
12 
14  virtual ~AliVTrdTracklet() {};
17  virtual void Copy(TObject &obj) const;
18 
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;
25 
26  // position and deflection information (chamber-local)
27  Float_t GetLocalY() const { return GetBinY() * fgkBinWidthY; }
28  Float_t GetDyDx() const { return GetBinDy() * fgkBinWidthDy/fgkDriftLength; }
29 
30  virtual Int_t GetHCId() const = 0;
31  virtual Int_t GetDetector() const = 0;
32  virtual Int_t GetLabel() const = 0;
33 
34  protected:
35 
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
39 
40  ClassDef(AliVTrdTracklet,0)
41 };
42 
43 #endif
virtual Int_t GetDetector() const =0
virtual ~AliVTrdTracklet()
virtual UInt_t GetTrackletWord() const =0
virtual Int_t GetHCId() const =0
Float_t GetDyDx() const
AliTPCfastTrack * track
static const Float_t fgkBinWidthDy
virtual Int_t GetPID() const =0
Float_t GetLocalY() const
AliVTrdTracklet & operator=(const AliVTrdTracklet &track)
virtual Int_t GetBinZ() const =0
static const Float_t fgkDriftLength
virtual Int_t GetBinY() const =0
virtual Int_t GetBinDy() const =0
virtual void Copy(TObject &obj) const
virtual Int_t GetLabel() const =0
static const Float_t fgkBinWidthY