18 #ifndef L1TriggerGlobalMuonTrigger_L1MuGMTLFMergeRankEtaQLUT_h
19 #define L1TriggerGlobalMuonTrigger_L1MuGMTLFMergeRankEtaQLUT_h
44 :
L1MuGMTLUT(
"LFMergeRankEtaQ",
"DT BRPC CSC FRPC",
"eta(6) q(3)",
"flag(1) rank_etaq(7)", 8,
false) {
53 std::vector<unsigned>
addr(2);
56 return Lookup(idx, addr)[0];
61 std::vector<unsigned>
addr(2);
64 return Lookup(idx, addr)[1];
69 std::vector<unsigned>
addr(2);
L1MuGMTLFMergeRankEtaQLUT()
constuctor using function-lookup
unsigned SpecificLookup(int idx, unsigned eta, unsigned q) 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)
~L1MuGMTLFMergeRankEtaQLUT() override
destructor
unsigned TheLookupFunction(int idx, unsigned eta, unsigned q) const
The lookup function - here the functionality of the LUT is implemented.
void InitParameters()
Initialize scales, configuration parameters, alignment constants, ...
std::vector< port > m_Inputs
unsigned SpecificLookup_rank_etaq(int idx, unsigned eta, unsigned q) const
specific lookup function for rank_etaq
unsigned SpecificLookup_flag(int idx, unsigned eta, unsigned q) const
specific lookup function for flag
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
unsigned LookupFunctionPacked(int idx, unsigned address) const override
access to lookup function with packed input and output