CMS 3D CMS Logo

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Groups Pages
MicroGMTCaloIndexSelectionLUT.cc
Go to the documentation of this file.
2 
4  if (type == MicroGMTConfiguration::ETA) {
5  m_angleInWidth = 9;
6  m_outWidth = 5;
8  } else {
9  m_angleInWidth = 10;
10  m_outWidth = 6;
12  }
13 
15 
16  if (fname != std::string("")) {
17  load(fname);
18  }
19 }
20 
22  if (type == MicroGMTConfiguration::ETA) {
23  m_angleInWidth = 9;
24  m_outWidth = 5;
26  } else {
27  m_angleInWidth = 10;
28  m_outWidth = 6;
30  }
31 
33 
34  m_initialized = true;
35 }
36 
37 int l1t::MicroGMTCaloIndexSelectionLUT::lookup(int angle) const { return lookupPacked(angle); }
unsigned m_totalInWidth
Definition: MicroGMTLUT.h:34
int load(const std::string &inFileName)
Definition: MicroGMTLUT.cc:15
std::vector< MicroGMTConfiguration::input_t > m_inputs
Definition: MicroGMTLUT.h:36
Definition: LUT.h:29
string fname
main script
unsigned m_outWidth
Definition: MicroGMTLUT.h:35
T angle(T x1, T y1, T z1, T x2, T y2, T z2)
Definition: angle.h:11