CMS 3D CMS Logo

L1MuDTERS.h
Go to the documentation of this file.
1 //-------------------------------------------------
2 //
15 //
16 //--------------------------------------------------
17 #ifndef L1MUDT_ERS_H
18 #define L1MUDT_ERS_H
19 
20 //---------------
21 // C++ Headers --
22 //---------------
23 
24 #include <utility>
25 
26 //----------------------
27 // Base Class Headers --
28 //----------------------
29 
31 
32 //------------------------------------
33 // Collaborating Class Declarations --
34 //------------------------------------
35 
36 class L1MuDTTrackSegPhi;
37 class L1MuDTSEU;
38 
39 // ---------------------
40 // -- Class Interface --
41 // ---------------------
42 
44 
45  public:
46 
48  L1MuDTERS(const L1MuDTSEU& );
49 
51  ~L1MuDTERS() override;
52 
54  void run() override;
55 
57  void reset() override;
58 
60  inline unsigned int quality(int id) const { return m_quality[id]; }
61 
63  inline unsigned short int address(int id) const { return m_address[id]; }
64 
66  std::pair<const L1MuDTTrackSegPhi*, const L1MuDTTrackSegPhi*> ts(int id) const;
67 
68  private:
69 
70  const L1MuDTSEU& m_seu;
71 
72  unsigned short int m_quality[2]; //@@ 1 bit
73  unsigned short int m_address[2]; //@@ 4 bits
74 
77 
78 };
79 
80 #endif
unsigned short int address(int id) const
return extrapolation address; (address = 15 indicates negative ext. result)
Definition: L1MuDTERS.h:63
void run() override
run L1MuDTERS
Definition: L1MuDTERS.cc:67
L1MuDTERS(const L1MuDTSEU &)
constructor
Definition: L1MuDTERS.cc:46
unsigned int quality(int id) const
return extrapolation quality
Definition: L1MuDTERS.h:60
const L1MuDTTrackSegPhi * m_start[2]
Definition: L1MuDTERS.h:75
~L1MuDTERS() override
destructor
Definition: L1MuDTERS.cc:57
void reset() override
reset ERS
Definition: L1MuDTERS.cc:107
unsigned short int m_address[2]
Definition: L1MuDTERS.h:73
const L1MuDTTrackSegPhi * m_target[2]
Definition: L1MuDTERS.h:76
const L1MuDTSEU & m_seu
Definition: L1MuDTERS.h:70
unsigned short int m_quality[2]
Definition: L1MuDTERS.h:72
std::pair< const L1MuDTTrackSegPhi *, const L1MuDTTrackSegPhi * > ts(int id) const
return pointer to start and target track segment
Definition: L1MuDTERS.cc:122