#include <L1TriggerConfig/L1ScalesProducers/interface/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().
00017 : m_scales( ps.getParameter<int>("nbitPackingPt"), 00018 ps.getParameter<bool>("signedPackingPt"), 00019 ps.getParameter<int>("nbinsPt"), 00020 ps.getParameter<std::vector<double> >("scalePt") ) 00021 { 00022 setWhatProduced(this, &L1MuTriggerPtScaleProducer::produceL1MuTriggerPtScale); 00023 }
L1MuTriggerPtScaleProducer::~L1MuTriggerPtScaleProducer | ( | ) |
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().
00035 { 00036 using namespace edm::es; 00037 00038 std::auto_ptr<L1MuTriggerPtScale> l1muscale = 00039 std::auto_ptr<L1MuTriggerPtScale>( new L1MuTriggerPtScale( m_scales ) ); 00040 00041 return l1muscale ; 00042 }
Definition at line 46 of file L1MuTriggerPtScaleProducer.h.
Referenced by produceL1MuTriggerPtScale().