src
CondTools
Hcal
interface
HcalLutMetadataHandler.h
Go to the documentation of this file.
1
#ifndef HcalLutMetadataHandler_h
2
#define HcalLutMetadataHandler_h
3
4
/*
5
\class HcalLutMetadataHandler
6
\author Gena Kukartsev 21 Sep 2009
7
PopCon handler for the HCAL LUT metadata condition
8
*/
9
10
#include <string>
11
#include <iostream>
12
#include <typeinfo>
13
#include <fstream>
14
15
#include "
FWCore/Framework/interface/MakerMacros.h
"
16
#include "
CondCore/PopCon/interface/PopConSourceHandler.h
"
17
18
#include "
FWCore/Framework/interface/Event.h
"
19
#include "
DataFormats/Common/interface/Handle.h
"
20
#include "
FWCore/Framework/interface/EventSetup.h
"
21
// user include files
22
#include "
CondFormats/HcalObjects/interface/HcalLutMetadata.h
"
23
#include "
CondFormats/DataRecord/interface/HcalLutMetadataRcd.h
"
24
#include "
CalibCalorimetry/HcalAlgos/interface/HcalDbASCIIIO.h
"
25
26
class
HcalLutMetadataHandler
:
public
popcon::PopConSourceHandler
<HcalLutMetadata> {
27
public
:
28
void
getNewObjects
()
override
;
29
std::string
id
()
const override
{
return
m_name
; }
30
~HcalLutMetadataHandler
()
override
;
31
HcalLutMetadataHandler
(
edm::ParameterSet
const
&);
32
33
void
initObject
(
HcalLutMetadata
*);
34
35
private
:
36
unsigned
int
sinceTime
;
37
edm::FileInPath
fFile
;
38
HcalLutMetadata
*
myDBObject
;
39
std::string
m_name
;
40
};
41
#endif
HcalLutMetadataHandler
Definition:
HcalLutMetadataHandler.h:26
HcalLutMetadataHandler::myDBObject
HcalLutMetadata * myDBObject
Definition:
HcalLutMetadataHandler.h:38
HcalLutMetadataHandler::~HcalLutMetadataHandler
~HcalLutMetadataHandler() override
Definition:
HcalLutMetadataHandler.cc:11
HcalLutMetadataHandler::m_name
std::string m_name
Definition:
HcalLutMetadataHandler.h:39
Event.h
EventSetup.h
AlCaHLTBitMon_QueryRunRegistry.string
string string
Definition:
AlCaHLTBitMon_QueryRunRegistry.py:256
popcon::PopConSourceHandler
Definition:
PopConSourceHandler.h:30
HcalLutMetadataHandler::fFile
edm::FileInPath fFile
Definition:
HcalLutMetadataHandler.h:37
HcalLutMetadataHandler::sinceTime
unsigned int sinceTime
Definition:
HcalLutMetadataHandler.h:36
HcalLutMetadataHandler::HcalLutMetadataHandler
HcalLutMetadataHandler(edm::ParameterSet const &)
Definition:
HcalLutMetadataHandler.cc:6
HcalLutMetadataRcd.h
HcalLutMetadataHandler::id
std::string id() const override
Definition:
HcalLutMetadataHandler.h:29
HcalLutMetadataHandler::getNewObjects
void getNewObjects() override
Definition:
HcalLutMetadataHandler.cc:13
edm::FileInPath
Definition:
FileInPath.h:61
PopConSourceHandler.h
HcalLutMetadata
Definition:
HcalLutMetadata.h:15
HcalLutMetadataHandler::initObject
void initObject(HcalLutMetadata *)
Definition:
HcalLutMetadataHandler.cc:36
HcalDbASCIIIO.h
edm::ParameterSet
Definition:
ParameterSet.h:48
MakerMacros.h
HcalLutMetadata.h
Handle.h
Generated for CMSSW Reference Manual by
1.8.14