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