#include <L1MuTriggerScalesProducer.h>
Public Member Functions | |
L1MuTriggerScalesProducer (const edm::ParameterSet &) | |
std::auto_ptr< L1MuTriggerScales > | produceL1MuTriggerScales (const L1MuTriggerScalesRcd &) |
~L1MuTriggerScalesProducer () | |
Private Attributes | |
L1MuTriggerScales | m_scales |
Definition at line 36 of file L1MuTriggerScalesProducer.h.
L1MuTriggerScalesProducer::L1MuTriggerScalesProducer | ( | const edm::ParameterSet & | ps | ) |
Definition at line 16 of file L1MuTriggerScalesProducer.cc.
References produceL1MuTriggerScales(), and edm::ESProducer::setWhatProduced().
: m_scales( ps.getParameter<int>("nbitPackingDTEta"), ps.getParameter<bool>("signedPackingDTEta"), ps.getParameter<int>("nbinsDTEta"), ps.getParameter<double>("minDTEta"), ps.getParameter<double>("maxDTEta"), ps.getParameter<int>("offsetDTEta"), ps.getParameter<int>("nbitPackingCSCEta"), ps.getParameter<int>("nbinsCSCEta"), ps.getParameter<double>("minCSCEta"), ps.getParameter<double>("maxCSCEta"), ps.getParameter<std::vector<double> >("scaleRPCEta"), ps.getParameter<int>("nbitPackingBrlRPCEta"), ps.getParameter<bool>("signedPackingBrlRPCEta"), ps.getParameter<int>("nbinsBrlRPCEta"), ps.getParameter<int>("offsetBrlRPCEta"), ps.getParameter<int>("nbitPackingFwdRPCEta"), ps.getParameter<bool>("signedPackingFwdRPCEta"), ps.getParameter<int>("nbinsFwdRPCEta"), ps.getParameter<int>("offsetFwdRPCEta"), ps.getParameter<int>("nbitPackingGMTEta"), ps.getParameter<int>("nbinsGMTEta"), ps.getParameter<std::vector<double> >("scaleGMTEta"), ps.getParameter<int>("nbitPackingPhi"), ps.getParameter<bool>("signedPackingPhi"), ps.getParameter<int>("nbinsPhi"), ps.getParameter<double>("minPhi"), ps.getParameter<double>("maxPhi") ) { setWhatProduced(this, &L1MuTriggerScalesProducer::produceL1MuTriggerScales); }
L1MuTriggerScalesProducer::~L1MuTriggerScalesProducer | ( | ) |
Definition at line 52 of file L1MuTriggerScalesProducer.cc.
{}
std::auto_ptr< L1MuTriggerScales > L1MuTriggerScalesProducer::produceL1MuTriggerScales | ( | const L1MuTriggerScalesRcd & | iRecord | ) |
Definition at line 61 of file L1MuTriggerScalesProducer.cc.
References L1MuTriggerScales_cfi::L1MuTriggerScales, and m_scales.
Referenced by L1MuTriggerScalesProducer().
{ using namespace edm::es; std::auto_ptr<L1MuTriggerScales> l1muscale = std::auto_ptr<L1MuTriggerScales>( new L1MuTriggerScales( m_scales ) ); return l1muscale ; }
Definition at line 46 of file L1MuTriggerScalesProducer.h.
Referenced by produceL1MuTriggerScales().