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
pat::TrackerIsolationPt::~TrackerIsolationPt
virtual ~TrackerIsolationPt()
destructor
Definition: TrackerIsolationPt.cc:24
sistrip::View
View
Definition: ConstantsForView.h:26
Electron
Definition: Electron.py:1
edm
HLT enums.
Definition: AlignableModifier.h:19
HLT_FULL_cff.InputTag
InputTag
Definition: HLT_FULL_cff.py:89281
pat::TrackerIsolationPt
Calculates a lepton's tracker isolation pt.
Definition: TrackerIsolationPt.h:31
pat::TrackerIsolationPt::calculate
float calculate(const Electron &theElectron, const edm::View< reco::Track > &theTracks, float isoConeElectron=0.3) const
calculate the TrackIsoPt for the lepton object
Definition: TrackerIsolationPt.cc:27
reco
fixed size matrix
Definition: AlignmentAlgorithmBase.h:45
Muon
Definition: Muon.py:1
reco::Track
Definition: Track.h:27
edm::View
Definition: CaloClusterFwd.h:14
pat
Definition: HeavyIon.h:7
pat::TrackerIsolationPt::TrackerIsolationPt
TrackerIsolationPt()
constructor
Definition: TrackerIsolationPt.cc:21