14 "Bad number of calibration scales, pts.size() * etas.size() != scales.size()");
21 desc.addUntracked<std::vector<double>>(
"etaBins", std::vector<double>{});
22 desc.addUntracked<std::vector<double>>(
"ptBins", std::vector<double>{});
23 desc.addUntracked<std::vector<double>>(
"scale", std::vector<double>{});
24 descriptions.
add(
"createIdealTkAlRecords",
desc);
29 for (
unsigned int i = 0,
n =
pts.size();
i <
n; ++
i) {
36 for (
unsigned int i = 0,
n =
etas.size();
i <
n; ++
i) {
37 if (abseta <
etas[
i]) {
T getParameter(std::string const &) const
static void fillDescriptions(edm::ConfigurationDescriptions &descriptions)
float operator()(const float pt, const float abseta) const
void add(std::string const &label, ParameterSetDescription const &psetDescription)
std::vector< float > scales
std::vector< float > etas