47 std::vector<edm::ParameterSet> prescaleFactorsSet =
48 parSet.
getParameter<std::vector<edm::ParameterSet> >(
"PrescaleFactorsSet");
50 for (std::vector<edm::ParameterSet>::const_iterator itPfSet =
51 prescaleFactorsSet.begin(); itPfSet != prescaleFactorsSet.end(); ++itPfSet) {
54 m_prescaleFactors.push_back(itPfSet->getParameter<std::vector<int> >(
"PrescaleFactors"));
71 std::shared_ptr<L1GtPrescaleFactors>
76 auto pL1GtPrescaleFactors = std::make_shared<L1GtPrescaleFactors>(
m_prescaleFactors);
78 return pL1GtPrescaleFactors;
T getParameter(std::string const &) const
void setWhatProduced(T *iThis, const es::Label &iLabel=es::Label())
L1GtPrescaleFactorsTechTrigTrivialProducer(const edm::ParameterSet &)
constructor
~L1GtPrescaleFactorsTechTrigTrivialProducer()
destructor
std::vector< std::vector< int > > m_prescaleFactors
prescale factors
std::shared_ptr< L1GtPrescaleFactors > producePrescaleFactors(const L1GtPrescaleFactorsTechTrigRcd &)
public methods