CMS 3D CMS Logo

MicroGMTCaloIndexSelectionLUT.cc
Go to the documentation of this file.
2 
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 
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); }
l1t::MicroGMTConfiguration::PHI
Definition: MicroGMTConfiguration.h:22
AlCaHLTBitMon_QueryRunRegistry.string
string
Definition: AlCaHLTBitMon_QueryRunRegistry.py:256
l1t::MicroGMTCaloIndexSelectionLUT::lookup
int lookup(int angle) const
Definition: MicroGMTCaloIndexSelectionLUT.cc:37
l1t::MicroGMTLUT
Definition: MicroGMTLUT.h:14
l1t::MicroGMTLUT::m_initialized
bool m_initialized
Definition: MicroGMTLUT.h:37
l1t::MicroGMTLUT::m_totalInWidth
unsigned m_totalInWidth
Definition: MicroGMTLUT.h:34
MicroGMTCaloIndexSelectionLUT.h
l1t::MicroGMTLUT::load
int load(const std::string &inFileName)
Definition: MicroGMTLUT.cc:15
l1t::MicroGMTLUT::m_outWidth
unsigned m_outWidth
Definition: MicroGMTLUT.h:35
alignmentValidation.fname
string fname
main script
Definition: alignmentValidation.py:959
type
type
Definition: HCALResponse.h:21
l1t::LUT
Definition: LUT.h:29
angle
T angle(T x1, T y1, T z1, T x2, T y2, T z2)
Definition: angle.h:11
l1t::MicroGMTCaloIndexSelectionLUT::m_angleInWidth
int m_angleInWidth
Definition: MicroGMTCaloIndexSelectionLUT.h:22
l1t::MicroGMTLUT::m_inputs
std::vector< MicroGMTConfiguration::input_t > m_inputs
Definition: MicroGMTLUT.h:36
l1t::MicroGMTCaloIndexSelectionLUT::MicroGMTCaloIndexSelectionLUT
MicroGMTCaloIndexSelectionLUT()
Definition: MicroGMTCaloIndexSelectionLUT.h:10
l1t::MicroGMTConfiguration::ETA
Definition: MicroGMTConfiguration.h:23