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