18 #ifndef L1TriggerGlobalMuonTrigger_L1MuGMTMIAUPhiPro1LUT_h
19 #define L1TriggerGlobalMuonTrigger_L1MuGMTMIAUPhiPro1LUT_h
47 "MIP_DT MIP_BRPC ISO_DT ISO_BRPC MIP_CSC MIP_FRPC ISO_CSC ISO_FRPC",
48 "phi_fine(3) eta(4) pt(5) charge(1)",
49 "cphi_fine(1) cphi_ofs(3)", 11,
false) {
58 std::vector<unsigned> addr(4);
63 return Lookup(idx, addr) [0];
68 std::vector<unsigned> addr(4);
73 return Lookup(idx, addr) [1];
78 std::vector<unsigned> addr(4);
virtual ~L1MuGMTMIAUPhiPro1LUT()
destructor
std::vector< unsigned > Lookup(int idx, const std::vector< unsigned > &address) const
additional lookup function (std::vector -> vector)
unsigned SpecificLookup(int idx, unsigned phi_fine, unsigned eta, unsigned pt, unsigned charge) const
specific lookup function for entire output field
void InitParameters()
Initialize scales, configuration parameters, alignment constants, ...
unsigned SpecificLookup_cphi_fine(int idx, unsigned phi_fine, unsigned eta, unsigned pt, unsigned charge) const
specific lookup function for cphi_fine
std::vector< port > m_Inputs
L1MuGMTMIAUPhiPro1LUT()
constuctor using function-lookup
unsigned SpecificLookup_cphi_ofs(int idx, unsigned phi_fine, unsigned eta, unsigned pt, unsigned charge) const
specific lookup function for cphi_ofs
tuple idx
DEBUGGING if hasattr(process,"trackMonIterativeTracking2012"): print "trackMonIterativeTracking2012 D...
unsigned TheLookupFunction(int idx, unsigned phi_fine, unsigned eta, unsigned pt, unsigned charge) const
The lookup function - here the functionality of the LUT is implemented.
std::vector< unsigned > u2vec(unsigned value, const std::vector< port > &widths) const
generate composite address or value from compact unsigned
virtual unsigned LookupFunctionPacked(int idx, unsigned address) const
access to lookup function with packed input and output
float m_calo_align
Private data members (LUT parameters);.
volatile std::atomic< bool > shutdown_flag false
unsigned LookupPacked(int idx, unsigned) const