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/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/HcalDcsValues.h
"
19
#include "
CondFormats/DataRecord/interface/HcalDcsRcd.h
"
20
#include "
CalibCalorimetry/HcalAlgos/interface/HcalDbASCIIIO.h
"
21
22
class
HcalDcsValuesHandler
:
public
popcon::PopConSourceHandler
<HcalDcsValues> {
23
public
:
24
void
getNewObjects
()
override
;
25
std::string
id
()
const override
{
return
m_name
; }
26
~HcalDcsValuesHandler
()
override
;
27
HcalDcsValuesHandler
(
edm::ParameterSet
const
&);
28
29
void
initObject
(
HcalDcsValues
*);
30
31
private
:
32
unsigned
int
sinceTime
;
33
edm::FileInPath
fFile
;
34
HcalDcsValues
*
myDBObject
;
35
std::string
m_name
;
36
};
37
#endif
PopConSourceHandler.h
Handle.h
HcalDcsValuesHandler::~HcalDcsValuesHandler
~HcalDcsValuesHandler() override
Definition:
HcalDcsValuesHandler.cc:11
HcalDcsValuesHandler::myDBObject
HcalDcsValues * myDBObject
Definition:
HcalDcsValuesHandler.h:34
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:32
HcalDcsValuesHandler::getNewObjects
void getNewObjects() override
Definition:
HcalDcsValuesHandler.cc:13
AlCaHLTBitMon_QueryRunRegistry.string
string
Definition:
AlCaHLTBitMon_QueryRunRegistry.py:256
edm::ParameterSet
Definition:
ParameterSet.h:47
Event.h
HcalDcsValues
Definition:
HcalDcsValues.h:25
HcalDcsValuesHandler::fFile
edm::FileInPath fFile
Definition:
HcalDcsValuesHandler.h:33
HcalDcsValues.h
HcalDcsValuesHandler::m_name
std::string m_name
Definition:
HcalDcsValuesHandler.h:35
HcalDcsValuesHandler::id
std::string id() const override
Definition:
HcalDcsValuesHandler.h:25
popcon::PopConSourceHandler
Definition:
PopConSourceHandler.h:30
HcalDbASCIIIO.h
EventSetup.h
HcalDcsValuesHandler
Definition:
HcalDcsValuesHandler.h:22
HcalDcsRcd.h
HcalDcsValuesHandler::HcalDcsValuesHandler
HcalDcsValuesHandler(edm::ParameterSet const &)
Definition:
HcalDcsValuesHandler.cc:6
Generated for CMSSW Reference Manual by
1.8.16