18 #ifndef L1TriggerGlobalMuonTrigger_L1MuGMTMIAUPhiPro2LUT_h
19 #define L1TriggerGlobalMuonTrigger_L1MuGMTMIAUPhiPro2LUT_h
45 "MIP_DT MIP_BRPC ISO_DT ISO_BRPC MIP_CSC MIP_FRPC ISO_CSC ISO_FRPC",
46 "cphi_start(5) cphi_fine(1) cphi_ofs(3) charge(1)",
58 int idx,
unsigned cphi_start,
unsigned cphi_fine,
unsigned cphi_ofs,
unsigned charge)
const {
59 std::vector<unsigned>
addr(4);
64 return Lookup(idx, addr)[0];
68 unsigned SpecificLookup(
int idx,
unsigned cphi_start,
unsigned cphi_fine,
unsigned cphi_ofs,
unsigned charge)
const {
69 std::vector<unsigned>
addr(4);
89 unsigned TheLookupFunction(
int idx,
unsigned cphi_start,
unsigned cphi_fine,
unsigned cphi_ofs,
unsigned charge)
const;
int m_IsolationCellSizePhi
Private data members (LUT parameters);.
std::vector< unsigned > Lookup(int idx, const std::vector< unsigned > &address) const
additional lookup function (std::vector -> vector)
L1MuGMTMIAUPhiPro2LUT()
constuctor using function-lookup
std::vector< port > m_Inputs
unsigned SpecificLookup_phi_sel(int idx, unsigned cphi_start, unsigned cphi_fine, unsigned cphi_ofs, unsigned charge) const
specific lookup function for phi_sel
void InitParameters()
Initialize scales, configuration parameters, alignment constants, ...
unsigned SpecificLookup(int idx, unsigned cphi_start, unsigned cphi_fine, unsigned cphi_ofs, unsigned charge) const
specific lookup function for entire output field
std::vector< unsigned > u2vec(unsigned value, const std::vector< port > &widths) const
generate composite address or value from compact unsigned
unsigned TheLookupFunction(int idx, unsigned cphi_start, unsigned cphi_fine, unsigned cphi_ofs, unsigned charge) const
The lookup function - here the functionality of the LUT is implemented.
unsigned LookupFunctionPacked(int idx, unsigned address) const override
access to lookup function with packed input and output
unsigned LookupPacked(int idx, unsigned) const
~L1MuGMTMIAUPhiPro2LUT() override
destructor