CMS 3D CMS Logo

EcalTPGDBCopy.h
Go to the documentation of this file.
1 #ifndef ECALTPGDBCOPY_H
2 #define ECALTPGDBCOPY_H
3 
6 
8 
9 #include <string>
10 #include <map>
11 
12 namespace edm {
13  class ParameterSet;
14  class Event;
15  class EventSetup;
16 } // namespace edm
17 
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 
30  std::map<std::string, unsigned long long> m_cacheIDs;
31  std::map<std::string, std::string> m_records;
32 };
33 
34 #endif
EcalTPGDBCopy
Definition: EcalTPGDBCopy.h:18
Exception.h
edm
HLT enums.
Definition: AlignableModifier.h:19
EDAnalyzer.h
EcalTPGDBCopy::shouldCopy
bool shouldCopy(const edm::EventSetup &evtSetup, std::string container)
Definition: EcalTPGDBCopy.cc:83
edm::EDAnalyzer
Definition: EDAnalyzer.h:28
EcalTPGDBCopy::m_records
std::map< std::string, std::string > m_records
Definition: EcalTPGDBCopy.h:31
EcalTPGDBCopy::m_cacheIDs
std::map< std::string, unsigned long long > m_cacheIDs
Definition: EcalTPGDBCopy.h:30
Event
EcalTPGDBCopy::~EcalTPGDBCopy
~EcalTPGDBCopy() override
Definition: EcalTPGDBCopy.cc:68
edm::ParameterSet
Definition: ParameterSet.h:47
EcalTPGDBCopy::EcalTPGDBCopy
EcalTPGDBCopy(const edm::ParameterSet &iConfig)
Definition: EcalTPGDBCopy.cc:53
ParameterSet
Definition: Functions.h:16
EcalTPGDBCopy::m_timetype
std::string m_timetype
Definition: EcalTPGDBCopy.h:29
EcalTPGDBCopy::analyze
void analyze(const edm::Event &evt, const edm::EventSetup &evtSetup) override
Definition: EcalTPGDBCopy.cc:70
EcalTPGDBCopy::copyToDB
void copyToDB(const edm::EventSetup &evtSetup, std::string container)
Definition: EcalTPGDBCopy.cc:136
edm::EventSetup
Definition: EventSetup.h:58
AlCaHLTBitMon_QueryRunRegistry.string
string string
Definition: AlCaHLTBitMon_QueryRunRegistry.py:256
EventSetup
edm::Event
Definition: Event.h:73
IOVSyncValue.h