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