test
Main Page
Namespaces
Classes
Package Documentation
All
Classes
Namespaces
Files
Functions
Variables
Typedefs
Enumerations
Enumerator
Properties
Friends
Macros
Pages
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
();
33
std::string
id
()
const
{
return
m_name
;}
34
~HcalLutMetadataHandler
();
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::myDBObject
HcalLutMetadata * myDBObject
Definition:
HcalLutMetadataHandler.h:42
HcalLutMetadataHandler::getNewObjects
void getNewObjects()
Definition:
HcalLutMetadataHandler.cc:16
HcalLutMetadataHandler::m_name
std::string m_name
Definition:
HcalLutMetadataHandler.h:43
Event.h
MakerMacros.h
EventSetup.h
Handle.h
AlCaHLTBitMon_QueryRunRegistry.string
string string
Definition:
AlCaHLTBitMon_QueryRunRegistry.py:255
popcon::PopConSourceHandler
Definition:
PopConSourceHandler.h:36
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
HcalLutMetadataHandler::~HcalLutMetadataHandler
~HcalLutMetadataHandler()
Definition:
HcalLutMetadataHandler.cc:12
HcalLutMetadataRcd.h
edm::FileInPath
Definition:
FileInPath.h:68
PopConSourceHandler.h
HcalLutMetadata
Definition:
HcalLutMetadata.h:15
HcalLutMetadataHandler::id
std::string id() const
Definition:
HcalLutMetadataHandler.h:33
HcalLutMetadataHandler::initObject
void initObject(HcalLutMetadata *)
Definition:
HcalLutMetadataHandler.cc:45
HcalDbASCIIIO.h
edm::ParameterSet
Definition:
ParameterSet.h:35
HcalLutMetadata.h
Generated for CMSSW Reference Manual by
1.8.5