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 
30 //------------------------------------
31 // Collaborating Class Declarations --
32 //------------------------------------
33 
34 class L1MuDTTrackSegPhi;
35 class L1MuDTSEU;
36 
37 // ---------------------
38 // -- Class Interface --
39 // ---------------------
40 
41 class L1MuDTERS {
42 public:
44  L1MuDTERS(const L1MuDTSEU&);
45 
47  ~L1MuDTERS();
48 
50  void run();
51 
53  void reset();
54 
56  inline unsigned int quality(int id) const { return m_quality[id]; }
57 
59  inline unsigned short int address(int id) const { return m_address[id]; }
60 
62  std::pair<const L1MuDTTrackSegPhi*, const L1MuDTTrackSegPhi*> ts(int id) const;
63 
64 private:
65  const L1MuDTSEU& m_seu;
66 
67  unsigned short int m_quality[2]; //@@ 1 bit
68  unsigned short int m_address[2]; //@@ 4 bits
69 
72 };
73 
74 #endif
~L1MuDTERS()
destructor
Definition: L1MuDTERS.cc:52
unsigned int quality(int id) const
return extrapolation quality
Definition: L1MuDTERS.h:56
void reset()
reset ERS
Definition: L1MuDTERS.cc:96
L1MuDTERS(const L1MuDTSEU &)
constructor
Definition: L1MuDTERS.cc:46
const L1MuDTTrackSegPhi * m_start[2]
Definition: L1MuDTERS.h:70
unsigned short int m_address[2]
Definition: L1MuDTERS.h:68
unsigned short int address(int id) const
return extrapolation address; (address = 15 indicates negative ext. result)
Definition: L1MuDTERS.h:59
std::pair< const L1MuDTTrackSegPhi *, const L1MuDTTrackSegPhi * > ts(int id) const
return pointer to start and target track segment
Definition: L1MuDTERS.cc:108
void run()
run L1MuDTERS
Definition: L1MuDTERS.cc:61
const L1MuDTTrackSegPhi * m_target[2]
Definition: L1MuDTERS.h:71
const L1MuDTSEU & m_seu
Definition: L1MuDTERS.h:65
unsigned short int m_quality[2]
Definition: L1MuDTERS.h:67