CMS 3D CMS Logo

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Pages
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.7 2011/05/10 19:16:53 wsun 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&);
42 
43 
44  private:
45  virtual void beginJob() ;
46  virtual void analyze(const edm::Event&, const edm::EventSetup&);
47  virtual void endJob() ;
48 
49  // ----------member data ---------------------------
51  std::string m_tscKey ;
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
virtual void endJob()
std::vector< std::string > m_recordTypes
virtual void analyze(const edm::Event &, const edm::EventSetup &)
L1CondDBIOVWriter(const edm::ParameterSet &)
virtual void beginJob()