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