13 findingRecord<HBHEDarkeningRecord>();
26 desc.
add<
int>(
"ieta_shift");
27 desc.
add<
double>(
"drdA");
28 desc.
add<
double>(
"drdB");
30 desc_dosemaps.
add<
int>(
"energy");
32 std::vector<edm::ParameterSet> default_dosemap(1);
33 desc.
addVPSet(
"dosemaps", desc_dosemaps, default_dosemap);
36 desc_years.
add<
double>(
"intlumi");
37 desc_years.
add<
double>(
"lumirate");
38 desc_years.
add<
int>(
"energy");
39 std::vector<edm::ParameterSet> default_year(1);
40 desc.
addVPSet(
"years", desc_years, default_year);
48 std::vector<edm::ParameterSet> p_dosemaps =
pset_.
getParameter<std::vector<edm::ParameterSet>>(
"dosemaps");
49 std::map<int, std::vector<std::vector<float>>>
dosemaps;
50 for (
const auto& p_dosemap : p_dosemaps) {
52 int file_energy = p_dosemap.getParameter<
int>(
"energy");
57 std::vector<edm::ParameterSet> p_years =
pset_.
getParameter<std::vector<edm::ParameterSet>>(
"years");
58 std::vector<HBHEDarkening::LumiYear>
years;
59 years.reserve(p_years.size());
60 for (
const auto& p_year : p_years) {
62 p_year.getParameter<
double>(
"intlumi"),
63 p_year.getParameter<
double>(
"lumirate"),
64 p_year.getParameter<
int>(
"energy"));