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 // $Id: TrackerIsolationPt.h,v 1.4 2008/03/05 14:51:03 fronga Exp $
3 //
4 
5 #ifndef PhysicsTools_PatUtils_TrackerIsolationPt_h
6 #define PhysicsTools_PatUtils_TrackerIsolationPt_h
7 
19 namespace reco {
20  class Track;
21 }
22 
23 namespace edm {
24  template<typename T> class View;
25  class InputTag;
26 }
27 
28 namespace pat {
29  class Electron;
30  class Muon;
32  public:
34  virtual ~TrackerIsolationPt();
35 
36  float calculate(const Electron & theElectron, const edm::View<reco::Track> & theTracks, float isoConeElectron = 0.3) const;
37  float calculate(const Muon & theMuon, const edm::View<reco::Track> & theTracks, float isoConeMuon = 0.3) const;
38 
39  private:
40  float calculate(const reco::Track & theTrack, const edm::View<reco::Track> & theTracks, float isoCone) const;
41  };
42 
43 }
44 
45 #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:51
Calculates a lepton&#39;s tracker isolation pt.