CMS 3D CMS Logo

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Pages
MicroGMTAbsoluteIsolationCheckLUT.cc
Go to the documentation of this file.
1 #include "../interface/MicroGMTAbsoluteIsolationCheckLUT.h"
2 
4 {
5  getParameters(iConfig, setName.c_str());
6 }
7 
9 {
10  getParameters(iConfig, setName);
11 }
12 
13 void
15 {
17  m_energySumInWidth = config.getParameter<int>("areaSum_in_width");
18 
19  m_totalInWidth = m_energySumInWidth;
20 
21  std::string m_fname = config.getParameter<std::string>("filename");
22  if (m_fname != std::string("")) {
23  load(m_fname);
24  }
25 
26  m_inputs.push_back(MicroGMTConfiguration::PT);
27  m_inputs.push_back(MicroGMTConfiguration::ETA);
28 }
29 
30 
32 {
33 
34 }
35 
36 
37 int
39 {
40  return lookupPacked(checkedInput(energySum, m_energySumInWidth));
41 }
T getParameter(std::string const &) const
void getParameters(const edm::ParameterSet &iConfig, const char *setName)
def getParameters
Definition: cfg-viewer.py:438
def load
Definition: svgfig.py:546
MicroGMTAbsoluteIsolationCheckLUT(const edm::ParameterSet &iConfig, const std::string &setName)
double energySum(const DataFrame &df, int fs, int ls)