#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 edm::Event &iEvent, const edm::EventSetup &iSetup, 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 edm::Event & | iEvent, |
const edm::EventSetup & | iSetup, | ||
const edm::Handle< HBHERecHitCollection > | hbhe, | ||
const edm::Handle< HFRecHitCollection > | hfLabel, | ||
const edm::Handle< HORecHitCollection > | hoLabel | ||
) |
Definition at line 16 of file HcalRechitIsoCalculator.cc.
References edm::EventSetup::get(), edm::get(), photonIsolationHIProducer_cfi::hbhe, es_hardcode_cfi::hf, es_hardcode_cfi::ho, edm::ESHandleBase::isValid(), and edm::ESHandle< T >::product().
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 76 of file HcalRechitIsoCalculator.cc.
References HLT_2018_cff::dEta, CaloRecHit::energy(), EgHLTOffHistBins_cfi::et, PVValHelper::eta, PV3DBase< T, PVType, FrameType >::eta(), HBHERecHit::id(), and remoteMonitoring_LED_IterMethod_cfg::threshold.
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 44 of file HcalRechitIsoCalculator.cc.
References reco::deltaR2(), CaloRecHit::energy(), EgHLTOffHistBins_cfi::et, PVValHelper::eta, PV3DBase< T, PVType, FrameType >::eta(), HBHERecHit::id(), and remoteMonitoring_LED_IterMethod_cfg::threshold.
|
private |
Definition at line 39 of file HcalRechitIsoCalculator.h.
|
private |
Definition at line 41 of file HcalRechitIsoCalculator.h.
|
private |
Definition at line 40 of file HcalRechitIsoCalculator.h.
|
private |
Definition at line 42 of file HcalRechitIsoCalculator.h.