CMS 3D CMS Logo

Public Member Functions | Private Attributes

L1MuTriggerScalesProducer Class Reference

#include <L1MuTriggerScalesProducer.h>

Inheritance diagram for L1MuTriggerScalesProducer:
edm::ESProducer edm::ESProxyFactoryProducer edm::eventsetup::DataProxyProvider

List of all members.

Public Member Functions

 L1MuTriggerScalesProducer (const edm::ParameterSet &)
std::auto_ptr< L1MuTriggerScalesproduceL1MuTriggerScales (const L1MuTriggerScalesRcd &)
 ~L1MuTriggerScalesProducer ()

Private Attributes

L1MuTriggerScales m_scales

Detailed Description

Definition at line 36 of file L1MuTriggerScalesProducer.h.


Constructor & Destructor Documentation

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.

{}

Member Function Documentation

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 ;
}

Member Data Documentation

Definition at line 46 of file L1MuTriggerScalesProducer.h.

Referenced by produceL1MuTriggerScales().