#include <L1GtPrescaleFactorsAlgoTrigTrivialProducer.h>
Public Member Functions | |
L1GtPrescaleFactorsAlgoTrigTrivialProducer (const edm::ParameterSet &) | |
constructor | |
boost::shared_ptr < L1GtPrescaleFactors > | producePrescaleFactors (const L1GtPrescaleFactorsAlgoTrigRcd &) |
public methods | |
~L1GtPrescaleFactorsAlgoTrigTrivialProducer () | |
destructor | |
Private Attributes | |
std::vector< std::vector< int > > | m_prescaleFactors |
prescale factors |
Description: ESProducer for L1 GT prescale factors for algorithm triggers.
Implementation: <TODO: enter implementation details>
$Date$ $Revision$
Definition at line 39 of file L1GtPrescaleFactorsAlgoTrigTrivialProducer.h.
L1GtPrescaleFactorsAlgoTrigTrivialProducer::L1GtPrescaleFactorsAlgoTrigTrivialProducer | ( | const edm::ParameterSet & | parSet | ) |
constructor
Definition at line 38 of file L1GtPrescaleFactorsAlgoTrigTrivialProducer.cc.
References edm::ParameterSet::getParameter(), m_prescaleFactors, producePrescaleFactors(), and edm::ESProducer::setWhatProduced().
{ // tell the framework what data is being produced setWhatProduced(this, &L1GtPrescaleFactorsAlgoTrigTrivialProducer::producePrescaleFactors); // now do what ever other initialization is needed // prescale factors std::vector<edm::ParameterSet> prescaleFactorsSet = parSet.getParameter<std::vector<edm::ParameterSet> >("PrescaleFactorsSet"); for (std::vector<edm::ParameterSet>::const_iterator itPfSet = prescaleFactorsSet.begin(); itPfSet != prescaleFactorsSet.end(); ++itPfSet) { // prescale factors m_prescaleFactors.push_back(itPfSet->getParameter<std::vector<int> >("PrescaleFactors")); } }
L1GtPrescaleFactorsAlgoTrigTrivialProducer::~L1GtPrescaleFactorsAlgoTrigTrivialProducer | ( | ) |
destructor
Definition at line 63 of file L1GtPrescaleFactorsAlgoTrigTrivialProducer.cc.
{
// empty
}
boost::shared_ptr< L1GtPrescaleFactors > L1GtPrescaleFactorsAlgoTrigTrivialProducer::producePrescaleFactors | ( | const L1GtPrescaleFactorsAlgoTrigRcd & | iRecord | ) |
public methods
Definition at line 72 of file L1GtPrescaleFactorsAlgoTrigTrivialProducer.cc.
References m_prescaleFactors.
Referenced by L1GtPrescaleFactorsAlgoTrigTrivialProducer().
{ boost::shared_ptr<L1GtPrescaleFactors> pL1GtPrescaleFactors = boost::shared_ptr<L1GtPrescaleFactors>( new L1GtPrescaleFactors(m_prescaleFactors) ); return pL1GtPrescaleFactors; }
std::vector<std::vector<int> > L1GtPrescaleFactorsAlgoTrigTrivialProducer::m_prescaleFactors [private] |
prescale factors
Definition at line 58 of file L1GtPrescaleFactorsAlgoTrigTrivialProducer.h.
Referenced by L1GtPrescaleFactorsAlgoTrigTrivialProducer(), and producePrescaleFactors().