Back to home page

Project CMSSW displayed by LXR

 
 

    


File indexing completed on 2024-04-06 12:22:17

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