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);
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
tuple idx
DEBUGGING if hasattr(process,"trackMonIterativeTracking2012"): print "trackMonIterativeTracking2012 D...
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
volatile std::atomic< bool > shutdown_flag false
unsigned LookupPacked(int idx, unsigned) const
unsigned SpecificLookup(int idx, unsigned eta, unsigned pt, unsigned charge) const
specific lookup function for entire output field