CMS 3D CMS Logo

/data/doxygen/doxygen-1.7.3/gen/CMSSW_4_2_8/src/RecoParticleFlow/PFProducer/interface/PhotonSelectorAlgo.h

Go to the documentation of this file.
00001 #ifndef PFProducer_PhotonSelectorAlgo_H
00002 #define PFProducer_PhotonSelectorAlgo_H
00003 
00004 #include "TMath.h"
00005 #include "DataFormats/EgammaCandidates/interface/PhotonFwd.h"
00006 #include "DataFormats/EgammaCandidates/interface/Photon.h"
00007 
00008 
00009 class PhotonSelectorAlgo {
00010   
00011  public:
00012    
00013   PhotonSelectorAlgo(float c_Et_,
00014                      float c_iso_track_a, float c_iso_track_b,
00015                      float c_iso_ecal_a, float c_iso_ecal_b,
00016                      float c_iso_hcal_a, float c_hcal_b,
00017                      float c_hoe_
00018                      );
00019   
00020 
00021   ~PhotonSelectorAlgo(){};
00022   
00023   bool passPhotonSelection(const reco::Photon &) const ;
00024   
00025  private:
00026   // Et cut
00027   float c_Et_;
00028   // Track iso, constant term & slope
00029   float c_iso_track_a_, c_iso_track_b_;
00030   // ECAL iso, constant term & slope 
00031   float c_iso_ecal_a_,  c_iso_ecal_b_;
00032   // HCAL iso, constant term & slope
00033   float c_iso_hcal_a_,  c_iso_hcal_b_;
00034   float c_hoe_;
00035 
00036 };
00037 #endif