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