#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::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, reco::CaloCluster::energy(), EgHLTOffHistBins_cfi::et, PVValHelper::eta, remoteMonitoring_LED_IterMethod_cfg::threshold, reco::CaloCluster::x(), reco::CaloCluster::y(), and reco::CaloCluster::z().
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(), reco::CaloCluster::energy(), EgHLTOffHistBins_cfi::et, PVValHelper::eta, remoteMonitoring_LED_IterMethod_cfg::threshold, reco::CaloCluster::x(), reco::CaloCluster::y(), and reco::CaloCluster::z().
|
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.