CMS 3D CMS Logo

MicroGMTRankPtQualLUT.h
Go to the documentation of this file.
1 #ifndef __l1microgmtrankptquallut_h
2 #define __l1microgmtrankptquallut_h
3 
4 #include "MicroGMTLUT.h"
6 
9 
10 namespace l1t {
12  public:
14  explicit MicroGMTRankPtQualLUT(const std::string&, const unsigned, const unsigned);
16  ~MicroGMTRankPtQualLUT() override{};
17 
18  int lookup(int pt, int qual) const;
19  int lookupPacked(int in) const override;
20 
21  int hashInput(int pt, int qual) const;
22  void unHashInput(int input, int& pt, int& qual) const;
23 
24  private:
25  int m_ptMask;
29 
30  // factor defining the weight of the two inputs when building the LUT
31  unsigned m_ptFactor;
32  unsigned m_qualFactor;
33  };
34 } // namespace l1t
35 
36 #endif /* defined(__l1microgmtrankptquallut_h) */
input
static const std::string input
Definition: EdmProvDump.cc:48
DiDispStaMuonMonitor_cfi.pt
pt
Definition: DiDispStaMuonMonitor_cfi.py:39
l1t::MicroGMTRankPtQualLUT::m_ptFactor
unsigned m_ptFactor
Definition: MicroGMTRankPtQualLUT.h:31
l1t::MicroGMTRankPtQualLUT::m_ptInWidth
int m_ptInWidth
Definition: MicroGMTRankPtQualLUT.h:27
l1t::MicroGMTRankPtQualLUT::m_qualMask
int m_qualMask
Definition: MicroGMTRankPtQualLUT.h:26
MicroGMTConfiguration.h
l1t::MicroGMTRankPtQualLUT::lookup
int lookup(int pt, int qual) const
Definition: MicroGMTRankPtQualLUT.cc:43
l1t::MicroGMTRankPtQualLUT::lookupPacked
int lookupPacked(int in) const override
Definition: MicroGMTRankPtQualLUT.cc:55
l1t::MicroGMTRankPtQualLUT::m_qualInWidth
int m_qualInWidth
Definition: MicroGMTRankPtQualLUT.h:28
l1t::MicroGMTRankPtQualLUT
Definition: MicroGMTRankPtQualLUT.h:11
l1t
delete x;
Definition: CaloConfig.h:22
recoMuon::in
Definition: RecoMuonEnumerators.h:6
l1t::MicroGMTRankPtQualLUT::unHashInput
void unHashInput(int input, int &pt, int &qual) const
Definition: MicroGMTRankPtQualLUT.cc:73
l1t::MicroGMTLUT
Definition: MicroGMTLUT.h:14
AlCaHLTBitMon_QueryRunRegistry.string
string string
Definition: AlCaHLTBitMon_QueryRunRegistry.py:256
l1t::MicroGMTRankPtQualLUT::m_ptMask
int m_ptMask
Definition: MicroGMTRankPtQualLUT.h:25
MicroGMTLUT.h
l1t::LUT
Definition: LUT.h:29
Frameworkfwd.h
l1t::MicroGMTRankPtQualLUT::hashInput
int hashInput(int pt, int qual) const
Definition: MicroGMTRankPtQualLUT.cc:66
l1t::MicroGMTRankPtQualLUT::~MicroGMTRankPtQualLUT
~MicroGMTRankPtQualLUT() override
Definition: MicroGMTRankPtQualLUT.h:16
ParameterSet.h
l1t::MicroGMTRankPtQualLUT::MicroGMTRankPtQualLUT
MicroGMTRankPtQualLUT()
Definition: MicroGMTRankPtQualLUT.h:13
l1t::MicroGMTRankPtQualLUT::m_qualFactor
unsigned m_qualFactor
Definition: MicroGMTRankPtQualLUT.h:32