42 using ReturnType = std::unique_ptr<EcalMustacheSCParameters>;
68 auto product = std::make_unique<EcalMustacheSCParameters>(
params_);
74 desc.
add<
double>(
"sqrtLogClustETuning", 1.1);
77 vpsd1.
add<
double>(
"log10EMin");
78 vpsd1.
add<
double>(
"etaMin");
79 vpsd1.
add<std::vector<double>>(
"pUp");
80 vpsd1.
add<std::vector<double>>(
"pLow");
81 vpsd1.
add<std::vector<double>>(
"w0Up");
82 vpsd1.
add<std::vector<double>>(
"w1Up");
83 vpsd1.
add<std::vector<double>>(
"w0Low");
84 vpsd1.
add<std::vector<double>>(
"w1Low");
85 std::vector<edm::ParameterSet> temp1;
91 temp2.
addParameter<std::vector<double>>(
"pUp", {-0.107537, 0.590969, -0.076494});
92 temp2.
addParameter<std::vector<double>>(
"pLow", {-0.0268843, 0.147742, -0.0191235});
93 temp2.
addParameter<std::vector<double>>(
"w0Up", {-0.00681785, -0.00239516});
94 temp2.
addParameter<std::vector<double>>(
"w1Up", {0.000699995, -0.00554331});
95 temp2.
addParameter<std::vector<double>>(
"w0Low", {-0.00681785, -0.00239516});
96 temp2.
addParameter<std::vector<double>>(
"w1Low", {0.000699995, -0.00554331});
97 temp1.push_back(temp2);
99 desc.
addVPSet(
"parabolaParameterSets", vpsd1, temp1);
101 descriptions.
add(
"ecalMustacheSCParametersESProducer", desc);
EcalMustacheSCParameters params_
~EcalMustacheSCParametersESProducer() override
auto setWhatProduced(T *iThis, const es::Label &iLabel={})
EcalMustacheSCParametersESProducer(const edm::ParameterSet &)
ParameterDescriptionBase * addVPSet(U const &iLabel, ParameterSetDescription const &validator, std::vector< ParameterSet > const &defaults)
static void fillDescriptions(edm::ConfigurationDescriptions &descriptions)
void addParameter(std::string const &name, T const &value)
ParameterDescriptionBase * add(U const &iLabel, T const &value)
ReturnType produce(const EcalMustacheSCParametersRcd &)
std::unique_ptr< EcalMustacheSCParameters > ReturnType
#define DEFINE_FWK_EVENTSETUP_MODULE(type)
void add(std::string const &label, ParameterSetDescription const &psetDescription)