src
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
HcalDcsMap.h
HcalDcsMapHandler::initObject
void initObject(HcalDcsMap *)
Definition:
HcalDcsMapHandler.cc:36
HcalDcsMap
Definition:
HcalDcsMap.h:34
HcalDcsMapHandler::~HcalDcsMapHandler
~HcalDcsMapHandler() override
Definition:
HcalDcsMapHandler.cc:11
Event.h
MakerMacros.h
EventSetup.h
HcalDcsMapRcd.h
AlCaHLTBitMon_QueryRunRegistry.string
string string
Definition:
AlCaHLTBitMon_QueryRunRegistry.py:256
HcalDcsMapHandler::getNewObjects
void getNewObjects() override
Definition:
HcalDcsMapHandler.cc:13
popcon::PopConSourceHandler
Definition:
PopConSourceHandler.h:30
edm::FileInPath
Definition:
FileInPath.h:61
HcalDcsMapHandler::id
std::string id() const override
Definition:
HcalDcsMapHandler.h:25
HcalDcsMapHandler
Definition:
HcalDcsMapHandler.h:22
HcalDcsMapHandler::sinceTime
unsigned int sinceTime
Definition:
HcalDcsMapHandler.h:32
PopConSourceHandler.h
HcalDcsMapHandler::fFile
edm::FileInPath fFile
Definition:
HcalDcsMapHandler.h:33
HcalDbASCIIIO.h
edm::ParameterSet
Definition:
ParameterSet.h:47
HcalDcsMapHandler::myDBObject
HcalDcsMap * myDBObject
Definition:
HcalDcsMapHandler.h:34
HcalDcsMapHandler::m_name
std::string m_name
Definition:
HcalDcsMapHandler.h:35
Handle.h
HcalDcsMapHandler::HcalDcsMapHandler
HcalDcsMapHandler(edm::ParameterSet const &)
Definition:
HcalDcsMapHandler.cc:6
Generated for CMSSW Reference Manual by
1.8.14