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