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