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/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
L1CondDBIOVWriter
:
public
edm::EDAnalyzer
{
39
public
:
40
explicit
L1CondDBIOVWriter
(
const
edm::ParameterSet
&);
41
~L1CondDBIOVWriter
()
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_tscKey
;
51
52
// List of record@type, used only for objects not tied to TSC key.
53
// Otherwise, list of records comes from L1TriggerKey.
54
std::vector<std::string>
m_recordTypes
;
55
56
// When true, set IOVs for objects not tied to the TSC key. The records
57
// and objects to be updated are given in the toPut parameter, and
58
// m_tscKey is taken to be a common key for all the toPut objects, not
59
// the TSC key. The IOV for L1TriggerKey is not updated when
60
// m_ignoreTriggerKey = true.
61
bool
m_ignoreTriggerKey
;
62
63
bool
m_logKeys
;
64
65
bool
m_logTransactions
;
66
67
bool
m_forceUpdate
;
68
};
69
70
#endif
L1CondDBIOVWriter::m_ignoreTriggerKey
bool m_ignoreTriggerKey
Definition:
L1CondDBIOVWriter.h:61
DataWriter.h
L1CondDBIOVWriter::~L1CondDBIOVWriter
~L1CondDBIOVWriter() override
Definition:
L1CondDBIOVWriter.cc:65
L1CondDBIOVWriter::m_recordTypes
std::vector< std::string > m_recordTypes
Definition:
L1CondDBIOVWriter.h:54
EDAnalyzer.h
L1CondDBIOVWriter::m_logKeys
bool m_logKeys
Definition:
L1CondDBIOVWriter.h:63
edm::EDAnalyzer
Definition:
EDAnalyzer.h:28
L1CondDBIOVWriter
Definition:
L1CondDBIOVWriter.h:38
MakerMacros.h
L1CondDBIOVWriter::beginJob
void beginJob() override
Definition:
L1CondDBIOVWriter.cc:193
L1CondDBIOVWriter::L1CondDBIOVWriter
L1CondDBIOVWriter(const edm::ParameterSet &)
Definition:
L1CondDBIOVWriter.cc:49
AlCaHLTBitMon_QueryRunRegistry.string
string
Definition:
AlCaHLTBitMon_QueryRunRegistry.py:256
L1CondDBIOVWriter::analyze
void analyze(const edm::Event &, const edm::EventSetup &) override
Definition:
L1CondDBIOVWriter.cc:75
edm::ParameterSet
Definition:
ParameterSet.h:47
Event.h
L1CondDBIOVWriter::endJob
void endJob() override
Definition:
L1CondDBIOVWriter.cc:196
edm::EventSetup
Definition:
EventSetup.h:58
L1CondDBIOVWriter::m_forceUpdate
bool m_forceUpdate
Definition:
L1CondDBIOVWriter.h:67
L1CondDBIOVWriter::m_logTransactions
bool m_logTransactions
Definition:
L1CondDBIOVWriter.h:65
Frameworkfwd.h
l1t::DataWriter
Definition:
DataWriter.h:35
L1CondDBIOVWriter::m_tscKey
std::string m_tscKey
Definition:
L1CondDBIOVWriter.h:50
ParameterSet.h
edm::Event
Definition:
Event.h:73
L1CondDBIOVWriter::m_writer
l1t::DataWriter m_writer
Definition:
L1CondDBIOVWriter.h:49
Generated for CMSSW Reference Manual by
1.8.16