#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 17 of file HcalRechitIsoCalculator.cc.
References edm::EventSetup::get(), edm::ESHandleBase::isValid(), edm::HandleBase::isValid(), edm::Handle< T >::product(), and edm::ESHandle< class >::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 72 of file HcalRechitIsoCalculator.cc.
References cond::rpcobgas::detid, CaloRecHit::energy(), eta, PV3DBase< T, PVType, FrameType >::eta(), HBHERecHit::id(), and cmsHarvester::index.
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(), cond::rpcobgas::detid, CaloRecHit::energy(), eta, PV3DBase< T, PVType, FrameType >::eta(), HBHERecHit::id(), and cmsHarvester::index.
|
private |
Definition at line 35 of file HcalRechitIsoCalculator.h.
|
private |
Definition at line 37 of file HcalRechitIsoCalculator.h.
|
private |
Definition at line 36 of file HcalRechitIsoCalculator.h.
|
private |
Definition at line 38 of file HcalRechitIsoCalculator.h.