46 std::vector<edm::ParameterSet> prescaleFactorsSet =
47 parSet.
getParameter<std::vector<edm::ParameterSet> >(
"PrescaleFactorsSet");
49 for (std::vector<edm::ParameterSet>::const_iterator itPfSet =
50 prescaleFactorsSet.begin(); itPfSet != prescaleFactorsSet.end(); ++itPfSet) {
53 m_prescaleFactors.push_back(itPfSet->getParameter<std::vector<int> >(
"PrescaleFactors"));
72 auto pL1GtPrescaleFactors = std::make_shared<L1GtPrescaleFactors>(
m_prescaleFactors);
74 return pL1GtPrescaleFactors;
T getParameter(std::string const &) const
std::shared_ptr< L1GtPrescaleFactors > producePrescaleFactors(const L1GtPrescaleFactorsAlgoTrigRcd &)
public methods
void setWhatProduced(T *iThis, const es::Label &iLabel=es::Label())
~L1GtPrescaleFactorsAlgoTrigTrivialProducer() override
destructor
L1GtPrescaleFactorsAlgoTrigTrivialProducer(const edm::ParameterSet &)
constructor
std::vector< std::vector< int > > m_prescaleFactors
prescale factors