CondTools
Ecal
interface
EcalDBCopy.h
Go to the documentation of this file.
1
#ifndef ECALDBCOPY_H
2
#define ECALDBCOPY_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
EcalDBCopy
:
public
edm::EDAnalyzer
{
19
public
:
20
explicit
EcalDBCopy
(
const
edm::ParameterSet
& iConfig);
21
~EcalDBCopy
()
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
Exception.h
edm
HLT enums.
Definition:
AlignableModifier.h:19
EcalDBCopy::EcalDBCopy
EcalDBCopy(const edm::ParameterSet &iConfig)
Definition:
EcalDBCopy.cc:88
EcalDBCopy::copyToDB
void copyToDB(const edm::EventSetup &evtSetup, std::string container)
Definition:
EcalDBCopy.cc:202
EDAnalyzer.h
edm::EDAnalyzer
Definition:
EDAnalyzer.h:29
EcalDBCopy::m_timetype
std::string m_timetype
Definition:
EcalDBCopy.h:29
EcalDBCopy::m_records
std::map< std::string, std::string > m_records
Definition:
EcalDBCopy.h:31
Event
EcalDBCopy
Definition:
EcalDBCopy.h:18
AlCaHLTBitMon_QueryRunRegistry.string
string
Definition:
AlCaHLTBitMon_QueryRunRegistry.py:256
edm::ParameterSet
Definition:
ParameterSet.h:36
ParameterSet
Definition:
Functions.h:16
EcalDBCopy::~EcalDBCopy
~EcalDBCopy() override
Definition:
EcalDBCopy.cc:103
edm::EventSetup
Definition:
EventSetup.h:57
EcalDBCopy::m_cacheIDs
std::map< std::string, unsigned long long > m_cacheIDs
Definition:
EcalDBCopy.h:30
EcalDBCopy::shouldCopy
bool shouldCopy(const edm::EventSetup &evtSetup, std::string container)
Definition:
EcalDBCopy.cc:118
EventSetup
edm::Event
Definition:
Event.h:73
IOVSyncValue.h
EcalDBCopy::analyze
void analyze(const edm::Event &evt, const edm::EventSetup &evtSetup) override
Definition:
EcalDBCopy.cc:105
Generated for CMSSW Reference Manual by
1.8.16