CMS 3D CMS Logo

Public Member Functions | Private Attributes

L1MuGMTScalesProducer Class Reference

#include <L1MuGMTScalesProducer.h>

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

List of all members.

Public Member Functions

 L1MuGMTScalesProducer (const edm::ParameterSet &)
std::auto_ptr< L1MuGMTScalesproduceL1MuGMTScales (const L1MuGMTScalesRcd &)
 ~L1MuGMTScalesProducer ()

Private Attributes

L1MuGMTScales m_scales

Detailed Description

Definition at line 36 of file L1MuGMTScalesProducer.h.


Constructor & Destructor Documentation

L1MuGMTScalesProducer::L1MuGMTScalesProducer ( const edm::ParameterSet ps)

Definition at line 16 of file L1MuGMTScalesProducer.cc.

References produceL1MuGMTScales(), and edm::ESProducer::setWhatProduced().

  : m_scales( ps.getParameter<int>("nbitPackingReducedEta"),
              ps.getParameter<int>("nbinsReducedEta"),
              ps.getParameter<std::vector<double> >("scaleReducedEtaDT"),
              ps.getParameter<std::vector<double> >("scaleReducedEtaBrlRPC"),
              ps.getParameter<std::vector<double> >("scaleReducedEtaCSC"),
              ps.getParameter<std::vector<double> >("scaleReducedEtaFwdRPC"),

              ps.getParameter<int>("nbitPackingDeltaEta"),
              ps.getParameter<bool>("signedPackingDeltaEta"),
              ps.getParameter<int>("nbinsDeltaEta"),
              ps.getParameter<double>("minDeltaEta"),
              ps.getParameter<double>("maxDeltaEta"),
              ps.getParameter<int>("offsetDeltaEta"),

              ps.getParameter<int>("nbitPackingDeltaPhi"),
              ps.getParameter<bool>("signedPackingDeltaPhi"),
              ps.getParameter<int>("nbinsDeltaPhi"),
              ps.getParameter<double>("minDeltaPhi"),
              ps.getParameter<double>("maxDeltaPhi"),
              ps.getParameter<int>("offsetDeltaPhi"),

              ps.getParameter<int>("nbitPackingOvlEtaDT"),
              ps.getParameter<int>("nbinsOvlEtaDT"),
              ps.getParameter<double>("minOvlEtaDT"),
              ps.getParameter<double>("maxOvlEtaDT"),

              ps.getParameter<int>("nbitPackingOvlEtaCSC"),
              ps.getParameter<int>("nbinsOvlEtaCSC"),
              ps.getParameter<double>("minOvlEtaCSC"),
              ps.getParameter<double>("maxOvlEtaCSC"),

              ps.getParameter<std::vector<double> >("scaleOvlEtaRPC"),
              ps.getParameter<int>("nbitPackingOvlEtaBrlRPC"),
              ps.getParameter<int>("nbinsOvlEtaBrlRPC"),
              ps.getParameter<int>("nbitPackingOvlEtaFwdRPC"),
              ps.getParameter<int>("nbinsOvlEtaFwdRPC") )
{
 
  setWhatProduced(this, &L1MuGMTScalesProducer::produceL1MuGMTScales);
  
}
L1MuGMTScalesProducer::~L1MuGMTScalesProducer ( )

Definition at line 60 of file L1MuGMTScalesProducer.cc.

{}

Member Function Documentation

std::auto_ptr< L1MuGMTScales > L1MuGMTScalesProducer::produceL1MuGMTScales ( const L1MuGMTScalesRcd iRecord)

Definition at line 69 of file L1MuGMTScalesProducer.cc.

References L1MuGMTScales_cfi::L1MuGMTScales, and m_scales.

Referenced by L1MuGMTScalesProducer().

{
   using namespace edm::es;

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

   return l1muscale ;
}

Member Data Documentation

Definition at line 46 of file L1MuGMTScalesProducer.h.

Referenced by produceL1MuGMTScales().