CMS 3D CMS Logo

L1CondDBIOVWriter.h
Go to the documentation of this file.
1 #ifndef CondTools_L1Trigger_L1CondDBIOVWriter_h
2 #define CondTools_L1Trigger_L1CondDBIOVWriter_h
3 // -*- C++ -*-
4 //
5 // Package: L1Trigger
6 // Class : L1CondDBIOVWriter
7 //
16 //
17 // Original Author: Werner Sun
18 // Created: Sun Mar 2 20:10:36 CET 2008
19 // $Id: L1CondDBIOVWriter.h,v 1.6 2009/12/17 23:43:58 wmtan Exp $
20 //
21 
22 // system include files
23 #include <memory>
24 
25 // user include files
28 
31 
33 
35 
36 // forward declarations
37 
39  public:
40  explicit L1CondDBIOVWriter(const edm::ParameterSet&);
41  ~L1CondDBIOVWriter() override;
42 
43 
44  private:
45  void beginJob() override ;
46  void analyze(const edm::Event&, const edm::EventSetup&) override;
47  void endJob() override ;
48 
49  // ----------member data ---------------------------
52 
53  // List of record@type, used only for objects not tied to TSC key.
54  // Otherwise, list of records comes from L1TriggerKey.
55  std::vector< std::string > m_recordTypes ;
56 
57  // When true, set IOVs for objects not tied to the TSC key. The records
58  // and objects to be updated are given in the toPut parameter, and
59  // m_tscKey is taken to be a common key for all the toPut objects, not
60  // the TSC key. The IOV for L1TriggerKey is not updated when
61  // m_ignoreTriggerKey = true.
63 
64  bool m_logKeys ;
65 
67 
69 };
70 
71 
72 #endif
l1t::DataWriter m_writer
void beginJob() override
~L1CondDBIOVWriter() override
std::vector< std::string > m_recordTypes
L1CondDBIOVWriter(const edm::ParameterSet &)
void endJob() override
void analyze(const edm::Event &, const edm::EventSetup &) override