CMS 3D CMS Logo

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Pages
L1MuGMTEtaProjectionUnit.h
Go to the documentation of this file.
1 //-------------------------------------------------
2 //
11 //
12 // $Date: 2007/03/23 18:51:35 $
13 // $Revision: 1.2 $
14 //
15 // Author :
16 // H. Sakulin CERN EP
17 //
18 // Migrated to CMSSW:
19 // I. Mikulec
20 //
21 //--------------------------------------------------
22 #ifndef L1TriggerGlobalMuonTrigger_L1MuGMTEtaProjectionUnit_h
23 #define L1TriggerGlobalMuonTrigger_L1MuGMTEtaProjectionUnit_h
24 
25 //---------------
26 // C++ Headers --
27 //---------------
28 
29 #include <vector>
30 #include <bitset>
31 
32 //----------------------
33 // Base Class Headers --
34 //----------------------
35 
36 
37 //------------------------------------
38 // Collaborating Class Declarations --
39 //------------------------------------
40 
44 
45 class L1MuGMTMipIsoAU;
46 class L1MuGMTCand;
47 
48 
49 // ---------------------
50 // -- Class Interface --
51 // ---------------------
52 
53 
55 
56  public:
57 
59  L1MuGMTEtaProjectionUnit(const L1MuGMTMipIsoAU& miau, int id);
60 
62  virtual ~L1MuGMTEtaProjectionUnit();
63 
65  void run();
66 
68  void reset();
69 
71  void print() const;
72 
74  inline int id() const { return m_id; }
75 
77  inline bool isSelected(int idx) const { return m_eta_select[idx]; }
78 
79  private:
80 
81  void load();
82 
83  private:
84  typedef std::bitset<14> TEtaBits;
85 
87 
88  // index: (0..31: 16*isFWD + 8*isISO + 4* isRPC + nr )
89  int m_id;
90 
92 
93  int m_ieta; // region index of central region
94  float m_feta; // fine grain eta inside central region
95 
97 };
98 
99 #endif
const L1MuGMTMipIsoAU & m_MIAU
int id() const
return identifier
L1MuGMTEtaProjectionUnit(const L1MuGMTMipIsoAU &miau, int id)
constructor
bool isSelected(int idx) const
return eta select bit (idx: 0..13)
const L1MuRegionalCand * m_mu
virtual ~L1MuGMTEtaProjectionUnit()
destructor
void run()
run eta projection unit
void reset()
clear eta projection unit
tuple idx
DEBUGGING if hasattr(process,&quot;trackMonIterativeTracking2012&quot;): print &quot;trackMonIterativeTracking2012 D...
void print() const
print results after eta projection