CondTools
L1TriggerExt
plugins
L1CondDBPayloadWriterExt.h
Go to the documentation of this file.
1
#ifndef CondTools_L1TriggerExt_L1CondDBPayloadWriterExt_h
2
#define CondTools_L1TriggerExt_L1CondDBPayloadWriterExt_h
3
#include <memory>
4
5
#include "
FWCore/Framework/interface/Frameworkfwd.h
"
6
#include "
FWCore/Framework/interface/EDAnalyzer.h
"
7
8
#include "
FWCore/Framework/interface/Event.h
"
9
#include "
FWCore/Framework/interface/MakerMacros.h
"
10
11
#include "
FWCore/ParameterSet/interface/ParameterSet.h
"
12
13
#include "
FWCore/Utilities/interface/ESGetToken.h
"
14
15
#include "
CondTools/L1TriggerExt/interface/DataWriterExt.h
"
16
17
#include "
CondFormats/L1TObjects/interface/L1TriggerKeyExt.h
"
18
#include "
CondFormats/DataRecord/interface/L1TriggerKeyExtRcd.h
"
19
20
class
L1CondDBPayloadWriterExt
:
public
edm::EDAnalyzer
{
21
public
:
22
explicit
L1CondDBPayloadWriterExt
(
const
edm::ParameterSet
&);
23
~L1CondDBPayloadWriterExt
()
override
;
24
25
private
:
26
void
beginJob
()
override
;
27
void
analyze
(
const
edm::Event
&,
const
edm::EventSetup
&)
override
;
28
void
endJob
()
override
;
29
30
// ----------member data ---------------------------
31
l1t::DataWriterExt
m_writer
;
32
// std::string m_tag ; // tag is known by PoolDBOutputService
33
34
// token to access object key
35
edm::ESGetToken<L1TriggerKeyExt, L1TriggerKeyExtRcd>
key_token
;
36
37
// set to false to write config data without valid TSC key
38
bool
m_writeL1TriggerKeyExt
;
39
40
// set to false to write config data only
41
bool
m_writeConfigData
;
42
43
// substitute new payload tokens for existing keys in L1TriggerKeyListExt
44
bool
m_overwriteKeys
;
45
46
bool
m_logTransactions
;
47
48
// if true, do not retrieve L1TriggerKeyListExt from EventSetup
49
bool
m_newL1TriggerKeyListExt
;
50
};
51
52
#endif
DataWriterExt.h
EDAnalyzer.h
L1CondDBPayloadWriterExt::m_writer
l1t::DataWriterExt m_writer
Definition:
L1CondDBPayloadWriterExt.h:31
ESGetToken.h
edm::EDAnalyzer
Definition:
EDAnalyzer.h:28
L1TriggerKeyExtRcd.h
L1TriggerKeyExt.h
MakerMacros.h
L1CondDBPayloadWriterExt::endJob
void endJob() override
Definition:
L1CondDBPayloadWriterExt.cc:142
L1CondDBPayloadWriterExt::analyze
void analyze(const edm::Event &, const edm::EventSetup &) override
Definition:
L1CondDBPayloadWriterExt.cc:26
L1CondDBPayloadWriterExt::m_newL1TriggerKeyListExt
bool m_newL1TriggerKeyListExt
Definition:
L1CondDBPayloadWriterExt.h:49
edm::ParameterSet
Definition:
ParameterSet.h:47
Event.h
L1CondDBPayloadWriterExt::beginJob
void beginJob() override
Definition:
L1CondDBPayloadWriterExt.cc:139
edm::EventSetup
Definition:
EventSetup.h:58
L1CondDBPayloadWriterExt::m_overwriteKeys
bool m_overwriteKeys
Definition:
L1CondDBPayloadWriterExt.h:44
edm::ESGetToken< L1TriggerKeyExt, L1TriggerKeyExtRcd >
L1CondDBPayloadWriterExt
Definition:
L1CondDBPayloadWriterExt.h:20
Frameworkfwd.h
L1CondDBPayloadWriterExt::m_writeL1TriggerKeyExt
bool m_writeL1TriggerKeyExt
Definition:
L1CondDBPayloadWriterExt.h:38
L1CondDBPayloadWriterExt::key_token
edm::ESGetToken< L1TriggerKeyExt, L1TriggerKeyExtRcd > key_token
Definition:
L1CondDBPayloadWriterExt.h:35
L1CondDBPayloadWriterExt::L1CondDBPayloadWriterExt
L1CondDBPayloadWriterExt(const edm::ParameterSet &)
Definition:
L1CondDBPayloadWriterExt.cc:10
ParameterSet.h
L1CondDBPayloadWriterExt::m_logTransactions
bool m_logTransactions
Definition:
L1CondDBPayloadWriterExt.h:46
edm::Event
Definition:
Event.h:73
L1CondDBPayloadWriterExt::m_writeConfigData
bool m_writeConfigData
Definition:
L1CondDBPayloadWriterExt.h:41
L1CondDBPayloadWriterExt::~L1CondDBPayloadWriterExt
~L1CondDBPayloadWriterExt() override
Definition:
L1CondDBPayloadWriterExt.cc:20
l1t::DataWriterExt
Definition:
DataWriterExt.h:35
Generated for CMSSW Reference Manual by
1.8.16