CMS 3D CMS Logo

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Pages
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 
45  public:
46 
48  L1MuBMERS(const L1MuBMSEU& );
49 
51  virtual ~L1MuBMERS();
52 
54  virtual void run();
55 
57  virtual void reset();
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 L1MuBMTrackSegPhi*, const L1MuBMTrackSegPhi*> ts(int id) const;
67 
68  private:
69 
70  const L1MuBMSEU& 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 m_quality[2]
Definition: L1MuBMERS.h:72
const L1MuBMTrackSegPhi * m_target[2]
Definition: L1MuBMERS.h:76
unsigned int quality(int id) const
return extrapolation quality
Definition: L1MuBMERS.h:60
const L1MuBMSEU & m_seu
Definition: L1MuBMERS.h:70
virtual void run()
run L1MuBMERS
Definition: L1MuBMERS.cc:67
unsigned short int address(int id) const
return extrapolation address; (address = 15 indicates negative ext. result)
Definition: L1MuBMERS.h:63
L1MuBMERS(const L1MuBMSEU &)
constructor
Definition: L1MuBMERS.cc:46
virtual void reset()
reset ERS
Definition: L1MuBMERS.cc:107
const L1MuBMTrackSegPhi * m_start[2]
Definition: L1MuBMERS.h:75
virtual ~L1MuBMERS()
destructor
Definition: L1MuBMERS.cc:57
std::pair< const L1MuBMTrackSegPhi *, const L1MuBMTrackSegPhi * > ts(int id) const
return pointer to start and target track segment
Definition: L1MuBMERS.cc:122
unsigned short int m_address[2]
Definition: L1MuBMERS.h:73