#include <TrackIsoCalculator.h>
Public Member Functions | |
double | getBkgSubTrackIso (reco::Photon const &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 (reco::Photon const &clus, const double i, const double threshold, const double innerDR=0) |
Return the tracker energy in a cone around the photon. More... | |
TrackIsoCalculator (reco::TrackCollection const &trackCollection, std::string const &trackQuality) | |
Private Attributes | |
reco::TrackCollection const & | recCollection_ |
std::string const & | trackQuality_ |
Definition at line 8 of file TrackIsoCalculator.h.
TrackIsoCalculator::TrackIsoCalculator | ( | reco::TrackCollection const & | trackCollection, |
std::string const & | trackQuality | ||
) |
Definition at line 9 of file TrackIsoCalculator.cc.
References JetHT_cfg::trackCollection.
double TrackIsoCalculator::getBkgSubTrackIso | ( | reco::Photon const & | 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 36 of file TrackIsoCalculator.cc.
References funct::abs(), reco::deltaR2(), reco::LeafCandidate::eta(), getTrackIso(), DiDispStaMuonMonitor_cfi::pt, reco::TrackBase::qualityByName(), recCollection_, DiMuonV_cfg::threshold, trackQuality_, and x.
Referenced by photonIsolationHIProducer::produce().
double TrackIsoCalculator::getTrackIso | ( | reco::Photon const & | clus, |
const double | i, | ||
const double | threshold, | ||
const double | innerDR = 0 |
||
) |
Return the tracker energy in a cone around the photon.
Definition at line 12 of file TrackIsoCalculator.cc.
References reco::deltaR2(), ALPAKA_ACCELERATOR_NAMESPACE::dR2(), DiDispStaMuonMonitor_cfi::pt, reco::TrackBase::qualityByName(), recCollection_, DiMuonV_cfg::threshold, trackQuality_, and x.
Referenced by getBkgSubTrackIso().
|
private |
Definition at line 18 of file TrackIsoCalculator.h.
Referenced by getBkgSubTrackIso(), and getTrackIso().
|
private |
Definition at line 19 of file TrackIsoCalculator.h.
Referenced by getBkgSubTrackIso(), and getTrackIso().