Main Page
Namespaces
Classes
Package Documentation
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
7
#include <string>
8
#include <iostream>
9
#include <typeinfo>
10
#include <fstream>
11
12
#include "
FWCore/Framework/interface/MakerMacros.h
"
13
#include "
CondCore/PopCon/interface/PopConSourceHandler.h
"
14
15
#include "
FWCore/Framework/interface/ESHandle.h
"
16
#include "
FWCore/Framework/interface/Event.h
"
17
#include "
DataFormats/Common/interface/Handle.h
"
18
#include "
FWCore/Framework/interface/EventSetup.h
"
19
// user include files
20
#include "
CondFormats/HcalObjects/interface/HcalGains.h
"
21
#include "
CondFormats/DataRecord/interface/HcalGainsRcd.h
"
22
#include "
CalibCalorimetry/HcalAlgos/interface/HcalDbASCIIIO.h
"
23
24
25
class
HcalGainsHandler
:
public
popcon::PopConSourceHandler
<HcalGains>
26
{
27
public
:
28
void
getNewObjects
()
override
;
29
std::string
id
()
const override
{
return
m_name
;}
30
~HcalGainsHandler
()
override
;
31
HcalGainsHandler
(
edm::ParameterSet
const
&);
32
33
void
initObject
(
HcalGains
*);
34
35
private
:
36
unsigned
int
sinceTime
;
37
edm::FileInPath
fFile
;
38
HcalGains
*
myDBObject
;
39
std::string
m_name
;
40
41
};
42
#endif
HcalGainsHandler::myDBObject
HcalGains * myDBObject
Definition:
HcalGainsHandler.h:38
HcalGainsHandler::id
std::string id() const override
Definition:
HcalGainsHandler.h:29
HcalGainsHandler::initObject
void initObject(HcalGains *)
Definition:
HcalGainsHandler.cc:45
AlCaHLTBitMon_QueryRunRegistry.string
string
Definition:
AlCaHLTBitMon_QueryRunRegistry.py:256
Event.h
MakerMacros.h
EventSetup.h
HcalGainsHandler::m_name
std::string m_name
Definition:
HcalGainsHandler.h:39
HcalGainsHandler::HcalGainsHandler
HcalGainsHandler(edm::ParameterSet const &)
Definition:
HcalGainsHandler.cc:6
popcon::PopConSourceHandler
Definition:
PopConSourceHandler.h:32
ESHandle.h
HcalGainsHandler::getNewObjects
void getNewObjects() override
Definition:
HcalGainsHandler.cc:16
edm::FileInPath
Definition:
FileInPath.h:68
HcalGainsHandler::sinceTime
unsigned int sinceTime
Definition:
HcalGainsHandler.h:36
HcalGainsHandler::fFile
edm::FileInPath fFile
Definition:
HcalGainsHandler.h:37
HcalGainsHandler
Definition:
HcalGainsHandler.h:25
PopConSourceHandler.h
HcalGains
Definition:
HcalGains.h:17
HcalGainsRcd.h
HcalGains.h
HcalDbASCIIIO.h
edm::ParameterSet
Definition:
ParameterSet.h:36
HcalGainsHandler::~HcalGainsHandler
~HcalGainsHandler() override
Definition:
HcalGainsHandler.cc:12
Handle.h
Generated for CMSSW Reference Manual by
1.8.11