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