File indexing completed on 2023-03-17 11:18:09
0001 #ifndef HiEgammaAlgos_TrackIsoCalculator_h
0002 #define HiEgammaAlgos_TrackIsoCalculator_h
0003
0004 #include "DataFormats/EgammaCandidates/interface/Photon.h"
0005 #include "DataFormats/TrackReco/interface/Track.h"
0006 #include "DataFormats/TrackReco/interface/TrackFwd.h"
0007
0008 class TrackIsoCalculator {
0009 public:
0010 TrackIsoCalculator(reco::TrackCollection const& trackCollection, std::string const& trackQuality);
0011
0012
0013 double getTrackIso(reco::Photon const& clus, const double i, const double threshold, const double innerDR = 0);
0014
0015 double getBkgSubTrackIso(reco::Photon const& clus, const double i, const double threshold, const double innerDR = 0);
0016
0017 private:
0018 reco::TrackCollection const& recCollection_;
0019 std::string const& trackQuality_;
0020 };
0021
0022 #endif