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/Event.h
"
16
#include "
DataFormats/Common/interface/Handle.h
"
17
#include "
FWCore/Framework/interface/EventSetup.h
"
18
// user include files
19
#include "
CondFormats/CastorObjects/interface/CastorPedestalWidths.h
"
20
#include "
CondFormats/DataRecord/interface/CastorPedestalWidthsRcd.h
"
21
#include "
CalibCalorimetry/CastorCalib/interface/CastorDbASCIIIO.h
"
22
23
class
CastorPedestalWidthsHandler
:
public
popcon::PopConSourceHandler
<CastorPedestalWidths> {
24
public
:
25
void
getNewObjects
()
override
;
26
std::string
id
()
const override
{
return
m_name
; }
27
~CastorPedestalWidthsHandler
()
override
;
28
CastorPedestalWidthsHandler
(
edm::ParameterSet
const
&);
29
30
void
initObject
(
CastorPedestalWidths
*);
31
32
private
:
33
unsigned
int
sinceTime
;
34
edm::FileInPath
fFile
;
35
CastorPedestalWidths
*
myDBObject
;
36
std::string
m_name
;
37
};
38
#endif
PopConSourceHandler.h
Handle.h
CastorPedestalWidths.h
CastorPedestalWidthsHandler::~CastorPedestalWidthsHandler
~CastorPedestalWidthsHandler() override
Definition:
CastorPedestalWidthsHandler.cc:11
CastorPedestalWidthsHandler::id
std::string id() const override
Definition:
CastorPedestalWidthsHandler.h:26
edm::FileInPath
Definition:
FileInPath.h:61
MakerMacros.h
CastorPedestalWidthsHandler::myDBObject
CastorPedestalWidths * myDBObject
Definition:
CastorPedestalWidthsHandler.h:35
CastorPedestalWidthsHandler::m_name
std::string m_name
Definition:
CastorPedestalWidthsHandler.h:36
CastorPedestalWidthsHandler::fFile
edm::FileInPath fFile
Definition:
CastorPedestalWidthsHandler.h:34
CastorPedestalWidthsRcd.h
edm::ParameterSet
Definition:
ParameterSet.h:47
Event.h
CastorPedestalWidthsHandler::initObject
void initObject(CastorPedestalWidths *)
Definition:
CastorPedestalWidthsHandler.cc:36
popcon::PopConSourceHandler
Definition:
PopConSourceHandler.h:30
AlCaHLTBitMon_QueryRunRegistry.string
string string
Definition:
AlCaHLTBitMon_QueryRunRegistry.py:256
CastorDbASCIIIO.h
CastorPedestalWidthsHandler::getNewObjects
void getNewObjects() override
Definition:
CastorPedestalWidthsHandler.cc:13
EventSetup.h
CastorPedestalWidths
Definition:
CastorPedestalWidths.h:18
CastorPedestalWidthsHandler
Definition:
CastorPedestalWidthsHandler.h:23
CastorPedestalWidthsHandler::CastorPedestalWidthsHandler
CastorPedestalWidthsHandler(edm::ParameterSet const &)
Definition:
CastorPedestalWidthsHandler.cc:6
CastorPedestalWidthsHandler::sinceTime
unsigned int sinceTime
Definition:
CastorPedestalWidthsHandler.h:33
Generated for CMSSW Reference Manual by
1.8.16