test
CMS 3D CMS Logo

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Pages
HcalHardcodeParameters.cc
Go to the documentation of this file.
2 
3 HcalHardcodeParameters::HcalHardcodeParameters(double pedestal, double pedestalWidth, std::vector<double> gain, std::vector<double> gainWidth,
4  int qieType, std::vector<double> qieOffset, std::vector<double> qieSlope, int mcShape, int recoShape,
5  double photoelectronsToAnalog, std::vector<double> darkCurrent)
6 : pedestal_(pedestal),
7  pedestalWidth_(pedestalWidth),
8  gain_(gain),
9  gainWidth_(gainWidth),
10  qieType_(qieType),
11  qieOffset_(qieOffset),
12  qieSlope_(qieSlope),
13  mcShape_(mcShape),
14  recoShape_(recoShape),
15  photoelectronsToAnalog_(photoelectronsToAnalog),
16  darkCurrent_(darkCurrent)
17 {
18 }
19 
21 : pedestal_(p.getParameter<double>("pedestal")),
22  pedestalWidth_(p.getParameter<double>("pedestalWidth")),
23  gain_(p.getParameter<std::vector<double>>("gain")),
24  gainWidth_(p.getParameter<std::vector<double>>("gainWidth")),
25  qieType_(p.getParameter<int>("qieType")),
26  qieOffset_(p.getParameter<std::vector<double>>("qieOffset")),
27  qieSlope_(p.getParameter<std::vector<double>>("qieSlope")),
28  mcShape_(p.getParameter<int>("mcShape")),
29  recoShape_(p.getParameter<int>("recoShape")),
30  photoelectronsToAnalog_(p.getParameter<double>("photoelectronsToAnalog")),
31  darkCurrent_(p.getParameter<std::vector<double>>("darkCurrent"))
32 {
33 }
static const char gain_[]