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/ESHandle.h
"
15
#include "
FWCore/Framework/interface/Event.h
"
16
#include "
DataFormats/Common/interface/Handle.h
"
17
#include "
FWCore/Framework/interface/EventSetup.h
"
18
// user include files
19
#include "
CondFormats/HcalObjects/interface/HcalDcsMap.h
"
20
#include "
CondFormats/DataRecord/interface/HcalDcsMapRcd.h
"
21
#include "
CalibCalorimetry/HcalAlgos/interface/HcalDbASCIIIO.h
"
22
23
class
HcalDcsMapHandler
:
public
popcon::PopConSourceHandler
<HcalDcsMap> {
24
public
:
25
void
getNewObjects
()
override
;
26
std::string
id
()
const override
{
return
m_name
; }
27
~HcalDcsMapHandler
()
override
;
28
HcalDcsMapHandler
(
edm::ParameterSet
const
&);
29
30
void
initObject
(
HcalDcsMap
*);
31
32
private
:
33
unsigned
int
sinceTime
;
34
edm::FileInPath
fFile
;
35
HcalDcsMap
*
myDBObject
;
36
std::string
m_name
;
37
};
38
#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
ESHandle.h
HcalDcsMapHandler::m_name
std::string m_name
Definition:
HcalDcsMapHandler.h:36
HcalDcsMap
Definition:
HcalDcsMap.h:34
edm::FileInPath
Definition:
FileInPath.h:64
MakerMacros.h
HcalDcsMapRcd.h
HcalDcsMapHandler::getNewObjects
void getNewObjects() override
Definition:
HcalDcsMapHandler.cc:13
AlCaHLTBitMon_QueryRunRegistry.string
string
Definition:
AlCaHLTBitMon_QueryRunRegistry.py:256
edm::ParameterSet
Definition:
ParameterSet.h:47
HcalDcsMap.h
Event.h
HcalDcsMapHandler::id
std::string id() const override
Definition:
HcalDcsMapHandler.h:26
HcalDcsMapHandler::sinceTime
unsigned int sinceTime
Definition:
HcalDcsMapHandler.h:33
popcon::PopConSourceHandler
Definition:
PopConSourceHandler.h:30
HcalDcsMapHandler::fFile
edm::FileInPath fFile
Definition:
HcalDcsMapHandler.h:34
HcalDbASCIIIO.h
EventSetup.h
HcalDcsMapHandler
Definition:
HcalDcsMapHandler.h:23
HcalDcsMapHandler::myDBObject
HcalDcsMap * myDBObject
Definition:
HcalDcsMapHandler.h:35
Generated for CMSSW Reference Manual by
1.8.16