20 #ifndef L1TriggerGlobalMuonTrigger_L1MuGMTLFPhiProLUT_h
21 #define L1TriggerGlobalMuonTrigger_L1MuGMTLFPhiProLUT_h
50 "eta(4) pt(5) charge(1)",
51 "dphi(9)", 10,
false) {
60 std::vector<unsigned> addr(3);
64 return Lookup(idx, addr) [0];
69 std::vector<unsigned> addr(3);
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
virtual ~L1MuGMTLFPhiProLUT()
destructor
std::vector< port > m_Inputs
virtual unsigned LookupFunctionPacked(int idx, unsigned address) const
access to lookup function with packed input and output
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
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