CMS 3D CMS Logo

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Groups 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>
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
Analysis-level electron class.
Definition: Electron.h:51
float calculate(const Electron &theElectron, const edm::View< reco::Track > &theTracks, float isoConeElectron=0.3) const
calculate the TrackIsoPt for the lepton object
constexpr char Electron[]
Definition: modules.cc:12
Analysis-level muon class.
Definition: Muon.h:51
Calculates a lepton&#39;s tracker isolation pt.