12 : parameters_(params) {
18 const auto dynamicDPhiPSets = iConfig.
getParameter<std::vector<edm::ParameterSet>>(
"dynamicDPhiParameterSets");
19 for (
const auto &pSet : dynamicDPhiPSets) {
21 pSet.getParameter<
double>(
"etaMin"),
22 pSet.getParameter<
double>(
"yoffset"),
23 pSet.getParameter<
double>(
"scale"),
24 pSet.getParameter<
double>(
"xoffset"),
25 pSet.getParameter<
double>(
"width"),
26 pSet.getParameter<
double>(
"saturation"),
27 pSet.getParameter<
double>(
"cutoff")});
43 const auto p1Mins = std::make_pair(p1.
eMin, p1.
etaMin);
44 const auto p2Mins = std::make_pair(
p2.eMin,
p2.etaMin);
45 return p1Mins < p2Mins;
void sortDynamicDPhiParametersCollection()
void addDynamicDPhiParameters(const EcalSCDynamicDPhiParameters::DynamicDPhiParameters &dynDPhiParams)
std::vector< DynamicDPhiParameters > dynamicDPhiParametersCollection_
SCDynamicDPhiParametersHelper(EcalSCDynamicDPhiParameters ¶ms, const edm::ParameterSet &iConfig)
EcalSCDynamicDPhiParameters & parameters_
T getParameter(std::string const &) const