CondTools
Hcal
interface
CastorChannelQualityHandler.h
Go to the documentation of this file.
1
#ifndef CastorChannelQualityHandler_h
2
#define CastorChannelQualityHandler_h
3
4
// Radek Ofierzynski, 27.02.2008
5
// Adapter 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/CastorChannelQuality.h
"
21
#include "
CondFormats/DataRecord/interface/CastorChannelQualityRcd.h
"
22
#include "
CalibCalorimetry/CastorCalib/interface/CastorDbASCIIIO.h
"
23
24
class
CastorChannelQualityHandler
:
public
popcon::PopConSourceHandler
<CastorChannelQuality> {
25
public
:
26
void
getNewObjects
()
override
;
27
std::string
id
()
const override
{
return
m_name
; }
28
~CastorChannelQualityHandler
()
override
;
29
CastorChannelQualityHandler
(
edm::ParameterSet
const
&);
30
31
void
initObject
(
CastorChannelQuality
*);
32
33
private
:
34
unsigned
int
sinceTime
;
35
edm::FileInPath
fFile
;
36
CastorChannelQuality
*
myDBObject
;
37
std::string
m_name
;
38
};
39
#endif
CastorChannelQualityRcd.h
PopConSourceHandler.h
Handle.h
CastorChannelQualityHandler::CastorChannelQualityHandler
CastorChannelQualityHandler(edm::ParameterSet const &)
Definition:
CastorChannelQualityHandler.cc:6
ESHandle.h
CastorChannelQualityHandler
Definition:
CastorChannelQualityHandler.h:24
CastorChannelQualityHandler::m_name
std::string m_name
Definition:
CastorChannelQualityHandler.h:37
CastorChannelQualityHandler::sinceTime
unsigned int sinceTime
Definition:
CastorChannelQualityHandler.h:34
CastorChannelQualityHandler::initObject
void initObject(CastorChannelQuality *)
Definition:
CastorChannelQualityHandler.cc:36
CastorChannelQualityHandler::myDBObject
CastorChannelQuality * myDBObject
Definition:
CastorChannelQualityHandler.h:36
edm::FileInPath
Definition:
FileInPath.h:64
MakerMacros.h
CastorChannelQualityHandler::getNewObjects
void getNewObjects() override
Definition:
CastorChannelQualityHandler.cc:13
AlCaHLTBitMon_QueryRunRegistry.string
string
Definition:
AlCaHLTBitMon_QueryRunRegistry.py:256
CastorChannelQualityHandler::id
std::string id() const override
Definition:
CastorChannelQualityHandler.h:27
edm::ParameterSet
Definition:
ParameterSet.h:47
Event.h
popcon::PopConSourceHandler
Definition:
PopConSourceHandler.h:30
CastorChannelQuality
Definition:
CastorChannelQuality.h:17
CastorDbASCIIIO.h
EventSetup.h
CastorChannelQualityHandler::~CastorChannelQualityHandler
~CastorChannelQualityHandler() override
Definition:
CastorChannelQualityHandler.cc:11
CastorChannelQuality.h
CastorChannelQualityHandler::fFile
edm::FileInPath fFile
Definition:
CastorChannelQualityHandler.h:35
Generated for CMSSW Reference Manual by
1.8.16