#include <TxyCalculator.h>
Public Member Functions | |
int | getNumAllTracks (double ptCut) |
int | getNumLocalTracks (const reco::SuperClusterRef p, double detaCut, double ptCut) |
double | getTxy (const reco::SuperClusterRef 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 25 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 |
int TxyCalculator::getNumAllTracks | ( | double | ptCut | ) |
Definition at line 20 of file TxyCalculator.cc.
References ExpressReco_HICollisions_FallBack::pt, and dt_offlineAnalysis_common_cff::reco.
int TxyCalculator::getNumLocalTracks | ( | const reco::SuperClusterRef | p, |
double | detaCut, | ||
double | ptCut | ||
) |
Definition at line 38 of file TxyCalculator.cc.
References ExpressReco_HICollisions_FallBack::pt, and dt_offlineAnalysis_common_cff::reco.
double TxyCalculator::getTxy | ( | const reco::SuperClusterRef | p, |
double | x, | ||
double | y | ||
) |
Definition at line 58 of file TxyCalculator.cc.
References ExpressReco_HICollisions_FallBack::pt, and dt_offlineAnalysis_common_cff::reco.
Referenced by HiEgammaIsolationProducer::produce().
|
private |
Definition at line 58 of file TxyCalculator.h.