CondTools
Hcal
interface
HcalElectronicsMapHandler.h
Go to the documentation of this file.
1
#ifndef HcalElectronicsMapHandler_h
2
#define HcalElectronicsMapHandler_h
3
4
// Radek Ofierzynski, 27.02.2008
5
6
#include <string>
7
#include <iostream>
8
#include <typeinfo>
9
#include <fstream>
10
11
#include "
FWCore/Framework/interface/MakerMacros.h
"
12
#include "
CondCore/PopCon/interface/PopConSourceHandler.h
"
13
14
#include "
FWCore/Framework/interface/ESHandle.h
"
15
#include "
FWCore/Framework/interface/Event.h
"
16
#include "
DataFormats/Common/interface/Handle.h
"
17
#include "
FWCore/Framework/interface/EventSetup.h
"
18
// user include files
19
#include "
CondFormats/HcalObjects/interface/HcalElectronicsMap.h
"
20
#include "
CondFormats/DataRecord/interface/HcalElectronicsMapRcd.h
"
21
#include "
CalibCalorimetry/HcalAlgos/interface/HcalDbASCIIIO.h
"
22
23
class
HcalElectronicsMapHandler
:
public
popcon::PopConSourceHandler
<HcalElectronicsMap> {
24
public
:
25
void
getNewObjects
()
override
;
26
std::string
id
()
const override
{
return
m_name
; }
27
~HcalElectronicsMapHandler
()
override
;
28
HcalElectronicsMapHandler
(
edm::ParameterSet
const
&);
29
30
void
initObject
(
HcalElectronicsMap
*);
31
32
private
:
33
unsigned
int
sinceTime
;
34
edm::FileInPath
fFile
;
35
HcalElectronicsMap
*
myDBObject
;
36
std::string
m_name
;
37
};
38
#endif
HcalElectronicsMap.h
HcalElectronicsMapHandler::~HcalElectronicsMapHandler
~HcalElectronicsMapHandler() override
Definition:
HcalElectronicsMapHandler.cc:11
PopConSourceHandler.h
Handle.h
HcalElectronicsMapHandler::id
std::string id() const override
Definition:
HcalElectronicsMapHandler.h:26
HcalElectronicsMapHandler::getNewObjects
void getNewObjects() override
Definition:
HcalElectronicsMapHandler.cc:13
ESHandle.h
HcalElectronicsMapRcd.h
HcalElectronicsMapHandler::fFile
edm::FileInPath fFile
Definition:
HcalElectronicsMapHandler.h:34
HcalElectronicsMapHandler
Definition:
HcalElectronicsMapHandler.h:23
edm::FileInPath
Definition:
FileInPath.h:64
MakerMacros.h
AlCaHLTBitMon_QueryRunRegistry.string
string
Definition:
AlCaHLTBitMon_QueryRunRegistry.py:256
edm::ParameterSet
Definition:
ParameterSet.h:47
Event.h
HcalElectronicsMapHandler::initObject
void initObject(HcalElectronicsMap *)
Definition:
HcalElectronicsMapHandler.cc:36
HcalElectronicsMapHandler::m_name
std::string m_name
Definition:
HcalElectronicsMapHandler.h:36
HcalElectronicsMapHandler::sinceTime
unsigned int sinceTime
Definition:
HcalElectronicsMapHandler.h:33
popcon::PopConSourceHandler
Definition:
PopConSourceHandler.h:30
HcalElectronicsMap
Definition:
HcalElectronicsMap.h:31
HcalElectronicsMapHandler::HcalElectronicsMapHandler
HcalElectronicsMapHandler(edm::ParameterSet const &)
Definition:
HcalElectronicsMapHandler.cc:6
HcalDbASCIIIO.h
EventSetup.h
HcalElectronicsMapHandler::myDBObject
HcalElectronicsMap * myDBObject
Definition:
HcalElectronicsMapHandler.h:35
Generated for CMSSW Reference Manual by
1.8.16