18 #ifndef L1TriggerGlobalMuonTrigger_L1MuGMTLFDeltaEtaLUT_h 19 #define L1TriggerGlobalMuonTrigger_L1MuGMTLFDeltaEtaLUT_h 48 "eta_dtcsc(6) eta_rpc(6)",
49 "delta_eta(4)", 10,
false) {
58 std::vector<unsigned> addr(2);
61 return Lookup(idx, addr) [0];
66 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