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