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