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