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