Calculates a lepton's tracker isolation pt. More...
#include "PhysicsTools/PatUtils/interface/TrackerIsolationPt.h"
Public Member Functions | |
float | calculate (const Electron &theElectron, const edm::View< reco::Track > &theTracks, float isoConeElectron=0.3) const |
calculate the TrackIsoPt for the lepton object More... | |
float | calculate (const Muon &theMuon, const edm::View< reco::Track > &theTracks, float isoConeMuon=0.3) const |
TrackerIsolationPt () | |
constructor More... | |
virtual | ~TrackerIsolationPt () |
destructor More... | |
Private Member Functions | |
float | calculate (const reco::Track &theTrack, const edm::View< reco::Track > &theTracks, float isoCone) const |
calculate the TrackIsoPt for the lepton's track More... | |
Calculates a lepton's tracker isolation pt.
TrackerIsolationPt calculates a tracker isolation pt in a cone around the lepton's direction, without doing track extrapolation
Definition at line 31 of file TrackerIsolationPt.h.
TrackerIsolationPt::TrackerIsolationPt | ( | ) |
|
virtual |
float TrackerIsolationPt::calculate | ( | const Electron & | theElectron, |
const edm::View< reco::Track > & | theTracks, | ||
float | isoConeElectron = 0.3 |
||
) | const |
calculate the TrackIsoPt for the lepton object
Definition at line 27 of file TrackerIsolationPt.cc.
References pat::Electron::gsfTrack().
Referenced by calculate(), and pat::LeptonJetIsolationAngle::calculate().
float TrackerIsolationPt::calculate | ( | const Muon & | theMuon, |
const edm::View< reco::Track > & | theTracks, | ||
float | isoConeMuon = 0.3 |
||
) | const |
Definition at line 33 of file TrackerIsolationPt.cc.
References calculate(), and pat::Muon::track().
|
private |
calculate the TrackIsoPt for the lepton's track
Definition at line 40 of file TrackerIsolationPt.cc.
References edm::View< T >::begin(), HGC3DClusterGenMatchSelector_cfi::dR, edm::View< T >::end(), reco::TrackBase::p(), PV3DBase< T, PVType, FrameType >::perp(), reco::TrackBase::px(), reco::TrackBase::py(), reco::TrackBase::pz(), and HLT_2024v13_cff::track.