20 #ifndef L1TriggerGlobalMuonTrigger_L1MuGMTLFDeltaEtaLUT_h
21 #define L1TriggerGlobalMuonTrigger_L1MuGMTLFDeltaEtaLUT_h
50 "eta_dtcsc(6) eta_rpc(6)",
51 "delta_eta(4)", 10,
false) {
60 std::vector<unsigned> addr(2);
63 return Lookup(idx, addr) [0];
67 unsigned SpecificLookup (
int idx,
unsigned eta_dtcsc,
unsigned eta_rpc)
const {
68 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 SpecificLookup_delta_eta(int idx, unsigned eta_dtcsc, unsigned eta_rpc) const
specific lookup function for delta_eta
std::vector< port > m_Inputs
virtual ~L1MuGMTLFDeltaEtaLUT()
destructor
virtual unsigned LookupFunctionPacked(int idx, unsigned address) const
access to lookup function with packed input and output
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