18 #ifndef L1TriggerGlobalMuonTrigger_L1MuGMTLFCOUDeltaEtaLUT_h 19 #define L1TriggerGlobalMuonTrigger_L1MuGMTLFCOUDeltaEtaLUT_h 44 :
L1MuGMTLUT(
"LFCOUDeltaEta",
"DTCSC CSCDT CSCbRPC DTfRPC",
"eta1(4) eta2(4)",
"delta_eta(4)", 8,
true) {
53 std::vector<unsigned>
addr(2);
56 return Lookup(idx, addr)[0];
61 std::vector<unsigned>
addr(2);
unsigned LookupFunctionPacked(int idx, unsigned address) const override
access to lookup function with packed input and output
void InitParameters()
Initialize scales, configuration parameters, alignment constants, ...
std::vector< unsigned > Lookup(int idx, const std::vector< unsigned > &address) const
additional lookup function (std::vector -> vector)
unsigned SpecificLookup(int idx, unsigned eta1, unsigned eta2) const
specific lookup function for entire output field
std::vector< port > m_Inputs
unsigned TheLookupFunction(int idx, unsigned eta1, unsigned eta2) const
The lookup function - here the functionality of the LUT is implemented.
std::vector< unsigned > u2vec(unsigned value, const std::vector< port > &widths) const
generate composite address or value from compact unsigned
~L1MuGMTLFCOUDeltaEtaLUT() override
destructor
unsigned LookupPacked(int idx, unsigned) const
L1MuGMTLFCOUDeltaEtaLUT()
constuctor using function-lookup
unsigned SpecificLookup_delta_eta(int idx, unsigned eta1, unsigned eta2) const
specific lookup function for delta_eta