CMS 3D CMS Logo

L1MuBMERS.h
Go to the documentation of this file.
1 //-------------------------------------------------
2 //
15 //
16 //--------------------------------------------------
17 #ifndef L1MUBM_ERS_H
18 #define L1MUBM_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 L1MuBMTrackSegPhi;
37 class L1MuBMSEU;
38 
39 // ---------------------
40 // -- Class Interface --
41 // ---------------------
42 
44 public:
46  L1MuBMERS(const L1MuBMSEU&);
47 
49  ~L1MuBMERS() override;
50 
52  void run() override;
53 
55  void reset() override;
56 
58  inline unsigned int quality(int id) const { return m_quality[id]; }
59 
61  inline unsigned short int address(int id) const { return m_address[id]; }
62 
64  std::pair<const L1MuBMTrackSegPhi*, const L1MuBMTrackSegPhi*> ts(int id) const;
65 
66 private:
67  const L1MuBMSEU& m_seu;
68 
69  unsigned short int m_quality[2]; //@@ 1 bit
70  unsigned short int m_address[2]; //@@ 4 bits
71 
74 };
75 
76 #endif
L1MuBMERS::address
unsigned short int address(int id) const
return extrapolation address; (address = 15 indicates negative ext. result)
Definition: L1MuBMERS.h:61
L1MuBMERS::m_seu
const L1MuBMSEU & m_seu
Definition: L1MuBMERS.h:67
L1MuBMTrackSegPhi
Definition: L1MuBMTrackSegPhi.h:41
L1AbstractProcessor.h
L1MuBMERS::run
void run() override
run L1MuBMERS
Definition: L1MuBMERS.cc:61
L1MuBMERS::ts
std::pair< const L1MuBMTrackSegPhi *, const L1MuBMTrackSegPhi * > ts(int id) const
return pointer to start and target track segment
Definition: L1MuBMERS.cc:108
L1MuBMERS::m_start
const L1MuBMTrackSegPhi * m_start[2]
Definition: L1MuBMERS.h:72
L1MuBMERS::m_target
const L1MuBMTrackSegPhi * m_target[2]
Definition: L1MuBMERS.h:73
L1MuBMERS::L1MuBMERS
L1MuBMERS(const L1MuBMSEU &)
constructor
Definition: L1MuBMERS.cc:46
L1MuBMERS::m_quality
unsigned short int m_quality[2]
Definition: L1MuBMERS.h:69
L1MuBMERS::m_address
unsigned short int m_address[2]
Definition: L1MuBMERS.h:70
L1AbstractProcessor
Definition: L1AbstractProcessor.h:34
L1MuBMERS::~L1MuBMERS
~L1MuBMERS() override
destructor
Definition: L1MuBMERS.cc:52
L1MuBMERS::reset
void reset() override
reset ERS
Definition: L1MuBMERS.cc:96
triggerObjects_cff.id
id
Definition: triggerObjects_cff.py:29
L1MuBMERS
Definition: L1MuBMERS.h:43
L1MuBMSEU
Definition: L1MuBMSEU.h:48
L1MuBMERS::quality
unsigned int quality(int id) const
return extrapolation quality
Definition: L1MuBMERS.h:58