Main Page
Namespaces
Classes
Package Documentation
All
Classes
Namespaces
Files
Functions
Variables
Typedefs
Enumerations
Enumerator
Properties
Friends
Macros
Pages
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
25
class
CastorChannelQualityHandler
:
public
popcon::PopConSourceHandler
<CastorChannelQuality>
26
{
27
public
:
28
void
getNewObjects
();
29
std::string
id
()
const
{
return
m_name
;}
30
~CastorChannelQualityHandler
();
31
CastorChannelQualityHandler
(
edm::ParameterSet
const
&);
32
33
void
initObject
(
CastorChannelQuality
*);
34
35
private
:
36
unsigned
int
sinceTime
;
37
edm::FileInPath
fFile
;
38
CastorChannelQuality
*
myDBObject
;
39
std::string
m_name
;
40
41
};
42
#endif
CastorChannelQuality.h
CastorChannelQualityHandler::CastorChannelQualityHandler
CastorChannelQualityHandler(edm::ParameterSet const &)
Definition:
CastorChannelQualityHandler.cc:6
CastorChannelQuality
Definition:
CastorChannelQuality.h:17
CastorChannelQualityHandler::sinceTime
unsigned int sinceTime
Definition:
CastorChannelQualityHandler.h:36
Event.h
MakerMacros.h
EventSetup.h
CastorDbASCIIIO.h
CastorChannelQualityHandler
Definition:
CastorChannelQualityHandler.h:25
CastorChannelQualityHandler::fFile
edm::FileInPath fFile
Definition:
CastorChannelQualityHandler.h:37
AlCaHLTBitMon_QueryRunRegistry.string
string string
Definition:
AlCaHLTBitMon_QueryRunRegistry.py:255
CastorChannelQualityHandler::~CastorChannelQualityHandler
~CastorChannelQualityHandler()
Definition:
CastorChannelQualityHandler.cc:12
CastorChannelQualityHandler::id
std::string id() const
Definition:
CastorChannelQualityHandler.h:29
popcon::PopConSourceHandler
Definition:
PopConSourceHandler.h:32
CastorChannelQualityHandler::m_name
std::string m_name
Definition:
CastorChannelQualityHandler.h:39
ESHandle.h
CastorChannelQualityHandler::getNewObjects
void getNewObjects()
Definition:
CastorChannelQualityHandler.cc:16
CastorChannelQualityHandler::myDBObject
CastorChannelQuality * myDBObject
Definition:
CastorChannelQualityHandler.h:38
edm::FileInPath
Definition:
FileInPath.h:68
PopConSourceHandler.h
edm::ParameterSet
Definition:
ParameterSet.h:36
CastorChannelQualityHandler::initObject
void initObject(CastorChannelQuality *)
Definition:
CastorChannelQualityHandler.cc:45
CastorChannelQualityRcd.h
Handle.h
Generated for CMSSW Reference Manual by
1.8.5