CondTools
Ecal
interface
EcalMappingElectronicsHandler.h
Go to the documentation of this file.
1
#ifndef ECAL_MAPPINGELECTRONICS_HANDLER_H
2
#define ECAL_MAPPINGELECTRONICS_HANDLER_H
3
4
#include <vector>
5
#include <typeinfo>
6
#include <string>
7
#include <map>
8
#include <iostream>
9
#include <ctime>
10
11
#include "
CondCore/PopCon/interface/PopConSourceHandler.h
"
12
#include "
FWCore/ParameterSet/interface/ParameterSetfwd.h
"
13
14
#include "
FWCore/ServiceRegistry/interface/Service.h
"
15
#include "
CondCore/DBOutputService/interface/PoolDBOutputService.h
"
16
#include "
FWCore/Framework/interface/ESHandle.h
"
17
#include "
FWCore/Framework/interface/Event.h
"
18
#include "
FWCore/Framework/interface/MakerMacros.h
"
19
#include "
FWCore/MessageLogger/interface/MessageLogger.h
"
20
#include "
FWCore/ParameterSet/interface/ParameterSet.h
"
21
#include "
DataFormats/Common/interface/Handle.h
"
22
#include "
FWCore/Framework/interface/EventSetup.h
"
23
#include "
FWCore/Framework/interface/EventSetupRecordKey.h
"
24
25
#include "
CondFormats/EcalObjects/interface/EcalMappingElectronics.h
"
26
#include "
CondFormats/DataRecord/interface/EcalMappingElectronicsRcd.h
"
27
28
#include "
DataFormats/EcalDetId/interface/EEDetId.h
"
29
#include "
DataFormats/EcalDetId/interface/EBDetId.h
"
30
#include "
DataFormats/Provenance/interface/Timestamp.h
"
31
32
class
EcalMappingElectronicsHandler
:
public
popcon::PopConSourceHandler
<EcalMappingElectronics> {
33
public
:
34
EcalMappingElectronicsHandler
(
edm::ParameterSet
const
&);
35
~EcalMappingElectronicsHandler
()
override
;
36
void
getNewObjects
()
override
;
37
std::string
id
()
const override
{
return
m_name
; }
38
39
private
:
40
const
EcalMappingElectronics
*
myMap
;
41
42
std::string
txtFileSource_
;
43
std::string
m_name
;
44
45
long
long
since_
;
46
};
47
48
#endif
PopConSourceHandler.h
Handle.h
EcalMappingElectronicsHandler::since_
long long since_
Definition:
EcalMappingElectronicsHandler.h:45
MessageLogger.h
ESHandle.h
EBDetId.h
EEDetId.h
EcalCondObjectContainer
Definition:
EcalCondObjectContainer.h:13
EcalMappingElectronics.h
EcalMappingElectronicsHandler
Definition:
EcalMappingElectronicsHandler.h:32
MakerMacros.h
PoolDBOutputService.h
EcalMappingElectronicsHandler::EcalMappingElectronicsHandler
EcalMappingElectronicsHandler(edm::ParameterSet const &)
Definition:
EcalMappingElectronicsHandler.cc:14
Service.h
EcalMappingElectronicsHandler::getNewObjects
void getNewObjects() override
Definition:
EcalMappingElectronicsHandler.cc:23
AlCaHLTBitMon_QueryRunRegistry.string
string
Definition:
AlCaHLTBitMon_QueryRunRegistry.py:256
edm::ParameterSet
Definition:
ParameterSet.h:36
Timestamp.h
Event.h
EcalMappingElectronicsHandler::myMap
const EcalMappingElectronics * myMap
Definition:
EcalMappingElectronicsHandler.h:40
EcalMappingElectronicsRcd.h
popcon::PopConSourceHandler
Definition:
PopConSourceHandler.h:30
EcalMappingElectronicsHandler::txtFileSource_
std::string txtFileSource_
Definition:
EcalMappingElectronicsHandler.h:42
EcalMappingElectronicsHandler::~EcalMappingElectronicsHandler
~EcalMappingElectronicsHandler() override
Definition:
EcalMappingElectronicsHandler.cc:21
ParameterSetfwd.h
EventSetup.h
EcalMappingElectronicsHandler::m_name
std::string m_name
Definition:
EcalMappingElectronicsHandler.h:43
ParameterSet.h
EventSetupRecordKey.h
EcalMappingElectronicsHandler::id
std::string id() const override
Definition:
EcalMappingElectronicsHandler.h:37
Generated for CMSSW Reference Manual by
1.8.16