CondTools
L1TriggerExt
plugins
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
6
#include "
FWCore/Framework/interface/Frameworkfwd.h
"
7
#include "
FWCore/Framework/interface/EDAnalyzer.h
"
8
9
#include "
FWCore/Framework/interface/Event.h
"
10
#include "
FWCore/Framework/interface/MakerMacros.h
"
11
12
#include "
FWCore/ParameterSet/interface/ParameterSet.h
"
13
14
#include "
CondTools/L1TriggerExt/interface/DataWriterExt.h
"
15
16
class
L1CondDBIOVWriterExt
:
public
edm::EDAnalyzer
{
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 ---------------------------
27
l1t::DataWriterExt
m_writer
;
29
30
std::string
m_tscKey
,
m_rsKey
;
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.
41
bool
m_ignoreTriggerKey
;
42
43
bool
m_logKeys
;
44
45
bool
m_logTransactions
;
46
47
bool
m_forceUpdate
;
48
};
49
50
#endif
DataWriterExt.h
L1CondDBIOVWriterExt::m_tscKey
std::string m_tscKey
l1t::DataWriter m_writer ;
Definition:
L1CondDBIOVWriterExt.h:30
L1CondDBIOVWriterExt::beginJob
void beginJob() override
Definition:
L1CondDBIOVWriterExt.cc:157
L1CondDBIOVWriterExt
Definition:
L1CondDBIOVWriterExt.h:16
L1CondDBIOVWriterExt::m_ignoreTriggerKey
bool m_ignoreTriggerKey
Definition:
L1CondDBIOVWriterExt.h:41
EDAnalyzer.h
L1CondDBIOVWriterExt::m_writer
l1t::DataWriterExt m_writer
Definition:
L1CondDBIOVWriterExt.h:27
L1CondDBIOVWriterExt::m_rsKey
std::string m_rsKey
Definition:
L1CondDBIOVWriterExt.h:30
edm::EDAnalyzer
Definition:
EDAnalyzer.h:29
L1CondDBIOVWriterExt::m_forceUpdate
bool m_forceUpdate
Definition:
L1CondDBIOVWriterExt.h:47
MakerMacros.h
AlCaHLTBitMon_QueryRunRegistry.string
string
Definition:
AlCaHLTBitMon_QueryRunRegistry.py:256
edm::ParameterSet
Definition:
ParameterSet.h:36
Event.h
L1CondDBIOVWriterExt::m_logKeys
bool m_logKeys
Definition:
L1CondDBIOVWriterExt.h:43
L1CondDBIOVWriterExt::~L1CondDBIOVWriterExt
~L1CondDBIOVWriterExt() override
Definition:
L1CondDBIOVWriterExt.cc:30
L1CondDBIOVWriterExt::m_logTransactions
bool m_logTransactions
Definition:
L1CondDBIOVWriterExt.h:45
edm::EventSetup
Definition:
EventSetup.h:57
Frameworkfwd.h
L1CondDBIOVWriterExt::endJob
void endJob() override
Definition:
L1CondDBIOVWriterExt.cc:160
L1CondDBIOVWriterExt::m_recordTypes
std::vector< std::string > m_recordTypes
Definition:
L1CondDBIOVWriterExt.h:34
L1CondDBIOVWriterExt::analyze
void analyze(const edm::Event &, const edm::EventSetup &) override
Definition:
L1CondDBIOVWriterExt.cc:36
ParameterSet.h
edm::Event
Definition:
Event.h:73
L1CondDBIOVWriterExt::L1CondDBIOVWriterExt
L1CondDBIOVWriterExt(const edm::ParameterSet &)
Definition:
L1CondDBIOVWriterExt.cc:13
l1t::DataWriterExt
Definition:
DataWriterExt.h:35
Generated for CMSSW Reference Manual by
1.8.16