CMS 3D CMS Logo

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 
type
Definition: HCALResponse.h:21
unsigned m_totalInWidth
Definition: MicroGMTLUT.h:34
int load(const std::string &inFileName)
Definition: MicroGMTLUT.cc:15
virtual int lookupPacked(int input) const
Definition: MicroGMTLUT.cc:30
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