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