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>
24  class View;
25  class InputTag;
26 } // namespace edm
27 
28 namespace pat {
29  class Electron;
30  class Muon;
32  public:
34  virtual ~TrackerIsolationPt();
35 
36  float calculate(const Electron& theElectron,
37  const edm::View<reco::Track>& theTracks,
38  float isoConeElectron = 0.3) const;
39  float calculate(const Muon& theMuon, const edm::View<reco::Track>& theTracks, float isoConeMuon = 0.3) const;
40 
41  private:
42  float calculate(const reco::Track& theTrack, const edm::View<reco::Track>& theTracks, float isoCone) const;
43  };
44 
45 } // namespace pat
46 
47 #endif
virtual ~TrackerIsolationPt()
destructor
Definition: HeavyIon.h:7
float calculate(const Electron &theElectron, const edm::View< reco::Track > &theTracks, float isoConeElectron=0.3) const
calculate the TrackIsoPt for the lepton object
Definition: Muon.py:1
fixed size matrix
HLT enums.
Calculates a lepton&#39;s tracker isolation pt.