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/Event.h
"
15
#include "
DataFormats/Common/interface/Handle.h
"
16
#include "
FWCore/Framework/interface/EventSetup.h
"
17
// user include files
18
#include "
CondFormats/HcalObjects/interface/HcalElectronicsMap.h
"
19
#include "
CondFormats/DataRecord/interface/HcalElectronicsMapRcd.h
"
20
#include "
CalibCalorimetry/HcalAlgos/interface/HcalDbASCIIIO.h
"
21
22
class
HcalElectronicsMapHandler
:
public
popcon::PopConSourceHandler
<HcalElectronicsMap> {
23
public
:
24
void
getNewObjects
()
override
;
25
std::string
id
()
const override
{
return
m_name
; }
26
~HcalElectronicsMapHandler
()
override
;
27
HcalElectronicsMapHandler
(
edm::ParameterSet
const
&);
28
29
void
initObject
(
HcalElectronicsMap
*);
30
31
private
:
32
unsigned
int
sinceTime
;
33
edm::FileInPath
fFile
;
34
HcalElectronicsMap
*
myDBObject
;
35
std::string
m_name
;
36
};
37
#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:25
HcalElectronicsMapHandler::getNewObjects
void getNewObjects() override
Definition:
HcalElectronicsMapHandler.cc:13
HcalElectronicsMapRcd.h
HcalElectronicsMapHandler::fFile
edm::FileInPath fFile
Definition:
HcalElectronicsMapHandler.h:33
HcalElectronicsMapHandler
Definition:
HcalElectronicsMapHandler.h:22
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:35
HcalElectronicsMapHandler::sinceTime
unsigned int sinceTime
Definition:
HcalElectronicsMapHandler.h:32
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:34
Generated for CMSSW Reference Manual by
1.8.16