RecoHI
HiEgammaAlgos
interface
EcalClusterIsoCalculator.h
Go to the documentation of this file.
1
#ifndef HiEgammaAlgos_EcalClusterIsoCalculator_h
2
#define HiEgammaAlgos_EcalClusterIsoCalculator_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 "
FWCore/ParameterSet/interface/ParameterSet.h
"
9
#include "
FWCore/Utilities/interface/InputTag.h
"
10
11
#include "
DataFormats/EgammaReco/interface/BasicClusterFwd.h
"
12
#include "
DataFormats/EgammaReco/interface/SuperClusterFwd.h
"
13
14
#include "
Geometry/CaloGeometry/interface/CaloGeometry.h
"
15
#include "
Geometry/Records/interface/IdealGeometryRecord.h
"
16
17
class
EcalClusterIsoCalculator
{
18
public
:
19
EcalClusterIsoCalculator
(
const
edm::Event
&
iEvent
,
20
const
edm::EventSetup
&iSetup,
21
const
edm::Handle<reco::BasicClusterCollection>
barrel
,
22
const
edm::Handle<reco::BasicClusterCollection>
endcap
);
23
25
double
getEcalClusterIso
(
const
reco::SuperClusterRef
clus,
const
double
radius
,
const
double
threshold
);
27
double
getBkgSubEcalClusterIso
(
const
reco::SuperClusterRef
clus,
const
double
radius
,
const
double
threshold
);
28
29
private
:
30
const
reco::BasicClusterCollection
*
fEBclusters_
;
31
const
reco::BasicClusterCollection
*
fEEclusters_
;
32
const
CaloGeometry
*
geometry_
;
33
};
34
35
#endif
Reference_intrackfit_cff.barrel
list barrel
Definition:
Reference_intrackfit_cff.py:37
ESHandle.h
makeMuonMisalignmentScenario.endcap
endcap
Definition:
makeMuonMisalignmentScenario.py:320
edm::Handle
Definition:
AssociativeIterator.h:50
BasicClusterFwd.h
edm::Ref< SuperClusterCollection >
EcalClusterIsoCalculator
Definition:
EcalClusterIsoCalculator.h:17
CaloGeometry
Definition:
CaloGeometry.h:21
reco::BasicClusterCollection
std::vector< BasicCluster > BasicClusterCollection
collection of BasicCluster objects
Definition:
BasicClusterFwd.h:16
Event.h
EcalClusterIsoCalculator::EcalClusterIsoCalculator
EcalClusterIsoCalculator(const edm::Event &iEvent, const edm::EventSetup &iSetup, const edm::Handle< reco::BasicClusterCollection > barrel, const edm::Handle< reco::BasicClusterCollection > endcap)
Definition:
EcalClusterIsoCalculator.cc:19
iEvent
int iEvent
Definition:
GenABIO.cc:224
IdealGeometryRecord.h
edm::EventSetup
Definition:
EventSetup.h:57
InputTag.h
SuperClusterFwd.h
EcalClusterIsoCalculator::fEBclusters_
const reco::BasicClusterCollection * fEBclusters_
Definition:
EcalClusterIsoCalculator.h:30
CaloGeometry.h
CosmicsPD_Skims.radius
radius
Definition:
CosmicsPD_Skims.py:135
EventSetup.h
EcalClusterIsoCalculator::getBkgSubEcalClusterIso
double getBkgSubEcalClusterIso(const reco::SuperClusterRef clus, const double radius, const double threshold)
Return the background-subtracted ecal cluster energy in a cone around the SC.
Definition:
EcalClusterIsoCalculator.cc:93
EcalClusterIsoCalculator::fEEclusters_
const reco::BasicClusterCollection * fEEclusters_
Definition:
EcalClusterIsoCalculator.h:31
ParameterSet.h
remoteMonitoring_LED_IterMethod_cfg.threshold
threshold
Definition:
remoteMonitoring_LED_IterMethod_cfg.py:426
edm::Event
Definition:
Event.h:73
EcalClusterIsoCalculator::getEcalClusterIso
double getEcalClusterIso(const reco::SuperClusterRef clus, const double radius, const double threshold)
Return the ecal cluster energy in a cone around the SC.
Definition:
EcalClusterIsoCalculator.cc:41
EcalClusterIsoCalculator::geometry_
const CaloGeometry * geometry_
Definition:
EcalClusterIsoCalculator.h:32
Generated for CMSSW Reference Manual by
1.8.16