Back to home page

Project CMSSW displayed by LXR

 
 

    


File indexing completed on 2021-02-14 12:52:18

0001 #ifndef CondTools_L1TriggerExt_L1SubsystemKeysOnlineProdExt_h
0002 #define CondTools_L1TriggerExt_L1SubsystemKeysOnlineProdExt_h
0003 
0004 #include <memory>
0005 
0006 #include "FWCore/Framework/interface/ModuleFactory.h"
0007 #include "FWCore/Framework/interface/ESProducer.h"
0008 #include "FWCore/Framework/interface/ESHandle.h"
0009 
0010 #include "CondFormats/L1TObjects/interface/L1TriggerKeyExt.h"
0011 #include "CondFormats/DataRecord/interface/L1TriggerKeyExtRcd.h"
0012 
0013 #include "CondTools/L1Trigger/interface/OMDSReader.h"
0014 
0015 class L1SubsystemKeysOnlineProdExt : public edm::ESProducer {
0016 public:
0017   L1SubsystemKeysOnlineProdExt(const edm::ParameterSet&);
0018   ~L1SubsystemKeysOnlineProdExt() override;
0019 
0020   using ReturnType = std::unique_ptr<L1TriggerKeyExt>;
0021 
0022   ReturnType produce(const L1TriggerKeyExtRcd&);
0023 
0024 private:
0025   // ----------member data ---------------------------
0026   std::string m_tscKey, m_rsKey;
0027   l1t::OMDSReader m_omdsReader;
0028   bool m_forceGeneration;
0029 };
0030 
0031 #endif