#include <EcalClusterIsoCalculator.h>
Public Member Functions | |
EcalClusterIsoCalculator (const edm::Event &iEvent, const edm::EventSetup &iSetup, const edm::Handle< reco::BasicClusterCollection > barrel, const edm::Handle< reco::BasicClusterCollection > endcap) | |
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. More... | |
double | getEcalClusterIso (const reco::SuperClusterRef clus, const double radius, const double threshold) |
Return the ecal cluster energy in a cone around the SC. More... | |
Private Attributes | |
const reco::BasicClusterCollection * | fEBclusters_ |
const reco::BasicClusterCollection * | fEEclusters_ |
const CaloGeometry * | geometry_ |
Definition at line 17 of file EcalClusterIsoCalculator.h.
EcalClusterIsoCalculator::EcalClusterIsoCalculator | ( | const edm::Event & | iEvent, |
const edm::EventSetup & | iSetup, | ||
const edm::Handle< reco::BasicClusterCollection > | barrel, | ||
const edm::Handle< reco::BasicClusterCollection > | endcap | ||
) |
Definition at line 19 of file EcalClusterIsoCalculator.cc.
References edm::EventSetup::get(), edm::ESHandleBase::isValid(), edm::HandleBase::isValid(), edm::Handle< T >::product(), and edm::ESHandle< T >::product().
double EcalClusterIsoCalculator::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 at line 93 of file EcalClusterIsoCalculator.cc.
References HLT_2018_cff::dEta, EgHLTOffHistBins_cfi::et, and PVValHelper::eta.
Referenced by photonIsolationHIProducer::produce().
double EcalClusterIsoCalculator::getEcalClusterIso | ( | const reco::SuperClusterRef | clus, |
const double | radius, | ||
const double | threshold | ||
) |
Return the ecal cluster energy in a cone around the SC.
Definition at line 41 of file EcalClusterIsoCalculator.cc.
References reco::deltaR2(), EgHLTOffHistBins_cfi::et, and PVValHelper::eta.
|
private |
Definition at line 30 of file EcalClusterIsoCalculator.h.
|
private |
Definition at line 31 of file EcalClusterIsoCalculator.h.
|
private |
Definition at line 32 of file EcalClusterIsoCalculator.h.