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 
22  private:
23  void beginJob() override ;
24  void analyze(const edm::Event&, const edm::EventSetup&) override;
25  void endJob() override ;
26 
27  // ----------member data ---------------------------
30 
32 
33  // List of record@type, used only for objects not tied to TSC key.
34  // Otherwise, list of records comes from L1TriggerKeyExt.
35  std::vector< std::string > m_recordTypes ;
36 
37  // When true, set IOVs for objects not tied to the TSC key. The records
38  // and objects to be updated are given in the toPut parameter, and
39  // m_tscKey is taken to be a common key for all the toPut objects, not
40  // the TSC key. The IOV for L1TriggerKeyExt is not updated when
41  // m_ignoreTriggerKey = true.
43 
44  bool m_logKeys ;
45 
47 
49 };
50 
51 
52 #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