Main Page
Namespaces
Classes
Package Documentation
CalibCalorimetry
EcalTPGTools
plugins
EcalTPGDBCopy.h
Go to the documentation of this file.
1
#ifndef ECALTPGDBCOPY_H
2
#define ECALTPGDBCOPY_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
}
17
18
class
EcalTPGDBCopy
:
public
edm::EDAnalyzer
{
19
public
:
20
explicit
EcalTPGDBCopy
(
const
edm::ParameterSet
& iConfig );
21
~
EcalTPGDBCopy
()
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
EcalTPGDBCopy::m_timetype
std::string m_timetype
Definition:
EcalTPGDBCopy.h:29
EcalTPGDBCopy::m_cacheIDs
std::map< std::string, unsigned long long > m_cacheIDs
Definition:
EcalTPGDBCopy.h:30
Vispa.Share.Profiling.analyze
def analyze(function, filename, filter=None)
Definition:
Profiling.py:11
ParameterSet
Definition:
Functions.h:16
AlCaHLTBitMon_QueryRunRegistry.string
string
Definition:
AlCaHLTBitMon_QueryRunRegistry.py:255
IOVSyncValue.h
EcalTPGDBCopy::m_records
std::map< std::string, std::string > m_records
Definition:
EcalTPGDBCopy.h:31
Exception.h
EcalTPGDBCopy
Definition:
EcalTPGDBCopy.h:18
EventSetup
edm::EventSetup
Definition:
EventSetup.h:47
edm::EDAnalyzer
Definition:
EDAnalyzer.h:27
EDAnalyzer.h
Event
edm
HLT enums.
Definition:
AlignableModifier.h:17
edm::ParameterSet
Definition:
ParameterSet.h:36
edm::Event
Definition:
Event.h:69
Generated for CMSSW Reference Manual by
1.8.11