Main Page
Namespaces
Classes
Package Documentation
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
11
#include <string>
12
#include <iostream>
13
#include <typeinfo>
14
#include <fstream>
15
16
#include "
FWCore/Framework/interface/MakerMacros.h
"
17
#include "
CondCore/PopCon/interface/PopConSourceHandler.h
"
18
19
#include "
FWCore/Framework/interface/ESHandle.h
"
20
#include "
FWCore/Framework/interface/Event.h
"
21
#include "
DataFormats/Common/interface/Handle.h
"
22
#include "
FWCore/Framework/interface/EventSetup.h
"
23
// user include files
24
#include "
CondFormats/HcalObjects/interface/HcalLutMetadata.h
"
25
#include "
CondFormats/DataRecord/interface/HcalLutMetadataRcd.h
"
26
#include "
CalibCalorimetry/HcalAlgos/interface/HcalDbASCIIIO.h
"
27
28
29
class
HcalLutMetadataHandler
:
public
popcon::PopConSourceHandler
<HcalLutMetadata>
30
{
31
public
:
32
void
getNewObjects
()
override
;
33
std::string
id
()
const override
{
return
m_name
;}
34
~HcalLutMetadataHandler
()
override
;
35
HcalLutMetadataHandler
(
edm::ParameterSet
const
&);
36
37
void
initObject
(
HcalLutMetadata
*);
38
39
private
:
40
unsigned
int
sinceTime
;
41
edm::FileInPath
fFile
;
42
HcalLutMetadata
*
myDBObject
;
43
std::string
m_name
;
44
45
};
46
#endif
HcalLutMetadataHandler
Definition:
HcalLutMetadataHandler.h:29
HcalLutMetadataHandler::id
std::string id() const override
Definition:
HcalLutMetadataHandler.h:33
HcalLutMetadataHandler::myDBObject
HcalLutMetadata * myDBObject
Definition:
HcalLutMetadataHandler.h:42
HcalLutMetadataHandler::~HcalLutMetadataHandler
~HcalLutMetadataHandler() override
Definition:
HcalLutMetadataHandler.cc:12
HcalLutMetadataHandler::m_name
std::string m_name
Definition:
HcalLutMetadataHandler.h:43
AlCaHLTBitMon_QueryRunRegistry.string
string
Definition:
AlCaHLTBitMon_QueryRunRegistry.py:255
Event.h
MakerMacros.h
EventSetup.h
popcon::PopConSourceHandler
Definition:
PopConSourceHandler.h:32
HcalLutMetadataHandler::fFile
edm::FileInPath fFile
Definition:
HcalLutMetadataHandler.h:41
HcalLutMetadataHandler::sinceTime
unsigned int sinceTime
Definition:
HcalLutMetadataHandler.h:40
HcalLutMetadataHandler::HcalLutMetadataHandler
HcalLutMetadataHandler(edm::ParameterSet const &)
Definition:
HcalLutMetadataHandler.cc:6
ESHandle.h
HcalLutMetadataRcd.h
HcalLutMetadataHandler::getNewObjects
void getNewObjects() override
Definition:
HcalLutMetadataHandler.cc:16
edm::FileInPath
Definition:
FileInPath.h:68
PopConSourceHandler.h
HcalLutMetadata
Definition:
HcalLutMetadata.h:15
HcalLutMetadataHandler::initObject
void initObject(HcalLutMetadata *)
Definition:
HcalLutMetadataHandler.cc:45
HcalDbASCIIIO.h
edm::ParameterSet
Definition:
ParameterSet.h:36
HcalLutMetadata.h
Handle.h
Generated for CMSSW Reference Manual by
1.8.11