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