#include <L1MuTriggerPtScaleProducer.h>
Public Member Functions | |
L1MuTriggerPtScaleProducer (const edm::ParameterSet &) | |
std::auto_ptr< L1MuTriggerPtScale > | produceL1MuTriggerPtScale (const L1MuTriggerPtScaleRcd &) |
~L1MuTriggerPtScaleProducer () | |
Private Attributes | |
L1MuTriggerPtScale | m_scales |
Definition at line 36 of file L1MuTriggerPtScaleProducer.h.
L1MuTriggerPtScaleProducer::L1MuTriggerPtScaleProducer | ( | const edm::ParameterSet & | ps | ) |
Definition at line 16 of file L1MuTriggerPtScaleProducer.cc.
References produceL1MuTriggerPtScale(), and edm::ESProducer::setWhatProduced().
: m_scales( ps.getParameter<int>("nbitPackingPt"), ps.getParameter<bool>("signedPackingPt"), ps.getParameter<int>("nbinsPt"), ps.getParameter<std::vector<double> >("scalePt") ) { setWhatProduced(this, &L1MuTriggerPtScaleProducer::produceL1MuTriggerPtScale); }
L1MuTriggerPtScaleProducer::~L1MuTriggerPtScaleProducer | ( | ) |
Definition at line 25 of file L1MuTriggerPtScaleProducer.cc.
{}
std::auto_ptr< L1MuTriggerPtScale > L1MuTriggerPtScaleProducer::produceL1MuTriggerPtScale | ( | const L1MuTriggerPtScaleRcd & | iRecord | ) |
Definition at line 34 of file L1MuTriggerPtScaleProducer.cc.
References L1MuTriggerPtScale_cfi::L1MuTriggerPtScale, and m_scales.
Referenced by L1MuTriggerPtScaleProducer().
{ using namespace edm::es; std::auto_ptr<L1MuTriggerPtScale> l1muscale = std::auto_ptr<L1MuTriggerPtScale>( new L1MuTriggerPtScale( m_scales ) ); return l1muscale ; }
Definition at line 46 of file L1MuTriggerPtScaleProducer.h.
Referenced by produceL1MuTriggerPtScale().