18 #ifndef L1TriggerGlobalMuonTrigger_L1MuGMTLFMergeRankEtaPhiLUT_h
19 #define L1TriggerGlobalMuonTrigger_L1MuGMTLFMergeRankEtaPhiLUT_h
44 :
L1MuGMTLUT(
"LFMergeRankEtaPhi",
"DT BRPC CSC FRPC",
"eta(6) phi(8)",
"rank_etaphi(1)", 10,
false) {
53 std::vector<unsigned>
addr(2);
56 return Lookup(idx, addr)[0];
61 std::vector<unsigned>
addr(2);
unsigned SpecificLookup_rank_etaphi(int idx, unsigned eta, unsigned phi) const
specific lookup function for rank_etaphi
unsigned SpecificLookup(int idx, unsigned eta, unsigned phi) 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)
std::vector< port > m_Inputs
unsigned LookupFunctionPacked(int idx, unsigned address) const override
access to lookup function with packed input and output
L1MuGMTLFMergeRankEtaPhiLUT()
constuctor using function-lookup
std::vector< unsigned > u2vec(unsigned value, const std::vector< port > &widths) const
generate composite address or value from compact unsigned
void InitParameters()
Initialize scales, configuration parameters, alignment constants, ...
unsigned LookupPacked(int idx, unsigned) const
~L1MuGMTLFMergeRankEtaPhiLUT() override
destructor
unsigned TheLookupFunction(int idx, unsigned eta, unsigned phi) const
The lookup function - here the functionality of the LUT is implemented.