18 #ifndef L1TriggerGlobalMuonTrigger_L1MuGMTLFPtMixLUT_h 19 #define L1TriggerGlobalMuonTrigger_L1MuGMTLFPtMixLUT_h 48 "pt_dtcsc(5) pt_rpc(5)",
49 "pt_mixed(5)", 9,
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, ...
std::vector< unsigned > Lookup(int idx, const std::vector< unsigned > &address) const
additional lookup function (std::vector -> vector)
unsigned TheLookupFunction(int idx, unsigned pt_dtcsc, unsigned pt_rpc) const
The lookup function - here the functionality of the LUT is implemented.
virtual ~L1MuGMTLFPtMixLUT()
destructor
std::vector< port > m_Inputs
unsigned SpecificLookup_pt_mixed(int idx, unsigned pt_dtcsc, unsigned pt_rpc) const
specific lookup function for pt_mixed
unsigned SpecificLookup(int idx, unsigned pt_dtcsc, unsigned pt_rpc) const
specific lookup function for entire output field
std::vector< unsigned > u2vec(unsigned value, const std::vector< port > &widths) const
generate composite address or value from compact unsigned
L1MuGMTLFPtMixLUT()
constuctor using function-lookup
virtual unsigned LookupFunctionPacked(int idx, unsigned address) const
access to lookup function with packed input and output
unsigned LookupPacked(int idx, unsigned) const