#include <TxyCalculator.h>
Public Member Functions | |
double | getHollSxy (const reco::Photon p, double thePtCut, double outerR, double innerR) |
int | getNumAllTracks (double ptCut) |
int | getNumLocalTracks (const reco::Photon p, double detaCut, double ptCut) |
double | getTxy (const reco::Photon p, double x, double y) |
TxyCalculator (const edm::Event &iEvent, const edm::EventSetup &iSetup, edm::InputTag trackLabel) | |
Private Member Functions | |
double | calcDphi (double phi1_, double phi2_) |
double | dRDistance (double eta1, double phi1, double eta2, double phi2) |
Private Attributes | |
edm::Handle < reco::TrackCollection > | recCollection |
Definition at line 27 of file TxyCalculator.h.
TxyCalculator::TxyCalculator | ( | const edm::Event & | iEvent, |
const edm::EventSetup & | iSetup, | ||
edm::InputTag | trackLabel | ||
) |
Definition at line 13 of file TxyCalculator.cc.
References edm::Event::getByLabel().
|
inlineprivate |
|
inlineprivate |
double TxyCalculator::getHollSxy | ( | const reco::Photon | p, |
double | thePtCut, | ||
double | outerR, | ||
double | innerR | ||
) |
Definition at line 92 of file TxyCalculator.cc.
References reco::LeafCandidate::eta(), reco::LeafCandidate::phi(), and L1Trigger_dataformats::reco.
int TxyCalculator::getNumAllTracks | ( | double | ptCut | ) |
Definition at line 20 of file TxyCalculator.cc.
References L1Trigger_dataformats::reco.
int TxyCalculator::getNumLocalTracks | ( | const reco::Photon | p, |
double | detaCut, | ||
double | ptCut | ||
) |
Definition at line 38 of file TxyCalculator.cc.
References reco::LeafCandidate::eta(), reco::LeafCandidate::phi(), and L1Trigger_dataformats::reco.
double TxyCalculator::getTxy | ( | const reco::Photon | p, |
double | x, | ||
double | y | ||
) |
Definition at line 58 of file TxyCalculator.cc.
References reco::LeafCandidate::eta(), reco::LeafCandidate::phi(), and L1Trigger_dataformats::reco.
Referenced by HiEgammaIsolationProducer::produce().
|
private |
Definition at line 62 of file TxyCalculator.h.