18 #ifndef L1TriggerGlobalMuonTrigger_L1MuGMTLFMergeRankPtQLUT_h 19 #define L1TriggerGlobalMuonTrigger_L1MuGMTLFMergeRankPtQLUT_h 49 "rank_ptq(2)", 8,
true) {
58 std::vector<unsigned> addr(2);
61 return Lookup(idx, addr) [0];
66 std::vector<unsigned> addr(2);
unsigned SpecificLookup_rank_ptq(int idx, unsigned q, unsigned pt) const
specific lookup function for rank_ptq
unsigned LookupFunctionPacked(int idx, unsigned address) const override
access to lookup function with packed input and output
~L1MuGMTLFMergeRankPtQLUT() override
destructor
unsigned SpecificLookup(int idx, unsigned q, unsigned pt) const
specific lookup function for entire output field
std::vector< unsigned > Lookup(int idx, const std::vector< unsigned > &address) const
additional lookup function (std::vector -> vector)
L1MuGMTLFMergeRankPtQLUT()
constuctor using function-lookup
std::vector< port > m_Inputs
unsigned TheLookupFunction(int idx, unsigned q, unsigned pt) const
The lookup function - here the functionality of the LUT is implemented.
void InitParameters()
Initialize scales, configuration parameters, alignment constants, ...
std::vector< unsigned > u2vec(unsigned value, const std::vector< port > &widths) const
generate composite address or value from compact unsigned
unsigned LookupPacked(int idx, unsigned) const