18 #ifndef L1TriggerGlobalMuonTrigger_L1MuGMTLFPhiProLUT_h 19 #define L1TriggerGlobalMuonTrigger_L1MuGMTLFPhiProLUT_h 48 "eta(4) pt(5) charge(1)",
49 "dphi(9)", 10,
false) {
58 std::vector<unsigned> addr(3);
62 return Lookup(idx, addr) [0];
67 std::vector<unsigned> addr(3);
~L1MuGMTLFPhiProLUT() override
destructor
std::vector< unsigned > Lookup(int idx, const std::vector< unsigned > &address) const
additional lookup function (std::vector -> vector)
unsigned TheLookupFunction(int idx, unsigned eta, unsigned pt, unsigned charge) const
The lookup function - here the functionality of the LUT is implemented.
unsigned SpecificLookup_dphi(int idx, unsigned eta, unsigned pt, unsigned charge) const
specific lookup function for dphi
std::vector< port > m_Inputs
void InitParameters()
Initialize scales, configuration parameters, alignment constants, ...
std::vector< unsigned > u2vec(unsigned value, const std::vector< port > &widths) const
generate composite address or value from compact unsigned
unsigned LookupFunctionPacked(int idx, unsigned address) const override
access to lookup function with packed input and output
L1MuGMTLFPhiProLUT()
constuctor using function-lookup
unsigned LookupPacked(int idx, unsigned) const
unsigned SpecificLookup(int idx, unsigned eta, unsigned pt, unsigned charge) const
specific lookup function for entire output field