Go to the documentation of this file.
55 : m_MIAU(miau), m_id(
id), m_mu(nullptr) {}
72 int lut_id =
m_id / 4;
81 unsigned phi_fine =
phi & ((1 << 3) - 1);
82 unsigned phi_coarse =
phi >> 3;
104 for (
unsigned int i = 0;
i < 9;
i++)
105 if ((phi_sel_bits & (1 <<
i)) == (unsigned)(1 <<
i))
108 for (
unsigned int i = 9;
i < 18;
i++)
109 if ((phi_sel_bits & (1 <<
i)) == (
unsigned)(1 <<
i))
131 for (
int i = 0;
i < 18;
i++) {
static L1MuGMTMIAUEtaConvLUT * getMIAUEtaConvLUT()
L1MuGMTPhiProjectionUnit(const L1MuGMTMipIsoAU &miau, int id)
constructor
void reset()
clear phi projection unit
unsigned phi_packed() const
return phi packed as in hardware
unsigned SpecificLookup_cphi_ofs(int idx, unsigned phi_fine, unsigned eta, unsigned pt, unsigned charge) const
specific lookup function for cphi_ofs
unsigned SpecificLookup_phi_sel(int idx, unsigned cphi_start, unsigned cphi_fine, unsigned cphi_ofs, unsigned charge) const
specific lookup function for phi_sel
L1MuGMTDebugBlock * DebugBlockForFill() const
for debug: return the debug block (in order to fill it)
const L1MuGlobalMuonTrigger & GMT() const
const L1MuRegionalCand * muon(int idx) const
return input muon (idx: 0..3: DT/CSC, 4..7: RPC)
virtual bool empty() const
return empty flag
void print() const
print results after phi projection
static L1MuGMTMIAUPhiPro2LUT * getMIAUPhiPro2LUT()
virtual ~L1MuGMTPhiProjectionUnit()
destructor
void SetPhiSelBits(int idx, unsigned phisel)
Set phi select bits for current bx.
Log< level::Info, true > LogVerbatim
const L1MuRegionalCand * m_mu
unsigned SpecificLookup_cphi_fine(int idx, unsigned phi_fine, unsigned eta, unsigned pt, unsigned charge) const
specific lookup function for cphi_fine
unsigned eta_packed() const
return eta packed as in hardware
void run()
run phi projection unit
unsigned pt_packed() const
return pt packed as in hardware
unsigned SpecificLookup_eta_out(int idx, unsigned eta_in) const
specific lookup function for eta_out
static L1MuGMTMIAUPhiPro1LUT * getMIAUPhiPro1LUT()
unsigned charge_packed() const
return charge packed as in hardware (0=pos, 1=neg)
const L1MuGMTMipIsoAU & m_MIAU