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