#include <EcalClusterIsoCalculator.h>
Public Member Functions | |
EcalClusterIsoCalculator (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_ |
Definition at line 7 of file EcalClusterIsoCalculator.h.
EcalClusterIsoCalculator::EcalClusterIsoCalculator | ( | const edm::Handle< reco::BasicClusterCollection > | barrel, |
const edm::Handle< reco::BasicClusterCollection > | endcap | ||
) |
Definition at line 17 of file EcalClusterIsoCalculator.cc.
References edm::HandleBase::isValid(), and edm::Handle< 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 81 of file EcalClusterIsoCalculator.cc.
References HLT_2024v11_cff::dEta, reco::CaloCluster::energy(), EgHLTOffHistBins_cfi::et, PVValHelper::eta, DiMuonV_cfg::threshold, x, 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 30 of file EcalClusterIsoCalculator.cc.
References reco::deltaR2(), ALPAKA_ACCELERATOR_NAMESPACE::dR2(), reco::CaloCluster::energy(), EgHLTOffHistBins_cfi::et, PVValHelper::eta, DiMuonV_cfg::threshold, x, reco::CaloCluster::x(), reco::CaloCluster::y(), and reco::CaloCluster::z().
|
private |
Definition at line 18 of file EcalClusterIsoCalculator.h.
|
private |
Definition at line 19 of file EcalClusterIsoCalculator.h.