CMS 3D CMS Logo

L1MuTriggerPtScaleProducer Class Reference

#include <L1TriggerConfig/L1ScalesProducers/interface/L1MuTriggerPtScaleProducer.h>

Inheritance diagram for L1MuTriggerPtScaleProducer:

edm::ESProducer edm::ESProxyFactoryProducer edm::eventsetup::DataProxyProvider

List of all members.

Public Member Functions

 L1MuTriggerPtScaleProducer (const edm::ParameterSet &)
std::auto_ptr< L1MuTriggerPtScaleproduceL1MuTriggerPtScale (const L1MuTriggerPtScaleRcd &)
 ~L1MuTriggerPtScaleProducer ()

Private Attributes

L1MuTriggerPtScale m_scales


Detailed Description

Definition at line 36 of file L1MuTriggerPtScaleProducer.h.


Constructor & Destructor Documentation

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 (  ) 

Definition at line 25 of file L1MuTriggerPtScaleProducer.cc.

00025 {}


Member Function Documentation

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 }


Member Data Documentation

L1MuTriggerPtScale L1MuTriggerPtScaleProducer::m_scales [private]

Definition at line 46 of file L1MuTriggerPtScaleProducer.h.

Referenced by produceL1MuTriggerPtScale().


The documentation for this class was generated from the following files:
Generated on Tue Jun 9 18:26:57 2009 for CMSSW by  doxygen 1.5.4