5 const std::vector<double>& gain,
6 const std::vector<double>& gainWidth,
9 const std::vector<double>& qieOffset,
10 const std::vector<double>& qieSlope,
13 double photoelectronsToAnalog,
14 const std::vector<double>& darkCurrent,
15 const std::vector<double>& noiseCorrelation)
16 : pedestal_(pedestal),
17 pedestalWidth_(pedestalWidth),
19 gainWidth_(gainWidth),
20 zsThreshold_(zsThreshold),
22 qieOffset_(qieOffset),
25 recoShape_(recoShape),
26 photoelectronsToAnalog_(photoelectronsToAnalog),
27 darkCurrent_(darkCurrent),
28 noiseCorrelation_(noiseCorrelation),
29 doSipmRadiationDamage_(
false) {}
32 : pedestal_(p.getParameter<double>(
"pedestal")),
33 pedestalWidth_(p.getParameter<double>(
"pedestalWidth")),
35 gainWidth_(p.getParameter<std::
vector<double>>(
"gainWidth")),
36 zsThreshold_(p.getParameter<int>(
"zsThreshold")),
37 qieType_(p.getParameter<int>(
"qieType")),
38 qieOffset_(p.getParameter<std::
vector<double>>(
"qieOffset")),
39 qieSlope_(p.getParameter<std::
vector<double>>(
"qieSlope")),
40 mcShape_(p.getParameter<int>(
"mcShape")),
41 recoShape_(p.getParameter<int>(
"recoShape")),
42 photoelectronsToAnalog_(p.getParameter<double>(
"photoelectronsToAnalog")),
43 darkCurrent_(p.getParameter<std::
vector<double>>(
"darkCurrent")),
44 noiseCorrelation_(p.getParameter<std::
vector<double>>(
"noiseCorrelation")),
45 doSipmRadiationDamage_(p.getParameter<bool>(
"doRadiationDamage")) {
bool doSipmRadiationDamage_
const double noiseCorrelation(unsigned index) const
HcalSiPMRadiationDamage sipmRadiationDamage_
std::vector< double > noiseCorrelation_
std::vector< double > darkCurrent_
double getDarkCurrent(double intlumi, unsigned index) const
T getParameter(std::string const &) const
const double darkCurrent(unsigned index, double intlumi) const