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
private
:
44
void
beginJob
()
override
;
45
void
analyze
(
const
edm::Event
&,
const
edm::EventSetup
&)
override
;
46
void
endJob
()
override
;
47
48
// ----------member data ---------------------------
49
l1t::DataWriter
m_writer
;
50
// std::string m_tag ; // tag is known by PoolDBOutputService
51
52
// set to false to write config data without valid TSC key
53
bool
m_writeL1TriggerKey
;
54
55
// set to false to write config data only
56
bool
m_writeConfigData
;
57
58
// substitute new payload tokens for existing keys in L1TriggerKeyList
59
bool
m_overwriteKeys
;
60
61
bool
m_logTransactions
;
62
63
// if true, do not retrieve L1TriggerKeyList from EventSetup
64
bool
m_newL1TriggerKeyList
;
65
};
66
67
#endif
L1CondDBPayloadWriter::m_writer
l1t::DataWriter m_writer
Definition:
L1CondDBPayloadWriter.h:49
Event.h
MakerMacros.h
L1CondDBPayloadWriter::~L1CondDBPayloadWriter
~L1CondDBPayloadWriter() override
Definition:
L1CondDBPayloadWriter.cc:56
Frameworkfwd.h
ParameterSet.h
L1CondDBPayloadWriter::endJob
void endJob() override
Definition:
L1CondDBPayloadWriter.cc:184
L1CondDBPayloadWriter::m_writeL1TriggerKey
bool m_writeL1TriggerKey
Definition:
L1CondDBPayloadWriter.h:53
L1CondDBPayloadWriter::m_writeConfigData
bool m_writeConfigData
Definition:
L1CondDBPayloadWriter.h:56
L1CondDBPayloadWriter::m_overwriteKeys
bool m_overwriteKeys
Definition:
L1CondDBPayloadWriter.h:59
L1CondDBPayloadWriter
Definition:
L1CondDBPayloadWriter.h:38
edm::EventSetup
Definition:
EventSetup.h:57
L1CondDBPayloadWriter::m_logTransactions
bool m_logTransactions
Definition:
L1CondDBPayloadWriter.h:61
edm::EDAnalyzer
Definition:
EDAnalyzer.h:29
EDAnalyzer.h
L1CondDBPayloadWriter::analyze
void analyze(const edm::Event &, const edm::EventSetup &) override
Definition:
L1CondDBPayloadWriter.cc:66
DataWriter.h
L1CondDBPayloadWriter::L1CondDBPayloadWriter
L1CondDBPayloadWriter(const edm::ParameterSet &)
Definition:
L1CondDBPayloadWriter.cc:47
L1CondDBPayloadWriter::m_newL1TriggerKeyList
bool m_newL1TriggerKeyList
Definition:
L1CondDBPayloadWriter.h:64
edm::ParameterSet
Definition:
ParameterSet.h:36
edm::Event
Definition:
Event.h:72
L1CondDBPayloadWriter::beginJob
void beginJob() override
Definition:
L1CondDBPayloadWriter.cc:181
l1t::DataWriter
Definition:
DataWriter.h:35
Generated for CMSSW Reference Manual by
1.8.11