50 : m_MIAU(miau), m_id(
id), m_mu(nullptr) {}
67 int isFwd =
m_id / 16;
68 int lut_id =
m_id / 4;
86 for (
int i = 0;
i < 5;
i++)
87 if ((eta_sel_bits & (1 <<
i)) == (unsigned)(1 <<
i))
90 for (
int i = 5;
i < 10;
i++)
91 if ((eta_sel_bits & (1 <<
i)) == (
unsigned)(1 <<
i))
94 for (
int i = 0;
i < 10;
i++)
95 if ((eta_sel_bits & (1 <<
i)) == (
unsigned)(1 <<
i))
119 for (
int i = 0;
i < 14;
i++) {
Log< level::Info, true > LogVerbatim
unsigned pt_packed() const
return pt packed as in hardware
const L1MuGMTMipIsoAU & m_MIAU
const L1MuRegionalCand * muon(int idx) const
return input muon (idx: 0..3: DT/CSC, 4..7: RPC)
unsigned SpecificLookup_eta_sel(int idx, unsigned eta, unsigned pt, unsigned charge) const
specific lookup function for eta_sel
const L1MuGlobalMuonTrigger & GMT() const
unsigned charge_packed() const
return charge packed as in hardware (0=pos, 1=neg)
L1MuGMTEtaProjectionUnit(const L1MuGMTMipIsoAU &miau, int id)
constructor
L1MuGMTDebugBlock * DebugBlockForFill() const
for debug: return the debug block (in order to fill it)
const L1MuRegionalCand * m_mu
virtual ~L1MuGMTEtaProjectionUnit()
destructor
void run()
run eta projection unit
void reset()
clear eta projection unit
void SetEtaSelBits(int idx, unsigned etasel)
Set eta select bits for current bx.
unsigned eta_packed() const
return eta packed as in hardware
virtual bool empty() const
return empty flag
void print() const
print results after eta projection
static L1MuGMTMIAUEtaProLUT * getMIAUEtaProLUT()