CMS 3D CMS Logo

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Groups Pages
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 
16 class L1TriggerKeyExt;
17 class L1TriggerKeyExtRcd;
18 
20 public:
21  explicit L1CondDBIOVWriterExt(const edm::ParameterSet&);
22  ~L1CondDBIOVWriterExt() override;
23 
24 private:
25  void beginJob() override;
26  void analyze(const edm::Event&, const edm::EventSetup&) override;
27  void endJob() override;
28 
29  // ----------member data ---------------------------
32 
34 
35  // List of record@type, used only for objects not tied to TSC key.
36  // Otherwise, list of records comes from L1TriggerKeyExt.
37  std::vector<std::string> m_recordTypes;
38 
39  // When true, set IOVs for objects not tied to the TSC key. The records
40  // and objects to be updated are given in the toPut parameter, and
41  // m_tscKey is taken to be a common key for all the toPut objects, not
42  // the TSC key. The IOV for L1TriggerKeyExt is not updated when
43  // m_ignoreTriggerKey = true.
45 
46  bool m_logKeys;
47 
49 
51 
53 };
54 
55 #endif
L1CondDBIOVWriterExt(const edm::ParameterSet &)
void analyze(const edm::Event &, const edm::EventSetup &) override
std::vector< std::string > m_recordTypes
edm::ESGetToken< L1TriggerKeyExt, L1TriggerKeyExtRcd > l1TriggerKeyExtToken_
std::string m_tscKey
l1t::DataWriter m_writer ;
l1t::DataWriterExt m_writer