CMS 3D CMS Logo

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
Definition: HeavyIon.h:7
Definition: Muon.py:1
fixed size matrix
HLT enums.
Calculates a lepton&#39;s tracker isolation pt.