CondTools
Hcal
interface
HcalZSThresholdsHandler.h
Go to the documentation of this file.
1
#ifndef HcalZSThresholdsHandler_h
2
#define HcalZSThresholdsHandler_h
3
4
// Radek Ofierzynski, 27.02.2008
5
6
#include <string>
7
#include <iostream>
8
#include <typeinfo>
9
#include <fstream>
10
11
#include "
FWCore/Framework/interface/MakerMacros.h
"
12
#include "
CondCore/PopCon/interface/PopConSourceHandler.h
"
13
14
#include "
FWCore/Framework/interface/Event.h
"
15
#include "
DataFormats/Common/interface/Handle.h
"
16
#include "
FWCore/Framework/interface/EventSetup.h
"
17
// user include files
18
#include "
CondFormats/HcalObjects/interface/HcalZSThresholds.h
"
19
#include "
CondFormats/DataRecord/interface/HcalZSThresholdsRcd.h
"
20
#include "
CalibCalorimetry/HcalAlgos/interface/HcalDbASCIIIO.h
"
21
22
class
HcalZSThresholdsHandler
:
public
popcon::PopConSourceHandler
<HcalZSThresholds> {
23
public
:
24
void
getNewObjects
()
override
;
25
std::string
id
()
const override
{
return
m_name
; }
26
~HcalZSThresholdsHandler
()
override
;
27
HcalZSThresholdsHandler
(
edm::ParameterSet
const
&);
28
29
void
initObject
(
HcalZSThresholds
*);
30
31
private
:
32
unsigned
int
sinceTime
;
33
edm::FileInPath
fFile
;
34
HcalZSThresholds
*
myDBObject
;
35
std::string
m_name
;
36
};
37
#endif
PopConSourceHandler.h
Handle.h
HcalZSThresholdsHandler::HcalZSThresholdsHandler
HcalZSThresholdsHandler(edm::ParameterSet const &)
Definition:
HcalZSThresholdsHandler.cc:6
edm::FileInPath
Definition:
FileInPath.h:61
MakerMacros.h
HcalZSThresholdsHandler::fFile
edm::FileInPath fFile
Definition:
HcalZSThresholdsHandler.h:33
HcalZSThresholdsHandler::sinceTime
unsigned int sinceTime
Definition:
HcalZSThresholdsHandler.h:32
HcalZSThresholdsHandler::m_name
std::string m_name
Definition:
HcalZSThresholdsHandler.h:35
edm::ParameterSet
Definition:
ParameterSet.h:47
HcalZSThresholds.h
Event.h
HcalZSThresholdsHandler::getNewObjects
void getNewObjects() override
Definition:
HcalZSThresholdsHandler.cc:13
HcalZSThresholdsHandler
Definition:
HcalZSThresholdsHandler.h:22
popcon::PopConSourceHandler
Definition:
PopConSourceHandler.h:30
HcalZSThresholdsHandler::initObject
void initObject(HcalZSThresholds *)
Definition:
HcalZSThresholdsHandler.cc:36
AlCaHLTBitMon_QueryRunRegistry.string
string string
Definition:
AlCaHLTBitMon_QueryRunRegistry.py:256
HcalZSThresholdsHandler::~HcalZSThresholdsHandler
~HcalZSThresholdsHandler() override
Definition:
HcalZSThresholdsHandler.cc:11
HcalZSThresholdsHandler::myDBObject
HcalZSThresholds * myDBObject
Definition:
HcalZSThresholdsHandler.h:34
HcalDbASCIIIO.h
EventSetup.h
HcalZSThresholds
Definition:
HcalZSThresholds.h:17
HcalZSThresholdsRcd.h
HcalZSThresholdsHandler::id
std::string id() const override
Definition:
HcalZSThresholdsHandler.h:25
Generated for CMSSW Reference Manual by
1.8.16