CMS 3D CMS Logo

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Pages
TrackerIsolationPt.h
Go to the documentation of this file.
1 //
2 //
3 
4 #ifndef PhysicsTools_PatUtils_TrackerIsolationPt_h
5 #define PhysicsTools_PatUtils_TrackerIsolationPt_h
6 
18 namespace reco {
19  class Track;
20 }
21 
22 namespace edm {
23  template<typename T> class View;
24  class InputTag;
25 }
26 
27 namespace pat {
28  class Electron;
29  class Muon;
31  public:
33  virtual ~TrackerIsolationPt();
34 
35  float calculate(const Electron & theElectron, const edm::View<reco::Track> & theTracks, float isoConeElectron = 0.3) const;
36  float calculate(const Muon & theMuon, const edm::View<reco::Track> & theTracks, float isoConeMuon = 0.3) const;
37 
38  private:
39  float calculate(const reco::Track & theTrack, const edm::View<reco::Track> & theTracks, float isoCone) const;
40  };
41 
42 }
43 
44 #endif
virtual ~TrackerIsolationPt()
destructor
Analysis-level electron class.
Definition: Electron.h:52
float calculate(const Electron &theElectron, const edm::View< reco::Track > &theTracks, float isoConeElectron=0.3) const
calculate the TrackIsoPt for the lepton object
Analysis-level muon class.
Definition: Muon.h:50
Calculates a lepton&#39;s tracker isolation pt.