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
ESHandle.h
HoECalculator::HoECalculator
HoECalculator()
Definition:
HoECalculator.cc:7
HoECalculator::getHoE
double getHoE(GlobalPoint pos, float energy, const edm::Event &e, const edm::EventSetup &c)
Definition:
HoECalculator.cc:45
reco::SuperCluster
Definition:
SuperCluster.h:18
BasicCluster.h
pos
Definition:
PixelAliasList.h:18
edm::SortedCollection
Definition:
SortedCollection.h:49
HoECalculator::theCaloGeom_
edm::ESHandle< CaloGeometry > theCaloGeom_
Definition:
HoECalculator.h:39
reco::CaloCluster
Definition:
CaloCluster.h:31
edm::ESHandle< CaloGeometry >
HoECalculator::operator()
double operator()(const reco::BasicCluster *, const edm::Event &e, const edm::EventSetup &c)
Definition:
HoECalculator.cc:10
HCALHighEnergyHPDFilter_cfi.energy
energy
Definition:
HCALHighEnergyHPDFilter_cfi.py:5
Point3DBase< float, GlobalTag >
Event.h
edm::EventSetup
Definition:
EventSetup.h:58
HoECalculator::hithbhe_
const HBHERecHitCollection * hithbhe_
Definition:
HoECalculator.h:40
SuperCluster.h
CaloGeometry.h
EventSetup.h
HcalRecHitCollections.h
HoECalculator
Definition:
HoECalculator.h:14
c
auto & c
Definition:
CAHitNtupletGeneratorKernelsImpl.h:56
edm::Event
Definition:
Event.h:73
MillePedeFileConverter_cfg.e
e
Definition:
MillePedeFileConverter_cfg.py:37
Generated for CMSSW Reference Manual by
1.8.16