File indexing completed on 2024-04-06 12:24:04
0001
0002
0003
0004 #ifndef PhysicsTools_PatUtils_TrackerIsolationPt_h
0005 #define PhysicsTools_PatUtils_TrackerIsolationPt_h
0006
0007
0008
0009
0010
0011
0012
0013
0014
0015
0016
0017
0018 namespace reco {
0019 class Track;
0020 }
0021
0022 namespace edm {
0023 template <typename T>
0024 class View;
0025 class InputTag;
0026 }
0027
0028 namespace pat {
0029 class Electron;
0030 class Muon;
0031 class TrackerIsolationPt {
0032 public:
0033 TrackerIsolationPt();
0034 virtual ~TrackerIsolationPt();
0035
0036 float calculate(const Electron& theElectron,
0037 const edm::View<reco::Track>& theTracks,
0038 float isoConeElectron = 0.3) const;
0039 float calculate(const Muon& theMuon, const edm::View<reco::Track>& theTracks, float isoConeMuon = 0.3) const;
0040
0041 private:
0042 float calculate(const reco::Track& theTrack, const edm::View<reco::Track>& theTracks, float isoCone) const;
0043 };
0044
0045 }
0046
0047 #endif