#include <L1GtPrescaleFactorsTechTrigTrivialProducer.h>
Public Member Functions | |
L1GtPrescaleFactorsTechTrigTrivialProducer (const edm::ParameterSet &) | |
constructor | |
boost::shared_ptr < L1GtPrescaleFactors > | producePrescaleFactors (const L1GtPrescaleFactorsTechTrigRcd &) |
public methods | |
~L1GtPrescaleFactorsTechTrigTrivialProducer () | |
destructor | |
Private Attributes | |
std::vector< std::vector< int > > | m_prescaleFactors |
prescale factors |
Description: ESProducer for L1 GT prescale factors for technical triggers.
Implementation: <TODO: enter implementation details>
$Date$ $Revision$
Definition at line 39 of file L1GtPrescaleFactorsTechTrigTrivialProducer.h.
L1GtPrescaleFactorsTechTrigTrivialProducer::L1GtPrescaleFactorsTechTrigTrivialProducer | ( | const edm::ParameterSet & | parSet | ) |
constructor
Definition at line 38 of file L1GtPrescaleFactorsTechTrigTrivialProducer.cc.
References edm::ParameterSet::getParameter(), m_prescaleFactors, producePrescaleFactors(), and edm::ESProducer::setWhatProduced().
{ // tell the framework what data is being produced setWhatProduced(this, &L1GtPrescaleFactorsTechTrigTrivialProducer::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")); } }
L1GtPrescaleFactorsTechTrigTrivialProducer::~L1GtPrescaleFactorsTechTrigTrivialProducer | ( | ) |
destructor
Definition at line 64 of file L1GtPrescaleFactorsTechTrigTrivialProducer.cc.
{
// empty
}
boost::shared_ptr< L1GtPrescaleFactors > L1GtPrescaleFactorsTechTrigTrivialProducer::producePrescaleFactors | ( | const L1GtPrescaleFactorsTechTrigRcd & | iRecord | ) |
public methods
Definition at line 75 of file L1GtPrescaleFactorsTechTrigTrivialProducer.cc.
References m_prescaleFactors.
Referenced by L1GtPrescaleFactorsTechTrigTrivialProducer().
{ boost::shared_ptr<L1GtPrescaleFactors> pL1GtPrescaleFactors = boost::shared_ptr<L1GtPrescaleFactors>( new L1GtPrescaleFactors(m_prescaleFactors) ); return pL1GtPrescaleFactors; }
std::vector<std::vector<int> > L1GtPrescaleFactorsTechTrigTrivialProducer::m_prescaleFactors [private] |
prescale factors
Definition at line 58 of file L1GtPrescaleFactorsTechTrigTrivialProducer.h.
Referenced by L1GtPrescaleFactorsTechTrigTrivialProducer(), and producePrescaleFactors().