CMS 3D CMS Logo

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Groups Pages
TrackIsoCalculator.h
Go to the documentation of this file.
1 #ifndef HiEgammaAlgos_TrackIsoCalculator_h
2 #define HiEgammaAlgos_TrackIsoCalculator_h
3 
7 
9 public:
11 
13  double getTrackIso(reco::Photon const& clus, const double i, const double threshold, const double innerDR = 0);
15  double getBkgSubTrackIso(reco::Photon const& clus, const double i, const double threshold, const double innerDR = 0);
16 
17 private:
20 };
21 
22 #endif
TrackIsoCalculator(reco::TrackCollection const &trackCollection, std::string const &trackQuality)
std::vector< Track > TrackCollection
collection of Tracks
Definition: TrackFwd.h:14
reco::TrackCollection const & recCollection_
std::string const & trackQuality_
tuple trackCollection
double getBkgSubTrackIso(reco::Photon const &clus, const double i, const double threshold, const double innerDR=0)
Return the background-subtracted tracker energy in a cone around the photon.
double getTrackIso(reco::Photon const &clus, const double i, const double threshold, const double innerDR=0)
Return the tracker energy in a cone around the photon.