CondTools
Ecal
interface
ESDBCopy.h
Go to the documentation of this file.
1
#ifndef ESDBCOPY_H
2
#define ESDBCOPY_H
3
4
#include "
FWCore/Framework/interface/EDAnalyzer.h
"
5
#include "
CondCore/CondDB/interface/Exception.h
"
6
7
#include "
FWCore/Framework/interface/IOVSyncValue.h
"
8
9
#include <string>
10
#include <map>
11
12
namespace
edm
{
13
class
ParameterSet
;
14
class
Event
;
15
class
EventSetup
;
16
}
// namespace edm
17
18
class
ESDBCopy
:
public
edm::EDAnalyzer
{
19
public
:
20
explicit
ESDBCopy
(
const
edm::ParameterSet
& iConfig);
21
~ESDBCopy
()
override
;
22
23
void
analyze
(
const
edm::Event
& evt,
const
edm::EventSetup
& evtSetup)
override
;
24
25
private
:
26
bool
shouldCopy
(
const
edm::EventSetup
& evtSetup,
std::string
container);
27
void
copyToDB
(
const
edm::EventSetup
& evtSetup,
std::string
container);
28
29
std::string
m_timetype
;
30
std::map<std::string, unsigned long long>
m_cacheIDs
;
31
std::map<std::string, std::string>
m_records
;
32
};
33
34
#endif
ESDBCopy::~ESDBCopy
~ESDBCopy() override
Definition:
ESDBCopy.cc:40
ESDBCopy::m_records
std::map< std::string, std::string > m_records
Definition:
ESDBCopy.h:31
Exception.h
edm
HLT enums.
Definition:
AlignableModifier.h:19
ESDBCopy::ESDBCopy
ESDBCopy(const edm::ParameterSet &iConfig)
Definition:
ESDBCopy.cc:25
ESDBCopy::m_timetype
std::string m_timetype
Definition:
ESDBCopy.h:29
EDAnalyzer.h
edm::EDAnalyzer
Definition:
EDAnalyzer.h:28
Event
ESDBCopy::shouldCopy
bool shouldCopy(const edm::EventSetup &evtSetup, std::string container)
Definition:
ESDBCopy.cc:55
ESDBCopy::analyze
void analyze(const edm::Event &evt, const edm::EventSetup &evtSetup) override
Definition:
ESDBCopy.cc:42
edm::ParameterSet
Definition:
ParameterSet.h:47
ParameterSet
Definition:
Functions.h:16
ESDBCopy
Definition:
ESDBCopy.h:18
edm::EventSetup
Definition:
EventSetup.h:58
AlCaHLTBitMon_QueryRunRegistry.string
string string
Definition:
AlCaHLTBitMon_QueryRunRegistry.py:256
EventSetup
edm::Event
Definition:
Event.h:73
ESDBCopy::m_cacheIDs
std::map< std::string, unsigned long long > m_cacheIDs
Definition:
ESDBCopy.h:30
IOVSyncValue.h
ESDBCopy::copyToDB
void copyToDB(const edm::EventSetup &evtSetup, std::string container)
Definition:
ESDBCopy.cc:83
Generated for CMSSW Reference Manual by
1.8.16