src
RecoEgamma
EgammaTools
interface
HoECalculator.h
Go to the documentation of this file.
1
#ifndef HoECalculator_h
2
#define HoECalculator_h
3
4
#include "
FWCore/Framework/interface/Event.h
"
5
#include "
FWCore/Framework/interface/EventSetup.h
"
6
#include "
FWCore/Framework/interface/ESHandle.h
"
7
8
#include "
DataFormats/EgammaReco/interface/BasicCluster.h
"
9
#include "
DataFormats/EgammaReco/interface/SuperCluster.h
"
10
#include "
DataFormats/HcalRecHit/interface/HcalRecHitCollections.h
"
11
12
#include "
Geometry/CaloGeometry/interface/CaloGeometry.h
"
13
14
class
HoECalculator
{
15
public
:
16
HoECalculator
();
17
HoECalculator
(
const
edm::ESHandle<CaloGeometry>
&);
18
19
double
operator()
(
const
reco::BasicCluster
*,
const
edm::Event
&
e
,
const
edm::EventSetup
&
c
);
20
21
double
operator()
(
const
reco::SuperCluster
*,
const
edm::Event
&
e
,
const
edm::EventSetup
&
c
);
22
23
/*
24
double operator() ( const reco::SuperCluster* ,
25
HBHERecHitMetaCollection *mhbhe,
26
int ialgo=1);
27
28
double operator() ( cost reco::BasicCluster* ,
29
HBHERecHitMetaCollection *mhbhe);
30
*/
31
32
private
:
33
double
getHoE
(
GlobalPoint
pos
,
float
energy
,
const
edm::Event
&
e
,
const
edm::EventSetup
&
c
);
34
/*
35
double getHoE(GlobalPoint pos, float energy,
36
HBHERecHitMetaCollection *mhbhe);
37
*/
38
39
edm::ESHandle<CaloGeometry>
theCaloGeom_
;
40
const
HBHERecHitCollection
*
hithbhe_
;
41
};
42
43
#endif
HoECalculator::hithbhe_
const HBHERecHitCollection * hithbhe_
Definition:
HoECalculator.h:40
HoECalculator::HoECalculator
HoECalculator()
Definition:
HoECalculator.cc:7
edm::SortedCollection
Definition:
SortedCollection.h:49
Event.h
EventSetup.h
MillePedeFileConverter_cfg.e
e
Definition:
MillePedeFileConverter_cfg.py:37
HoECalculator::operator()
double operator()(const reco::BasicCluster *, const edm::Event &e, const edm::EventSetup &c)
Definition:
HoECalculator.cc:10
c
auto & c
Definition:
CAHitNtupletGeneratorKernelsImpl.h:56
HoECalculator::theCaloGeom_
edm::ESHandle< CaloGeometry > theCaloGeom_
Definition:
HoECalculator.h:39
HoECalculator
Definition:
HoECalculator.h:14
edm::ESHandle< CaloGeometry >
HoECalculator::getHoE
double getHoE(GlobalPoint pos, float energy, const edm::Event &e, const edm::EventSetup &c)
Definition:
HoECalculator.cc:45
ESHandle.h
reco::CaloCluster
Definition:
CaloCluster.h:31
edm::EventSetup
Definition:
EventSetup.h:59
reco::SuperCluster
Definition:
SuperCluster.h:18
pos
Definition:
PixelCalibBase.h:13
HCALHighEnergyHPDFilter_cfi.energy
energy
Definition:
HCALHighEnergyHPDFilter_cfi.py:5
CaloGeometry.h
HcalRecHitCollections.h
Point3DBase< float, GlobalTag >
edm::Event
Definition:
Event.h:73
BasicCluster.h
SuperCluster.h
Generated for CMSSW Reference Manual by
1.8.14