18 #ifndef L1TriggerGlobalMuonTrigger_L1MuGMTLFDeltaEtaLUT_h 19 #define L1TriggerGlobalMuonTrigger_L1MuGMTLFDeltaEtaLUT_h 44 :
L1MuGMTLUT(
"LFDeltaEta",
"DTRPC CSCRPC",
"eta_dtcsc(6) eta_rpc(6)",
"delta_eta(4)", 10,
false) {
53 std::vector<unsigned>
addr(2);
56 return Lookup(idx, addr)[0];
61 std::vector<unsigned>
addr(2);
void InitParameters()
Initialize scales, configuration parameters, alignment constants, ...
L1MuGMTLFDeltaEtaLUT()
constuctor using function-lookup
unsigned TheLookupFunction(int idx, unsigned eta_dtcsc, unsigned eta_rpc) 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)
unsigned LookupFunctionPacked(int idx, unsigned address) const override
access to lookup function with packed input and output
unsigned SpecificLookup_delta_eta(int idx, unsigned eta_dtcsc, unsigned eta_rpc) const
specific lookup function for delta_eta
std::vector< port > m_Inputs
~L1MuGMTLFDeltaEtaLUT() override
destructor
std::vector< unsigned > u2vec(unsigned value, const std::vector< port > &widths) const
generate composite address or value from compact unsigned
unsigned SpecificLookup(int idx, unsigned eta_dtcsc, unsigned eta_rpc) const
specific lookup function for entire output field
unsigned LookupPacked(int idx, unsigned) const