Main Page
Namespaces
Classes
Package Documentation
All
Classes
Namespaces
Files
Functions
Variables
Typedefs
Enumerations
Enumerator
Properties
Friends
Macros
Pages
src
CondTools
Hcal
interface
HcalGainWidthsHandler.h
Go to the documentation of this file.
1
#ifndef HcalGainWidthsHandler_h
2
#define HcalGainWidthsHandler_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/HcalGainWidths.h
"
21
#include "
CondFormats/DataRecord/interface/HcalGainWidthsRcd.h
"
22
#include "
CalibCalorimetry/HcalAlgos/interface/HcalDbASCIIIO.h
"
23
24
25
class
HcalGainWidthsHandler
:
public
popcon::PopConSourceHandler
<HcalGainWidths>
26
{
27
public
:
28
void
getNewObjects
();
29
std::string
id
()
const
{
return
m_name
;}
30
~HcalGainWidthsHandler
();
31
HcalGainWidthsHandler
(
edm::ParameterSet
const
&);
32
33
void
initObject
(
HcalGainWidths
*);
34
35
private
:
36
unsigned
int
sinceTime
;
37
edm::FileInPath
fFile
;
38
HcalGainWidths
*
myDBObject
;
39
std::string
m_name
;
40
41
};
42
#endif
HcalGainWidths
Definition:
HcalGainWidths.h:15
HcalGainWidthsHandler::getNewObjects
void getNewObjects()
Definition:
HcalGainWidthsHandler.cc:16
HcalGainWidthsRcd.h
HcalGainWidthsHandler::~HcalGainWidthsHandler
~HcalGainWidthsHandler()
Definition:
HcalGainWidthsHandler.cc:12
Event.h
HcalGainWidthsHandler::id
std::string id() const
Definition:
HcalGainWidthsHandler.h:29
MakerMacros.h
EventSetup.h
Handle.h
HcalGainWidthsHandler::fFile
edm::FileInPath fFile
Definition:
HcalGainWidthsHandler.h:37
HcalGainWidthsHandler::myDBObject
HcalGainWidths * myDBObject
Definition:
HcalGainWidthsHandler.h:38
popcon::PopConSourceHandler
Definition:
PopConSourceHandler.h:35
ESHandle.h
HcalGainWidthsHandler::initObject
void initObject(HcalGainWidths *)
Definition:
HcalGainWidthsHandler.cc:45
HcalGainWidthsHandler::HcalGainWidthsHandler
HcalGainWidthsHandler(edm::ParameterSet const &)
Definition:
HcalGainWidthsHandler.cc:6
HcalGainWidths.h
HcalGainWidthsHandler::sinceTime
unsigned int sinceTime
Definition:
HcalGainWidthsHandler.h:36
edm::FileInPath
Definition:
FileInPath.h:68
PopConSourceHandler.h
HcalGainWidthsHandler
Definition:
HcalGainWidthsHandler.h:25
HcalDbASCIIIO.h
edm::ParameterSet
Definition:
ParameterSet.h:35
HcalGainWidthsHandler::m_name
std::string m_name
Definition:
HcalGainWidthsHandler.h:39
Generated for CMSSW Reference Manual by
1.8.5