CondTools
Hcal
interface
HcalChannelQualityHandler.h
Go to the documentation of this file.
1
#ifndef HcalChannelQualityHandler_h
2
#define HcalChannelQualityHandler_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/HcalChannelQuality.h
"
20
#include "
CondFormats/DataRecord/interface/HcalChannelQualityRcd.h
"
21
#include "
CalibCalorimetry/HcalAlgos/interface/HcalDbASCIIIO.h
"
22
23
class
HcalChannelQualityHandler
:
public
popcon::PopConSourceHandler
<HcalChannelQuality> {
24
public
:
25
void
getNewObjects
()
override
;
26
std::string
id
()
const override
{
return
m_name
; }
27
~HcalChannelQualityHandler
()
override
;
28
HcalChannelQualityHandler
(
edm::ParameterSet
const
&);
29
30
void
initObject
(
HcalChannelQuality
*);
31
32
private
:
33
unsigned
int
sinceTime
;
34
edm::FileInPath
fFile
;
35
HcalChannelQuality
*
myDBObject
;
36
std::string
m_name
;
37
};
38
#endif
PopConSourceHandler.h
Handle.h
ESHandle.h
HcalChannelQualityHandler::myDBObject
HcalChannelQuality * myDBObject
Definition:
HcalChannelQualityHandler.h:35
HcalChannelQuality
Definition:
HcalChannelQuality.h:17
edm::FileInPath
Definition:
FileInPath.h:64
MakerMacros.h
HcalChannelQualityHandler::m_name
std::string m_name
Definition:
HcalChannelQualityHandler.h:36
HcalChannelQualityHandler::sinceTime
unsigned int sinceTime
Definition:
HcalChannelQualityHandler.h:33
HcalChannelQualityHandler::HcalChannelQualityHandler
HcalChannelQualityHandler(edm::ParameterSet const &)
Definition:
HcalChannelQualityHandler.cc:6
AlCaHLTBitMon_QueryRunRegistry.string
string
Definition:
AlCaHLTBitMon_QueryRunRegistry.py:256
edm::ParameterSet
Definition:
ParameterSet.h:36
Event.h
HcalChannelQualityHandler::~HcalChannelQualityHandler
~HcalChannelQualityHandler() override
Definition:
HcalChannelQualityHandler.cc:11
HcalChannelQualityHandler::id
std::string id() const override
Definition:
HcalChannelQualityHandler.h:26
popcon::PopConSourceHandler
Definition:
PopConSourceHandler.h:30
HcalChannelQualityRcd.h
HcalChannelQuality.h
HcalChannelQualityHandler::fFile
edm::FileInPath fFile
Definition:
HcalChannelQualityHandler.h:34
HcalChannelQualityHandler::getNewObjects
void getNewObjects() override
Definition:
HcalChannelQualityHandler.cc:13
HcalDbASCIIIO.h
HcalChannelQualityHandler::initObject
void initObject(HcalChannelQuality *)
Definition:
HcalChannelQualityHandler.cc:36
EventSetup.h
HcalChannelQualityHandler
Definition:
HcalChannelQualityHandler.h:23
Generated for CMSSW Reference Manual by
1.8.16