Back to home page

Project CMSSW displayed by LXR

 
 

    


File indexing completed on 2021-02-14 13:31:12

0001 //-------------------------------------------------
0002 //
0003 //   \class L1MuTriggerScalesProducer
0004 //
0005 //   Description:  A class to produce the L1 mu emulator scales record in the event setup
0006 //
0007 //
0008 //   Author :
0009 //   I. Mikulec
0010 //
0011 //--------------------------------------------------
0012 #ifndef L1ScalesProducers_L1MuTriggerScalesProducer_h
0013 #define L1ScalesProducers_L1MuTriggerScalesProducer_h
0014 
0015 // system include files
0016 #include <memory>
0017 #include <vector>
0018 
0019 // user include files
0020 #include "FWCore/Framework/interface/ModuleFactory.h"
0021 #include "FWCore/Framework/interface/ESProducer.h"
0022 
0023 #include "FWCore/Framework/interface/ESHandle.h"
0024 
0025 #include "CondFormats/L1TObjects/interface/L1MuTriggerScales.h"
0026 #include "CondFormats/DataRecord/interface/L1MuTriggerScalesRcd.h"
0027 
0028 //
0029 // class declaration
0030 //
0031 
0032 class L1MuTriggerScalesProducer : public edm::ESProducer {
0033 public:
0034   L1MuTriggerScalesProducer(const edm::ParameterSet&);
0035   ~L1MuTriggerScalesProducer() override;
0036 
0037   std::unique_ptr<L1MuTriggerScales> produceL1MuTriggerScales(const L1MuTriggerScalesRcd&);
0038 
0039 private:
0040   // ----------member data ---------------------------
0041 
0042   L1MuTriggerScales m_scales;
0043 };
0044 
0045 #endif