18 #ifndef L1TriggerGlobalMuonTrigger_L1MuGMTMIAUPhiPro1LUT_h 19 #define L1TriggerGlobalMuonTrigger_L1MuGMTMIAUPhiPro1LUT_h 45 "MIP_DT MIP_BRPC ISO_DT ISO_BRPC MIP_CSC MIP_FRPC ISO_CSC ISO_FRPC",
46 "phi_fine(3) eta(4) pt(5) charge(1)",
47 "cphi_fine(1) cphi_ofs(3)",
58 std::vector<unsigned>
addr(4);
68 std::vector<unsigned>
addr(4);
78 std::vector<unsigned>
addr(4);
unsigned LookupFunctionPacked(int idx, unsigned address) const override
access to lookup function with packed input and output
unsigned SpecificLookup(int idx, unsigned phi_fine, unsigned eta, unsigned pt, unsigned charge) const
specific lookup function for entire output field
unsigned LookupPacked(int idx, unsigned) const
unsigned SpecificLookup_cphi_ofs(int idx, unsigned phi_fine, unsigned eta, unsigned pt, unsigned charge) const
specific lookup function for cphi_ofs
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
std::vector< unsigned > Lookup(int idx, const std::vector< unsigned > &address) const
additional lookup function (std::vector -> vector)
std::vector< port > m_Inputs
L1MuGMTMIAUPhiPro1LUT()
constuctor using function-lookup
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.
float m_calo_align
Private data members (LUT parameters);.
unsigned SpecificLookup_cphi_fine(int idx, unsigned phi_fine, unsigned eta, unsigned pt, unsigned charge) const
specific lookup function for cphi_fine
~L1MuGMTMIAUPhiPro1LUT() override
destructor