CMS 3D CMS Logo

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Pages
L1MuDTERS.h
Go to the documentation of this file.
1 //-------------------------------------------------
2 //
17 //
18 //--------------------------------------------------
19 #ifndef L1MUDT_ERS_H
20 #define L1MUDT_ERS_H
21 
22 //---------------
23 // C++ Headers --
24 //---------------
25 
26 #include <utility>
27 
28 //----------------------
29 // Base Class Headers --
30 //----------------------
31 
33 
34 //------------------------------------
35 // Collaborating Class Declarations --
36 //------------------------------------
37 
38 class L1MuDTTrackSegPhi;
39 class L1MuDTSEU;
40 
41 // ---------------------
42 // -- Class Interface --
43 // ---------------------
44 
46 
47  public:
48 
50  L1MuDTERS(const L1MuDTSEU& );
51 
53  virtual ~L1MuDTERS();
54 
56  virtual void run();
57 
59  virtual void reset();
60 
62  inline unsigned int quality(int id) const { return m_quality[id]; }
63 
65  inline unsigned short int address(int id) const { return m_address[id]; }
66 
68  std::pair<const L1MuDTTrackSegPhi*, const L1MuDTTrackSegPhi*> ts(int id) const;
69 
70  private:
71 
72  const L1MuDTSEU& m_seu;
73 
74  unsigned short int m_quality[2]; //@@ 1 bit
75  unsigned short int m_address[2]; //@@ 4 bits
76 
79 
80 };
81 
82 #endif
unsigned short int address(int id) const
return extrapolation address; (address = 15 indicates negative ext. result)
Definition: L1MuDTERS.h:65
virtual ~L1MuDTERS()
destructor
Definition: L1MuDTERS.cc:59
virtual void reset()
reset ERS
Definition: L1MuDTERS.cc:109
L1MuDTERS(const L1MuDTSEU &)
constructor
Definition: L1MuDTERS.cc:48
unsigned int quality(int id) const
return extrapolation quality
Definition: L1MuDTERS.h:62
const L1MuDTTrackSegPhi * m_start[2]
Definition: L1MuDTERS.h:77
unsigned short int m_address[2]
Definition: L1MuDTERS.h:75
virtual void run()
run L1MuDTERS
Definition: L1MuDTERS.cc:69
const L1MuDTTrackSegPhi * m_target[2]
Definition: L1MuDTERS.h:78
const L1MuDTSEU & m_seu
Definition: L1MuDTERS.h:72
unsigned short int m_quality[2]
Definition: L1MuDTERS.h:74
std::pair< const L1MuDTTrackSegPhi *, const L1MuDTTrackSegPhi * > ts(int id) const
return pointer to start and target track segment
Definition: L1MuDTERS.cc:124