Calculates a lepton's jet isolation angle. More...
#include "PhysicsTools/PatUtils/interface/LeptonJetIsolationAngle.h"
Public Member Functions | |
float | calculate (const Electron &anElectron, const edm::Handle< edm::View< reco::Track > > &trackHandle, const edm::Event &iEvent) |
float | calculate (const Muon &aMuon, const edm::Handle< edm::View< reco::Track > > &trackHandle, const edm::Event &iEvent) |
LeptonJetIsolationAngle () | |
~LeptonJetIsolationAngle () | |
Private Member Functions | |
float | calculate (const CLHEP::HepLorentzVector &aLepton, const edm::Handle< edm::View< reco::Track > > &trackHandle, const edm::Event &iEvent) |
float | spaceAngle (const CLHEP::HepLorentzVector &aLepton, const reco::CaloJet &aJet) |
Private Attributes | |
TrackerIsolationPt | trkIsolator_ |
Calculates a lepton's jet isolation angle.
LeptonJetIsolationAngle calculates an isolation angle w.r.t. a list of given jets as the minimal angle to a jet in Euclidean space, as defined in CMS Note 2006/024
Definition at line 34 of file LeptonJetIsolationAngle.h.
LeptonJetIsolationAngle::LeptonJetIsolationAngle | ( | ) |
Definition at line 18 of file LeptonJetIsolationAngle.cc.
LeptonJetIsolationAngle::~LeptonJetIsolationAngle | ( | ) |
Definition at line 23 of file LeptonJetIsolationAngle.cc.
float LeptonJetIsolationAngle::calculate | ( | const Electron & | anElectron, |
const edm::Handle< edm::View< reco::Track > > & | trackHandle, | ||
const edm::Event & | iEvent | ||
) |
Definition at line 28 of file LeptonJetIsolationAngle.cc.
References reco::LeafCandidate::energy(), reco::LeafCandidate::px(), reco::LeafCandidate::py(), and reco::LeafCandidate::pz().
Referenced by calculate().
float LeptonJetIsolationAngle::calculate | ( | const Muon & | aMuon, |
const edm::Handle< edm::View< reco::Track > > & | trackHandle, | ||
const edm::Event & | iEvent | ||
) |
Definition at line 32 of file LeptonJetIsolationAngle.cc.
References calculate(), reco::LeafCandidate::energy(), reco::LeafCandidate::px(), reco::LeafCandidate::py(), and reco::LeafCandidate::pz().
|
private |
Definition at line 39 of file LeptonJetIsolationAngle.cc.
References pat::TrackerIsolationPt::calculate(), Geom::deltaR2(), edm::Event::getByLabel(), edm::Handle< T >::product(), reco::LeafCandidate::pt(), spaceAngle(), mathSSE::sqrt(), and trkIsolator_.
|
private |
Definition at line 81 of file LeptonJetIsolationAngle.cc.
References funct::cos(), reco::LeafCandidate::phi(), funct::sin(), and reco::LeafCandidate::theta().
Referenced by calculate().
|
private |
Definition at line 51 of file LeptonJetIsolationAngle.h.
Referenced by calculate().