Go to the documentation of this file.
18 #ifndef L1TriggerGlobalMuonTrigger_L1MuGMTLFMergeRankCombineLUT_h
19 #define L1TriggerGlobalMuonTrigger_L1MuGMTLFMergeRankCombineLUT_h
46 "rank_etaq(7) rank_ptq(2) rank_etaphi(1)",
58 std::vector<unsigned>
addr(3);
61 addr[2] = rank_etaphi;
66 unsigned SpecificLookup(
int idx,
unsigned rank_etaq,
unsigned rank_ptq,
unsigned rank_etaphi)
const {
67 std::vector<unsigned>
addr(3);
70 addr[2] = rank_etaphi;
86 unsigned TheLookupFunction(
int idx,
unsigned rank_etaq,
unsigned rank_ptq,
unsigned rank_etaphi)
const;
std::vector< port > m_Inputs
~L1MuGMTLFMergeRankCombineLUT() override
destructor
L1MuGMTLFMergeRankCombineLUT()
constuctor using function-lookup
void InitParameters()
Initialize scales, configuration parameters, alignment constants, ...
unsigned LookupFunctionPacked(int idx, unsigned address) const override
access to lookup function with packed input and output
unsigned SpecificLookup(int idx, unsigned rank_etaq, unsigned rank_ptq, unsigned rank_etaphi) const
specific lookup function for entire output field
unsigned LookupPacked(int idx, unsigned) const
unsigned SpecificLookup_merge_rank(int idx, unsigned rank_etaq, unsigned rank_ptq, unsigned rank_etaphi) const
specific lookup function for merge_rank
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 rank_etaq, unsigned rank_ptq, unsigned rank_etaphi) const
The lookup function - here the functionality of the LUT is implemented.
std::vector< unsigned > Lookup(int idx, const std::vector< unsigned > &address) const
additional lookup function (std::vector -> vector)