CMS 3D CMS Logo

Public Member Functions | Private Attributes

L1MuTriggerPtScaleProducer Class Reference

#include <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().

  : 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.

{}

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

{
   using namespace edm::es;

   std::auto_ptr<L1MuTriggerPtScale> l1muscale =
     std::auto_ptr<L1MuTriggerPtScale>( new L1MuTriggerPtScale( m_scales ) );

   return l1muscale ;
}

Member Data Documentation

Definition at line 46 of file L1MuTriggerPtScaleProducer.h.

Referenced by produceL1MuTriggerPtScale().