40 auto cc = setWhatProduced(
this);
42 auto apvGainLabels = iConfig.getParameter<std::vector<edm::ParameterSet> >(
"APVGain");
43 if (apvGainLabels.empty()) {
44 throw cms::Exception(
"Configuration") <<
"Got empty APVGain vector, but need at least one entry";
48 for (
const auto& gainPSet : apvGainLabels) {
50 tokenLabels_.emplace_back(
52 factor_.push_back_norm(gainPSet.getUntrackedParameter<
double>(
"NormalizationFactor", 1.));
55 factor_.resetIfBadNorm();