CondTools
Hcal
interface
HcalMCParamsHandler.h
Go to the documentation of this file.
1
#ifndef HcalMCParamsHandler_h
2
#define HcalMCParamsHandler_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/HcalObjects/interface/HcalMCParams.h
"
19
#include "
CondFormats/DataRecord/interface/HcalMCParamsRcd.h
"
20
#include "
CalibCalorimetry/HcalAlgos/interface/HcalDbASCIIIO.h
"
21
22
class
HcalMCParamsHandler
:
public
popcon::PopConSourceHandler
<HcalMCParams> {
23
public
:
24
void
getNewObjects
()
override
;
25
std::string
id
()
const override
{
return
m_name
; }
26
~HcalMCParamsHandler
()
override
;
27
HcalMCParamsHandler
(
edm::ParameterSet
const
&);
28
29
void
initObject
(
HcalMCParams
*);
30
31
private
:
32
unsigned
int
sinceTime
;
33
edm::FileInPath
fFile
;
34
HcalMCParams
*
myDBObject
;
35
std::string
m_name
;
36
};
37
#endif
PopConSourceHandler.h
Handle.h
HcalMCParams
Definition:
HcalMCParams.h:9
HcalMCParamsHandler::sinceTime
unsigned int sinceTime
Definition:
HcalMCParamsHandler.h:32
edm::FileInPath
Definition:
FileInPath.h:64
HcalMCParamsHandler::HcalMCParamsHandler
HcalMCParamsHandler(edm::ParameterSet const &)
Definition:
HcalMCParamsHandler.cc:6
MakerMacros.h
HcalMCParamsHandler
Definition:
HcalMCParamsHandler.h:22
HcalMCParamsHandler::~HcalMCParamsHandler
~HcalMCParamsHandler() override
Definition:
HcalMCParamsHandler.cc:11
HcalMCParamsHandler::m_name
std::string m_name
Definition:
HcalMCParamsHandler.h:35
AlCaHLTBitMon_QueryRunRegistry.string
string
Definition:
AlCaHLTBitMon_QueryRunRegistry.py:256
edm::ParameterSet
Definition:
ParameterSet.h:47
Event.h
HcalMCParams.h
HcalMCParamsHandler::getNewObjects
void getNewObjects() override
Definition:
HcalMCParamsHandler.cc:13
HcalMCParamsHandler::initObject
void initObject(HcalMCParams *)
Definition:
HcalMCParamsHandler.cc:36
HcalMCParamsHandler::fFile
edm::FileInPath fFile
Definition:
HcalMCParamsHandler.h:33
HcalMCParamsHandler::myDBObject
HcalMCParams * myDBObject
Definition:
HcalMCParamsHandler.h:34
popcon::PopConSourceHandler
Definition:
PopConSourceHandler.h:30
HcalMCParamsHandler::id
std::string id() const override
Definition:
HcalMCParamsHandler.h:25
HcalDbASCIIIO.h
HcalMCParamsRcd.h
EventSetup.h
Generated for CMSSW Reference Manual by
1.8.16