Main Page
Namespaces
Classes
Package Documentation
CondTools
L1Trigger
plugins
L1CondDBPayloadWriter.h
Go to the documentation of this file.
1
#ifndef CondTools_L1Trigger_L1CondDBPayloadWriter_h
2
#define CondTools_L1Trigger_L1CondDBPayloadWriter_h
3
// -*- C++ -*-
4
//
5
// Package: L1Trigger
6
// Class : L1CondDBPayloadWriter
7
//
16
//
17
// Original Author:
18
// Created: Sun Mar 2 07:06:56 CET 2008
19
// $Id: L1CondDBPayloadWriter.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
26
#include "
FWCore/Framework/interface/Frameworkfwd.h
"
27
#include "
FWCore/Framework/interface/EDAnalyzer.h
"
28
29
#include "
FWCore/Framework/interface/Event.h
"
30
#include "
FWCore/Framework/interface/MakerMacros.h
"
31
32
#include "
FWCore/ParameterSet/interface/ParameterSet.h
"
33
34
#include "
CondTools/L1Trigger/interface/DataWriter.h
"
35
36
// forward declarations
37
38
class
L1CondDBPayloadWriter
:
public
edm::EDAnalyzer
{
39
public
:
40
explicit
L1CondDBPayloadWriter
(
const
edm::ParameterSet
&);
41
~L1CondDBPayloadWriter
()
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 ---------------------------
50
l1t::DataWriter
m_writer
;
51
// std::string m_tag ; // tag is known by PoolDBOutputService
52
53
// set to false to write config data without valid TSC key
54
bool
m_writeL1TriggerKey
;
55
56
// set to false to write config data only
57
bool
m_writeConfigData
;
58
59
// substitute new payload tokens for existing keys in L1TriggerKeyList
60
bool
m_overwriteKeys
;
61
62
bool
m_logTransactions
;
63
64
// if true, do not retrieve L1TriggerKeyList from EventSetup
65
bool
m_newL1TriggerKeyList
;
66
};
67
68
#endif
L1CondDBPayloadWriter::m_writer
l1t::DataWriter m_writer
Definition:
L1CondDBPayloadWriter.h:50
Event.h
MakerMacros.h
L1CondDBPayloadWriter::~L1CondDBPayloadWriter
~L1CondDBPayloadWriter() override
Definition:
L1CondDBPayloadWriter.cc:60
Frameworkfwd.h
ParameterSet.h
L1CondDBPayloadWriter::endJob
void endJob() override
Definition:
L1CondDBPayloadWriter.cc:253
L1CondDBPayloadWriter::m_writeL1TriggerKey
bool m_writeL1TriggerKey
Definition:
L1CondDBPayloadWriter.h:54
L1CondDBPayloadWriter::m_writeConfigData
bool m_writeConfigData
Definition:
L1CondDBPayloadWriter.h:57
L1CondDBPayloadWriter::m_overwriteKeys
bool m_overwriteKeys
Definition:
L1CondDBPayloadWriter.h:60
L1CondDBPayloadWriter
Definition:
L1CondDBPayloadWriter.h:38
edm::EventSetup
Definition:
EventSetup.h:52
L1CondDBPayloadWriter::m_logTransactions
bool m_logTransactions
Definition:
L1CondDBPayloadWriter.h:62
edm::EDAnalyzer
Definition:
EDAnalyzer.h:28
EDAnalyzer.h
L1CondDBPayloadWriter::analyze
void analyze(const edm::Event &, const edm::EventSetup &) override
Definition:
L1CondDBPayloadWriter.cc:75
DataWriter.h
L1CondDBPayloadWriter::L1CondDBPayloadWriter
L1CondDBPayloadWriter(const edm::ParameterSet &)
Definition:
L1CondDBPayloadWriter.cc:48
L1CondDBPayloadWriter::m_newL1TriggerKeyList
bool m_newL1TriggerKeyList
Definition:
L1CondDBPayloadWriter.h:65
edm::ParameterSet
Definition:
ParameterSet.h:36
edm::Event
Definition:
Event.h:70
L1CondDBPayloadWriter::beginJob
void beginJob() override
Definition:
L1CondDBPayloadWriter.cc:247
l1t::DataWriter
Definition:
DataWriter.h:36
Generated for CMSSW Reference Manual by
1.8.11