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