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