20 #ifndef L1TriggerGlobalMuonTrigger_L1MuGMTMIAUPhiPro1LUT_h
21 #define L1TriggerGlobalMuonTrigger_L1MuGMTMIAUPhiPro1LUT_h
49 "MIP_DT MIP_BRPC ISO_DT ISO_BRPC MIP_CSC MIP_FRPC ISO_CSC ISO_FRPC",
50 "phi_fine(3) eta(4) pt(5) charge(1)",
51 "cphi_fine(1) cphi_ofs(3)", 11,
false) {
60 std::vector<unsigned> addr(4);
65 return Lookup(idx, addr) [0];
70 std::vector<unsigned> addr(4);
75 return Lookup(idx, addr) [1];
80 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);.
unsigned LookupPacked(int idx, unsigned) const