Back to home page

Project CMSSW displayed by LXR

 
 

    


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

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