#include <L1TriggerConfig/L1ScalesProducers/interface/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().
00017 : m_scales( ps.getParameter<int>("nbitPackingDTEta"), 00018 ps.getParameter<bool>("signedPackingDTEta"), 00019 ps.getParameter<int>("nbinsDTEta"), 00020 ps.getParameter<double>("minDTEta"), 00021 ps.getParameter<double>("maxDTEta"), 00022 ps.getParameter<int>("offsetDTEta"), 00023 00024 ps.getParameter<int>("nbitPackingCSCEta"), 00025 ps.getParameter<int>("nbinsCSCEta"), 00026 ps.getParameter<double>("minCSCEta"), 00027 ps.getParameter<double>("maxCSCEta"), 00028 00029 ps.getParameter<std::vector<double> >("scaleRPCEta"), 00030 ps.getParameter<int>("nbitPackingBrlRPCEta"), 00031 ps.getParameter<bool>("signedPackingBrlRPCEta"), 00032 ps.getParameter<int>("nbinsBrlRPCEta"), 00033 ps.getParameter<int>("offsetBrlRPCEta"), 00034 ps.getParameter<int>("nbitPackingFwdRPCEta"), 00035 ps.getParameter<bool>("signedPackingFwdRPCEta"), 00036 ps.getParameter<int>("nbinsFwdRPCEta"), 00037 ps.getParameter<int>("offsetFwdRPCEta"), 00038 00039 ps.getParameter<int>("nbitPackingGMTEta"), 00040 ps.getParameter<int>("nbinsGMTEta"), 00041 ps.getParameter<std::vector<double> >("scaleGMTEta"), 00042 00043 ps.getParameter<int>("nbitPackingPhi"), 00044 ps.getParameter<bool>("signedPackingPhi"), 00045 ps.getParameter<int>("nbinsPhi"), 00046 ps.getParameter<double>("minPhi"), 00047 ps.getParameter<double>("maxPhi") ) 00048 { 00049 setWhatProduced(this, &L1MuTriggerScalesProducer::produceL1MuTriggerScales); 00050 }
L1MuTriggerScalesProducer::~L1MuTriggerScalesProducer | ( | ) |
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().
00062 { 00063 using namespace edm::es; 00064 00065 std::auto_ptr<L1MuTriggerScales> l1muscale = 00066 std::auto_ptr<L1MuTriggerScales>( new L1MuTriggerScales( m_scales ) ); 00067 00068 return l1muscale ; 00069 }
Definition at line 46 of file L1MuTriggerScalesProducer.h.
Referenced by produceL1MuTriggerScales().