CMS 3D CMS Logo

CMSSW_4_4_3_patch1/src/L1TriggerConfig/L1ScalesProducers/interface/L1MuTriggerScalesOnlineProducer.h

Go to the documentation of this file.
00001 //-------------------------------------------------
00002 //
00003 //   \class L1MuTriggerScalesOnlineProducer
00004 //
00005 //   Description:  A class to produce the L1 mu emulator scales record in the event setup
00006 //                 from the OMDS database.
00007 //
00008 //   $Date: 2008/11/24 18:59:58 $
00009 //   $Revision: 1.1 $
00010 //
00011 //   Author :
00012 //   Thomas Themel
00013 //
00014 //--------------------------------------------------
00015 #ifndef L1ScalesProducers_L1MuTriggerScalesOnlineProducer_h
00016 #define L1ScalesProducers_L1MuTriggerScalesOnlineProducer_h
00017 
00018 // system include files
00019 #include <memory>
00020 #include <string>
00021 
00022 // user include files
00023 #include "FWCore/Framework/interface/ModuleFactory.h"
00024 #include "FWCore/Framework/interface/ESProducer.h"
00025 
00026 #include "FWCore/Framework/interface/ESHandle.h"
00027 
00028 #include "CondFormats/L1TObjects/interface/L1MuTriggerScales.h"
00029 #include "CondFormats/DataRecord/interface/L1MuTriggerScalesRcd.h"
00030 #include "CondTools/L1Trigger/interface/L1ConfigOnlineProdBase.h"
00031 
00032 
00033 //
00034 // class declaration
00035 //
00036 
00037 class L1MuTriggerScalesOnlineProducer : public L1ConfigOnlineProdBase<L1MuTriggerScalesRcd, L1MuTriggerScales> {
00038 public:
00039   L1MuTriggerScalesOnlineProducer(const edm::ParameterSet&);
00040   ~L1MuTriggerScalesOnlineProducer();
00041 
00042   virtual boost::shared_ptr<L1MuTriggerScales> newObject(
00043         const std::string& objectKey ) ;
00044 
00045 private:
00046   // ----------member data ---------------------------
00047   L1MuTriggerScales m_scales;
00048   unsigned int m_nbitPackingPhi;
00049   unsigned int m_nbitPackingEta; 
00050   unsigned int m_nbinsEta;
00051   bool m_signedPackingPhi;
00052 
00053 };
00054 
00055 #endif