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