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