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