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/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/HcalTPChannelParameters.h
"
18
#include "
CondFormats/DataRecord/interface/HcalTPChannelParametersRcd.h
"
19
#include "
CalibCalorimetry/HcalAlgos/interface/HcalDbASCIIIO.h
"
20
21
class
HcalTPChannelParametersHandler
:
public
popcon::PopConSourceHandler
<HcalTPChannelParameters> {
22
public
:
23
void
getNewObjects
()
override
;
24
std::string
id
()
const override
{
return
m_name
; }
25
~HcalTPChannelParametersHandler
()
override
;
26
HcalTPChannelParametersHandler
(
edm::ParameterSet
const
&);
27
28
void
initObject
(
HcalTPChannelParameters
*);
29
30
private
:
31
unsigned
int
sinceTime
;
32
edm::FileInPath
fFile
;
33
HcalTPChannelParameters
*
myDBObject
;
34
std::string
m_name
;
35
};
36
#endif
HcalTPChannelParametersHandler::fFile
edm::FileInPath fFile
Definition:
HcalTPChannelParametersHandler.h:32
PopConSourceHandler.h
Handle.h
HcalTPChannelParametersHandler::sinceTime
unsigned int sinceTime
Definition:
HcalTPChannelParametersHandler.h:31
HcalTPChannelParametersHandler::initObject
void initObject(HcalTPChannelParameters *)
Definition:
HcalTPChannelsParametersHandler.cc:33
ESHandle.h
HcalTPChannelParameters
Definition:
HcalTPChannelParameters.h:8
HcalTPChannelParametersHandler
Definition:
HcalTPChannelParametersHandler.h:21
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:34
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:33
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:24
Generated for CMSSW Reference Manual by
1.8.16