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