CondTools
Hcal
interface
CastorRecoParamsHandler.h
Go to the documentation of this file.
1
#ifndef CastorRecoParamsHandler_h
2
#define CastorRecoParamsHandler_h
3
4
// Radek Ofierzynski, 27.02.2008
5
6
#include <string>
7
#include <iostream>
8
#include <typeinfo>
9
#include <fstream>
10
11
#include "
FWCore/Framework/interface/MakerMacros.h
"
12
#include "
CondCore/PopCon/interface/PopConSourceHandler.h
"
13
14
#include "
FWCore/Framework/interface/Event.h
"
15
#include "
DataFormats/Common/interface/Handle.h
"
16
#include "
FWCore/Framework/interface/EventSetup.h
"
17
// user include files
18
#include "
CondFormats/CastorObjects/interface/CastorRecoParams.h
"
19
#include "
CondFormats/DataRecord/interface/CastorRecoParamsRcd.h
"
20
#include "
CalibCalorimetry/CastorCalib/interface/CastorDbASCIIIO.h
"
21
22
class
CastorRecoParamsHandler
:
public
popcon::PopConSourceHandler
<CastorRecoParams> {
23
public
:
24
void
getNewObjects
()
override
;
25
std::string
id
()
const override
{
return
m_name
; }
26
~CastorRecoParamsHandler
()
override
;
27
CastorRecoParamsHandler
(
edm::ParameterSet
const
&);
28
29
void
initObject
(
CastorRecoParams
*);
30
31
private
:
32
unsigned
int
sinceTime
;
33
edm::FileInPath
fFile
;
34
CastorRecoParams
*
myDBObject
;
35
std::string
m_name
;
36
};
37
#endif
PopConSourceHandler.h
Handle.h
CastorRecoParamsHandler::initObject
void initObject(CastorRecoParams *)
Definition:
CastorRecoParamsHandler.cc:36
edm::FileInPath
Definition:
FileInPath.h:61
CastorRecoParamsHandler
Definition:
CastorRecoParamsHandler.h:22
CastorRecoParams.h
MakerMacros.h
CastorRecoParamsHandler::getNewObjects
void getNewObjects() override
Definition:
CastorRecoParamsHandler.cc:13
CastorRecoParamsHandler::sinceTime
unsigned int sinceTime
Definition:
CastorRecoParamsHandler.h:32
edm::ParameterSet
Definition:
ParameterSet.h:47
Event.h
CastorRecoParamsRcd.h
CastorRecoParamsHandler::CastorRecoParamsHandler
CastorRecoParamsHandler(edm::ParameterSet const &)
Definition:
CastorRecoParamsHandler.cc:6
CastorRecoParamsHandler::m_name
std::string m_name
Definition:
CastorRecoParamsHandler.h:35
CastorRecoParams
Definition:
CastorRecoParams.h:9
popcon::PopConSourceHandler
Definition:
PopConSourceHandler.h:30
AlCaHLTBitMon_QueryRunRegistry.string
string string
Definition:
AlCaHLTBitMon_QueryRunRegistry.py:256
CastorDbASCIIIO.h
CastorRecoParamsHandler::~CastorRecoParamsHandler
~CastorRecoParamsHandler() override
Definition:
CastorRecoParamsHandler.cc:11
CastorRecoParamsHandler::id
std::string id() const override
Definition:
CastorRecoParamsHandler.h:25
CastorRecoParamsHandler::fFile
edm::FileInPath fFile
Definition:
CastorRecoParamsHandler.h:33
EventSetup.h
CastorRecoParamsHandler::myDBObject
CastorRecoParams * myDBObject
Definition:
CastorRecoParamsHandler.h:34
Generated for CMSSW Reference Manual by
1.8.16