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