/
githubmirror
/
cmssw
Обзор
Документация
Войти
/
githubmirror
/
cmssw
Код
Запросы
0
Пакеты
0
Релизы
0
Аналитика
Безопасность
master
PhysicsTools/PatUtils/interface/TrackerIsolationPt.h
44 строки
1 KB
Christopher Jones
Added ElectronFwd.h and MuonFwd.h to PatCandidates
02 фев 2026, 18:48
02 фев 2026, 18:48
257be42
Код
Авторство
О чём код?
// // #ifndef PhysicsTools_PatUtils_TrackerIsolationPt_h #define PhysicsTools_PatUtils_TrackerIsolationPt_h /** \class pat::TrackerIsolationPt TrackerIsolationPt.h "PhysicsTools/PatUtils/interface/TrackerIsolationPt.h" \brief 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 \author Steven Lowette \version $Id: TrackerIsolationPt.h,v 1.3 2008/02/28 14:54:24 llista Exp $ */ #include "DataFormats/TrackReco/interface/TrackFwd.h" #include "DataFormats/PatCandidates/interface/ElectronFwd.h" #include "DataFormats/PatCandidates/interface/MuonFwd.h" namespace edm { template <typename T> class View; class InputTag; } // namespace edm namespace pat { class TrackerIsolationPt { public: TrackerIsolationPt(); float calculate(const Electron& theElectron, const edm::View<reco::Track>& theTracks, float isoConeElectron = 0.3) const; float calculate(const Muon& theMuon, const edm::View<reco::Track>& theTracks, float isoConeMuon = 0.3) const; private: float calculate(const reco::Track& theTrack, const edm::View<reco::Track>& theTracks, float isoCone) const; }; } // namespace pat #endif