Main Page
Namespaces
Classes
Package Documentation
All
Classes
Namespaces
Files
Functions
Variables
Typedefs
Enumerations
Enumerator
Properties
Friends
Macros
Pages
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
();
42
43
44
private
:
45
virtual
void
beginJob
() ;
46
virtual
void
analyze
(
const
edm::Event
&,
const
edm::EventSetup
&);
47
virtual
void
endJob
() ;
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
71
72
#endif
L1CondDBIOVWriter
Definition:
L1CondDBIOVWriter.h:38
L1CondDBIOVWriter::m_writer
l1t::DataWriter m_writer
Definition:
L1CondDBIOVWriter.h:50
L1CondDBIOVWriter::m_logKeys
bool m_logKeys
Definition:
L1CondDBIOVWriter.h:64
L1CondDBIOVWriter::endJob
virtual void endJob()
Definition:
L1CondDBIOVWriter.cc:248
Event.h
L1CondDBIOVWriter::m_ignoreTriggerKey
bool m_ignoreTriggerKey
Definition:
L1CondDBIOVWriter.h:62
MakerMacros.h
Frameworkfwd.h
AlCaHLTBitMon_QueryRunRegistry.string
string string
Definition:
AlCaHLTBitMon_QueryRunRegistry.py:255
L1CondDBIOVWriter::m_recordTypes
std::vector< std::string > m_recordTypes
Definition:
L1CondDBIOVWriter.h:55
L1CondDBIOVWriter::analyze
virtual void analyze(const edm::Event &, const edm::EventSetup &)
Definition:
L1CondDBIOVWriter.cc:84
ParameterSet.h
edm::EventSetup
Definition:
EventSetup.h:45
edm::EDAnalyzer
Definition:
EDAnalyzer.h:27
EDAnalyzer.h
L1CondDBIOVWriter::m_forceUpdate
bool m_forceUpdate
Definition:
L1CondDBIOVWriter.h:68
L1CondDBIOVWriter::L1CondDBIOVWriter
L1CondDBIOVWriter(const edm::ParameterSet &)
Definition:
L1CondDBIOVWriter.cc:50
L1CondDBIOVWriter::~L1CondDBIOVWriter
~L1CondDBIOVWriter()
Definition:
L1CondDBIOVWriter.cc:69
DataWriter.h
L1CondDBIOVWriter::m_logTransactions
bool m_logTransactions
Definition:
L1CondDBIOVWriter.h:66
edm::ParameterSet
Definition:
ParameterSet.h:36
edm::Event
Definition:
Event.h:64
L1CondDBIOVWriter::m_tscKey
std::string m_tscKey
Definition:
L1CondDBIOVWriter.h:51
L1CondDBIOVWriter::beginJob
virtual void beginJob()
Definition:
L1CondDBIOVWriter.cc:242
l1t::DataWriter
Definition:
DataWriter.h:36
Generated for CMSSW Reference Manual by
1.8.5