#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 18 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 20 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 particleFlow_cfi::dEta, stringResolutionProvider_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 40 of file EcalClusterIsoCalculator.cc.
References reco::deltaR2(), stringResolutionProvider_cfi::et, and PVValHelper::eta.
|
private |
Definition at line 31 of file EcalClusterIsoCalculator.h.
|
private |
Definition at line 32 of file EcalClusterIsoCalculator.h.
|
private |
Definition at line 33 of file EcalClusterIsoCalculator.h.