CMS 3D CMS Logo

TrackIsoCalculator.h
Go to the documentation of this file.
1 #ifndef HiEgammaAlgos_TrackIsoCalculator_h
2 #define HiEgammaAlgos_TrackIsoCalculator_h
3 
7 
10 
13 
16 
18 
21 
23 {
24 public:
25 
27 
29  double getTrackIso(const reco::Photon clus, const double i, const double threshold, const double innerDR=0);
31  double getBkgSubTrackIso(const reco::Photon clus, const double i, const double threshold, const double innerDR=0);
32 
33 private:
34 
37 };
38 
39 #endif
int iEvent
Definition: GenABIO.cc:224
double getBkgSubTrackIso(const reco::Photon clus, const double i, const double threshold, const double innerDR=0)
Return the background-subtracted tracker energy in a cone around the photon.
TrackIsoCalculator(const edm::Event &iEvent, const edm::EventSetup &iSetup, const edm::Handle< reco::TrackCollection > trackLabel, const std::string trackQuality_)
double getTrackIso(const reco::Photon clus, const double i, const double threshold, const double innerDR=0)
Return the tracker energy in a cone around the photon.
edm::Handle< reco::TrackCollection > recCollection