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