#include <HcalRechitIsoCalculator.h>
Public Member Functions | |
double | getBkgSubHcalRechitIso (const reco::SuperClusterRef clus, const double i, const double threshold, const double innerR=0.0) |
Return the background-subtracted hcal rechit energy in a cone around the SC. More... | |
double | getHcalRechitIso (const reco::SuperClusterRef clus, const double i, const double threshold, const double innerR=0.0) |
Return the hcal rechit energy in a cone around the SC. More... | |
HcalRechitIsoCalculator (const CaloGeometry *geometry, const edm::Handle< HBHERecHitCollection > hbhe, const edm::Handle< HFRecHitCollection > hfLabel, const edm::Handle< HORecHitCollection > hoLabel) | |
Private Attributes | |
const HBHERecHitCollection * | fHBHERecHits_ |
const HFRecHitCollection * | fHFRecHits_ |
const HORecHitCollection * | fHORecHits_ |
const CaloGeometry * | geometry_ |
Definition at line 19 of file HcalRechitIsoCalculator.h.
HcalRechitIsoCalculator::HcalRechitIsoCalculator | ( | const CaloGeometry * | geometry, |
const edm::Handle< HBHERecHitCollection > | hbhe, | ||
const edm::Handle< HFRecHitCollection > | hfLabel, | ||
const edm::Handle< HORecHitCollection > | hoLabel | ||
) |
Definition at line 14 of file HcalRechitIsoCalculator.cc.
References relativeConstraints::geometry, photonIsolationHIProducer_cfi::hbhe, photonIsolationHIProducer_cfi::hf, and photonIsolationHIProducer_cfi::ho.
double HcalRechitIsoCalculator::getBkgSubHcalRechitIso | ( | const reco::SuperClusterRef | clus, |
const double | i, | ||
const double | threshold, | ||
const double | innerR = 0.0 |
||
) |
Return the background-subtracted hcal rechit energy in a cone around the SC.
Definition at line 68 of file HcalRechitIsoCalculator.cc.
References HLT_2022v15_cff::dEta, CaloRecHit::energy(), EgHLTOffHistBins_cfi::et, PVValHelper::eta, PV3DBase< T, PVType, FrameType >::eta(), HBHERecHit::id(), remoteMonitoring_LASER_era2018_cfg::threshold, and x.
Referenced by photonIsolationHIProducer::produce().
double HcalRechitIsoCalculator::getHcalRechitIso | ( | const reco::SuperClusterRef | clus, |
const double | i, | ||
const double | threshold, | ||
const double | innerR = 0.0 |
||
) |
Return the hcal rechit energy in a cone around the SC.
Definition at line 36 of file HcalRechitIsoCalculator.cc.
References reco::deltaR2(), CaloRecHit::energy(), EgHLTOffHistBins_cfi::et, PVValHelper::eta, PV3DBase< T, PVType, FrameType >::eta(), HBHERecHit::id(), remoteMonitoring_LASER_era2018_cfg::threshold, and x.
|
private |
Definition at line 38 of file HcalRechitIsoCalculator.h.
|
private |
Definition at line 40 of file HcalRechitIsoCalculator.h.
|
private |
Definition at line 39 of file HcalRechitIsoCalculator.h.
|
private |
Definition at line 41 of file HcalRechitIsoCalculator.h.