5 const std::vector<double>&
gain,
6 const std::vector<double>& gainWidth,
9 const std::vector<double>& qieOffset,
10 const std::vector<double>& qieSlope,
14 const std::vector<double>& darkCurrent)
16 pedestalWidth_(pedestalWidth),
18 gainWidth_(gainWidth),
19 zsThreshold_(zsThreshold),
21 qieOffset_(qieOffset),
24 recoShape_(recoShape),
26 darkCurrent_(darkCurrent),
27 doSipmRadiationDamage_(
false) {}
30 : pedestal_(
p.getParameter<double>(
"pedestal")),
31 pedestalWidth_(
p.getParameter<double>(
"pedestalWidth")),
32 gain_(
p.getParameter<
std::vector<double>>(
"gain")),
33 gainWidth_(
p.getParameter<
std::vector<double>>(
"gainWidth")),
34 zsThreshold_(
p.getParameter<
int>(
"zsThreshold")),
35 qieType_(
p.getParameter<
int>(
"qieType")),
36 qieOffset_(
p.getParameter<
std::vector<double>>(
"qieOffset")),
37 qieSlope_(
p.getParameter<
std::vector<double>>(
"qieSlope")),
38 mcShape_(
p.getParameter<
int>(
"mcShape")),
39 recoShape_(
p.getParameter<
int>(
"recoShape")),
40 photoelectronsToAnalog_(
p.getParameter<double>(
"photoelectronsToAnalog")),
41 darkCurrent_(
p.getParameter<
std::vector<double>>(
"darkCurrent")),
42 doSipmRadiationDamage_(
p.getParameter<
bool>(
"doRadiationDamage")) {