#include <TrackIsoCalculator.h>
Public Member Functions | |
double | getBkgSubTrackIso (const reco::Photon clus, const double i, const double threshold, const double innerDR=0) |
Return the background-subtracted tracker energy in a cone around the photon. More... | |
double | getTrackIso (const reco::Photon clus, const double i, const double threshold, const double innerDR=0) |
Return the tracker energy in a cone around the photon. More... | |
TrackIsoCalculator (const edm::Event &iEvent, const edm::EventSetup &iSetup, const edm::Handle< reco::TrackCollection > trackLabel, const std::string trackQuality_) | |
Private Attributes | |
edm::Handle < reco::TrackCollection > | recCollection |
std::string | trackQuality_ |
Definition at line 22 of file TrackIsoCalculator.h.
TrackIsoCalculator::TrackIsoCalculator | ( | const edm::Event & | iEvent, |
const edm::EventSetup & | iSetup, | ||
const edm::Handle< reco::TrackCollection > | trackLabel, | ||
const std::string | trackQuality_ | ||
) |
Definition at line 19 of file TrackIsoCalculator.cc.
References HLT_25ns10e33_v2_cff::trackLabel, and HLT_25ns10e33_v2_cff::trackQuality.
double TrackIsoCalculator::getBkgSubTrackIso | ( | const reco::Photon | clus, |
const double | i, | ||
const double | threshold, | ||
const double | innerDR = 0 |
||
) |
Return the background-subtracted tracker energy in a cone around the photon.
Definition at line 48 of file TrackIsoCalculator.cc.
References reco::deltaR2(), reco::LeafCandidate::eta(), EnergyCorrector::pt, and reco::TrackBase::qualityByName().
Referenced by photonIsolationHIProducer::produce().
double TrackIsoCalculator::getTrackIso | ( | const reco::Photon | clus, |
const double | i, | ||
const double | threshold, | ||
const double | innerDR = 0 |
||
) |
Return the tracker energy in a cone around the photon.
Definition at line 25 of file TrackIsoCalculator.cc.
References reco::deltaR2(), EnergyCorrector::pt, and reco::TrackBase::qualityByName().
|
private |
Definition at line 35 of file TrackIsoCalculator.h.
|
private |
Definition at line 36 of file TrackIsoCalculator.h.