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