CondTools
Hcal
interface
HcalTPParametersHandler.h
Go to the documentation of this file.
1
#ifndef CondToolsHcalHcalHcalTPParametersHandler_h
2
#define CondToolsHcalHcalHcalTPParametersHandler_h
3
4
#include <string>
5
#include <iostream>
6
#include <typeinfo>
7
#include <fstream>
8
9
#include "
FWCore/Framework/interface/MakerMacros.h
"
10
#include "
CondCore/PopCon/interface/PopConSourceHandler.h
"
11
12
#include "
FWCore/Framework/interface/ESHandle.h
"
13
#include "
FWCore/Framework/interface/Event.h
"
14
#include "
DataFormats/Common/interface/Handle.h
"
15
#include "
FWCore/Framework/interface/EventSetup.h
"
16
// user include files
17
#include "
CondFormats/HcalObjects/interface/HcalTPParameters.h
"
18
#include "
CondFormats/DataRecord/interface/HcalTPParametersRcd.h
"
19
#include "
CalibCalorimetry/HcalAlgos/interface/HcalDbASCIIIO.h
"
20
21
class
HcalTPParametersHandler
:
public
popcon::PopConSourceHandler
<HcalTPParameters> {
22
public
:
23
void
getNewObjects
()
override
;
24
std::string
id
()
const override
{
return
m_name
; }
25
~HcalTPParametersHandler
()
override
;
26
HcalTPParametersHandler
(
edm::ParameterSet
const
&);
27
28
void
initObject
(
HcalTPParameters
*);
29
30
private
:
31
unsigned
int
sinceTime
;
32
edm::FileInPath
fFile
;
33
HcalTPParameters
*
myDBObject
;
34
std::string
m_name
;
35
};
36
#endif
PopConSourceHandler.h
HcalTPParametersRcd.h
Handle.h
ESHandle.h
HcalTPParameters
Definition:
HcalTPParameters.h:10
HcalTPParametersHandler::HcalTPParametersHandler
HcalTPParametersHandler(edm::ParameterSet const &)
Definition:
HcalTPParametersHandler.cc:6
edm::FileInPath
Definition:
FileInPath.h:64
MakerMacros.h
HcalTPParameters.h
HcalTPParametersHandler::fFile
edm::FileInPath fFile
Definition:
HcalTPParametersHandler.h:32
AlCaHLTBitMon_QueryRunRegistry.string
string
Definition:
AlCaHLTBitMon_QueryRunRegistry.py:256
edm::ParameterSet
Definition:
ParameterSet.h:47
Event.h
HcalTPParametersHandler::id
std::string id() const override
Definition:
HcalTPParametersHandler.h:24
HcalTPParametersHandler::myDBObject
HcalTPParameters * myDBObject
Definition:
HcalTPParametersHandler.h:33
HcalTPParametersHandler::m_name
std::string m_name
Definition:
HcalTPParametersHandler.h:34
popcon::PopConSourceHandler
Definition:
PopConSourceHandler.h:30
HcalTPParametersHandler::sinceTime
unsigned int sinceTime
Definition:
HcalTPParametersHandler.h:31
HcalTPParametersHandler::getNewObjects
void getNewObjects() override
Definition:
HcalTPParametersHandler.cc:13
HcalTPParametersHandler::~HcalTPParametersHandler
~HcalTPParametersHandler() override
Definition:
HcalTPParametersHandler.cc:11
HcalDbASCIIIO.h
HcalTPParametersHandler::initObject
void initObject(HcalTPParameters *)
Definition:
HcalTPParametersHandler.cc:33
EventSetup.h
HcalTPParametersHandler
Definition:
HcalTPParametersHandler.h:21
Generated for CMSSW Reference Manual by
1.8.16