CMS 3D CMS Logo

L1CondDBIOVWriterExt.h
Go to the documentation of this file.
1 #ifndef CondTools_L1TriggerExt_L1CondDBIOVWriterExt_h
2 #define CondTools_L1TriggerExt_L1CondDBIOVWriterExt_h
3 #include <memory>
4 
5 // user include files
8 
11 
13 
15 
17 public:
18  explicit L1CondDBIOVWriterExt(const edm::ParameterSet&);
19  ~L1CondDBIOVWriterExt() override;
20 
21 private:
22  void beginJob() override;
23  void analyze(const edm::Event&, const edm::EventSetup&) override;
24  void endJob() override;
25 
26  // ----------member data ---------------------------
29 
31 
32  // List of record@type, used only for objects not tied to TSC key.
33  // Otherwise, list of records comes from L1TriggerKeyExt.
34  std::vector<std::string> m_recordTypes;
35 
36  // When true, set IOVs for objects not tied to the TSC key. The records
37  // and objects to be updated are given in the toPut parameter, and
38  // m_tscKey is taken to be a common key for all the toPut objects, not
39  // the TSC key. The IOV for L1TriggerKeyExt is not updated when
40  // m_ignoreTriggerKey = true.
42 
43  bool m_logKeys;
44 
46 
48 };
49 
50 #endif
L1CondDBIOVWriterExt(const edm::ParameterSet &)
void analyze(const edm::Event &, const edm::EventSetup &) override
std::vector< std::string > m_recordTypes
std::string m_tscKey
l1t::DataWriter m_writer ;
l1t::DataWriterExt m_writer