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