Main Page
Namespaces
Classes
Package Documentation
All
Classes
Namespaces
Files
Functions
Variables
Typedefs
Enumerations
Enumerator
Properties
Friends
Macros
Pages
CondTools
Hcal
interface
CastorElectronicsMapHandler.h
Go to the documentation of this file.
1
#ifndef CastorElectronicsMapHandler_h
2
#define CastorElectronicsMapHandler_h
3
4
// Radek Ofierzynski, 27.02.2008
5
// Adapted for CASTOR by L. Mundim (26/03/2009)
6
7
8
#include <string>
9
#include <iostream>
10
#include <typeinfo>
11
#include <fstream>
12
13
#include "
FWCore/Framework/interface/MakerMacros.h
"
14
#include "
CondCore/PopCon/interface/PopConSourceHandler.h
"
15
16
#include "
FWCore/Framework/interface/ESHandle.h
"
17
#include "
FWCore/Framework/interface/Event.h
"
18
#include "
DataFormats/Common/interface/Handle.h
"
19
#include "
FWCore/Framework/interface/EventSetup.h
"
20
// user include files
21
#include "
CondFormats/CastorObjects/interface/CastorElectronicsMap.h
"
22
#include "
CondFormats/DataRecord/interface/CastorElectronicsMapRcd.h
"
23
#include "
CalibCalorimetry/CastorCalib/interface/CastorDbASCIIIO.h
"
24
25
26
class
CastorElectronicsMapHandler
:
public
popcon::PopConSourceHandler
<CastorElectronicsMap>
27
{
28
public
:
29
void
getNewObjects
();
30
std::string
id
()
const
{
return
m_name
;}
31
~CastorElectronicsMapHandler
();
32
CastorElectronicsMapHandler
(
edm::ParameterSet
const
&);
33
34
void
initObject
(
CastorElectronicsMap
*);
35
36
private
:
37
unsigned
int
sinceTime
;
38
edm::FileInPath
fFile
;
39
CastorElectronicsMap
*
myDBObject
;
40
std::string
m_name
;
41
42
};
43
#endif
CastorElectronicsMapHandler::fFile
edm::FileInPath fFile
Definition:
CastorElectronicsMapHandler.h:38
CastorElectronicsMapHandler::initObject
void initObject(CastorElectronicsMap *)
Definition:
CastorElectronicsMapHandler.cc:45
CastorElectronicsMapHandler::CastorElectronicsMapHandler
CastorElectronicsMapHandler(edm::ParameterSet const &)
Definition:
CastorElectronicsMapHandler.cc:6
Event.h
MakerMacros.h
EventSetup.h
CastorDbASCIIIO.h
Handle.h
CastorElectronicsMapRcd.h
AlCaHLTBitMon_QueryRunRegistry.string
string string
Definition:
AlCaHLTBitMon_QueryRunRegistry.py:255
CastorElectronicsMapHandler::m_name
std::string m_name
Definition:
CastorElectronicsMapHandler.h:40
CastorElectronicsMapHandler::myDBObject
CastorElectronicsMap * myDBObject
Definition:
CastorElectronicsMapHandler.h:39
popcon::PopConSourceHandler
Definition:
PopConSourceHandler.h:36
ESHandle.h
CastorElectronicsMap.h
CastorElectronicsMapHandler::sinceTime
unsigned int sinceTime
Definition:
CastorElectronicsMapHandler.h:37
edm::FileInPath
Definition:
FileInPath.h:68
CastorElectronicsMap
Definition:
CastorElectronicsMap.h:30
CastorElectronicsMapHandler::getNewObjects
void getNewObjects()
Definition:
CastorElectronicsMapHandler.cc:16
PopConSourceHandler.h
CastorElectronicsMapHandler
Definition:
CastorElectronicsMapHandler.h:26
CastorElectronicsMapHandler::~CastorElectronicsMapHandler
~CastorElectronicsMapHandler()
Definition:
CastorElectronicsMapHandler.cc:12
edm::ParameterSet
Definition:
ParameterSet.h:36
CastorElectronicsMapHandler::id
std::string id() const
Definition:
CastorElectronicsMapHandler.h:30
Generated for CMSSW Reference Manual by
1.8.5