Main Page
Namespaces
Classes
Package Documentation
All
Classes
Namespaces
Files
Functions
Variables
Typedefs
Enumerations
Enumerator
Properties
Friends
Macros
Pages
src
CondTools
Hcal
interface
HcalGainsHandler.h
Go to the documentation of this file.
1
#ifndef HcalGainsHandler_h
2
#define HcalGainsHandler_h
3
4
// Radek Ofierzynski, 27.02.2008
5
6
7
#include <string>
8
#include <iostream>
9
#include <typeinfo>
10
#include <fstream>
11
12
#include "
FWCore/Framework/interface/MakerMacros.h
"
13
#include "
CondCore/PopCon/interface/PopConSourceHandler.h
"
14
15
#include "
FWCore/Framework/interface/ESHandle.h
"
16
#include "
FWCore/Framework/interface/Event.h
"
17
#include "
DataFormats/Common/interface/Handle.h
"
18
#include "
FWCore/Framework/interface/EventSetup.h
"
19
// user include files
20
#include "
CondFormats/HcalObjects/interface/HcalGains.h
"
21
#include "
CondFormats/DataRecord/interface/HcalGainsRcd.h
"
22
#include "
CalibCalorimetry/HcalAlgos/interface/HcalDbASCIIIO.h
"
23
24
25
class
HcalGainsHandler
:
public
popcon::PopConSourceHandler
<HcalGains>
26
{
27
public
:
28
void
getNewObjects
();
29
std::string
id
()
const
{
return
m_name
;}
30
~HcalGainsHandler
();
31
HcalGainsHandler
(
edm::ParameterSet
const
&);
32
33
void
initObject
(
HcalGains
*);
34
35
private
:
36
unsigned
int
sinceTime
;
37
edm::FileInPath
fFile
;
38
HcalGains
*
myDBObject
;
39
std::string
m_name
;
40
41
};
42
#endif
HcalGainsHandler::myDBObject
HcalGains * myDBObject
Definition:
HcalGainsHandler.h:38
HcalGainsHandler::initObject
void initObject(HcalGains *)
Definition:
HcalGainsHandler.cc:45
HcalGainsHandler::getNewObjects
void getNewObjects()
Definition:
HcalGainsHandler.cc:16
Event.h
MakerMacros.h
EventSetup.h
HcalGainsHandler::m_name
std::string m_name
Definition:
HcalGainsHandler.h:39
HcalGainsHandler::id
std::string id() const
Definition:
HcalGainsHandler.h:29
Handle.h
AlCaHLTBitMon_QueryRunRegistry.string
string string
Definition:
AlCaHLTBitMon_QueryRunRegistry.py:255
HcalGainsHandler::HcalGainsHandler
HcalGainsHandler(edm::ParameterSet const &)
Definition:
HcalGainsHandler.cc:6
popcon::PopConSourceHandler
Definition:
PopConSourceHandler.h:36
ESHandle.h
edm::FileInPath
Definition:
FileInPath.h:68
HcalGainsHandler::sinceTime
unsigned int sinceTime
Definition:
HcalGainsHandler.h:36
HcalGainsHandler::fFile
edm::FileInPath fFile
Definition:
HcalGainsHandler.h:37
HcalGainsHandler
Definition:
HcalGainsHandler.h:25
PopConSourceHandler.h
HcalGainsHandler::~HcalGainsHandler
~HcalGainsHandler()
Definition:
HcalGainsHandler.cc:12
HcalGains
Definition:
HcalGains.h:17
HcalGainsRcd.h
HcalGains.h
HcalDbASCIIIO.h
edm::ParameterSet
Definition:
ParameterSet.h:35
Generated for CMSSW Reference Manual by
1.8.5