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