src
CondTools
L1Trigger
plugins
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.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/one/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
class
L1TriggerKey
;
38
class
L1TriggerKeyRcd
;
39
class
L1CondDBIOVWriter
:
public
edm::one::EDAnalyzer
<> {
40
public
:
41
explicit
L1CondDBIOVWriter
(
const
edm::ParameterSet
&);
42
~L1CondDBIOVWriter
()
override
;
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_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.
62
bool
m_ignoreTriggerKey
;
63
64
bool
m_logKeys
;
65
66
bool
m_logTransactions
;
67
68
bool
m_forceUpdate
;
69
70
edm::ESGetToken<L1TriggerKey, L1TriggerKeyRcd>
l1TriggerKeyToken_
;
71
};
72
73
#endif
L1CondDBIOVWriter
Definition:
L1CondDBIOVWriter.h:39
L1CondDBIOVWriter::m_writer
l1t::DataWriter m_writer
Definition:
L1CondDBIOVWriter.h:50
L1CondDBIOVWriter::m_recordTypes
std::vector< std::string > m_recordTypes
Definition:
L1CondDBIOVWriter.h:55
L1CondDBIOVWriter::m_logKeys
bool m_logKeys
Definition:
L1CondDBIOVWriter.h:64
Event.h
L1CondDBIOVWriter::m_ignoreTriggerKey
bool m_ignoreTriggerKey
Definition:
L1CondDBIOVWriter.h:62
MakerMacros.h
L1CondDBIOVWriter::l1TriggerKeyToken_
edm::ESGetToken< L1TriggerKey, L1TriggerKeyRcd > l1TriggerKeyToken_
Definition:
L1CondDBIOVWriter.h:70
L1TriggerKeyRcd
Definition:
L1TriggerKeyRcd.h:30
L1CondDBIOVWriter::beginJob
void beginJob() override
Definition:
L1CondDBIOVWriter.cc:192
Frameworkfwd.h
AlCaHLTBitMon_QueryRunRegistry.string
string string
Definition:
AlCaHLTBitMon_QueryRunRegistry.py:256
L1CondDBIOVWriter::~L1CondDBIOVWriter
~L1CondDBIOVWriter() override
Definition:
L1CondDBIOVWriter.cc:66
ParameterSet.h
edm::ESGetToken< L1TriggerKey, L1TriggerKeyRcd >
L1TriggerKey
Definition:
L1TriggerKey.h:23
edm::EventSetup
Definition:
EventSetup.h:59
L1CondDBIOVWriter::m_forceUpdate
bool m_forceUpdate
Definition:
L1CondDBIOVWriter.h:68
L1CondDBIOVWriter::L1CondDBIOVWriter
L1CondDBIOVWriter(const edm::ParameterSet &)
Definition:
L1CondDBIOVWriter.cc:49
L1CondDBIOVWriter::endJob
void endJob() override
Definition:
L1CondDBIOVWriter.cc:195
L1CondDBIOVWriter::analyze
void analyze(const edm::Event &, const edm::EventSetup &) override
Definition:
L1CondDBIOVWriter.cc:76
DataWriter.h
EDAnalyzer.h
L1CondDBIOVWriter::m_logTransactions
bool m_logTransactions
Definition:
L1CondDBIOVWriter.h:66
edm::ParameterSet
Definition:
ParameterSet.h:48
edm::Event
Definition:
Event.h:73
L1CondDBIOVWriter::m_tscKey
std::string m_tscKey
Definition:
L1CondDBIOVWriter.h:51
edm::one::EDAnalyzer
Definition:
EDAnalyzer.h:30
l1t::DataWriter
Definition:
DataWriter.h:35
Generated for CMSSW Reference Manual by
1.8.14