CMS 3D CMS Logo

/data/refman/pasoursint/CMSSW_5_3_10_patch1/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 choice,
00014                      float c_Et_,
00015                      float c_iso_track_a, float c_iso_track_b,
00016                      float c_iso_ecal_a, float c_iso_ecal_b,
00017                      float c_iso_hcal_a, float c_hcal_b,
00018                      float c_hoe_,
00019                      float comb_iso,
00020                      float loose_hoe
00021                      );
00022   
00023 
00024   ~PhotonSelectorAlgo(){};
00025   
00026   bool passPhotonSelection(const reco::Photon &) const ;
00027   
00028  private:
00029   //Choice of the cuts
00030   int choice_;
00031   //First Choice int 0
00032   // Et cut
00033     float c_Et_;
00034   // Track iso, constant term & slope
00035   float c_iso_track_a_, c_iso_track_b_;
00036   // ECAL iso, constant term & slope 
00037   float c_iso_ecal_a_,  c_iso_ecal_b_;
00038   // HCAL iso, constant term & slope
00039   float c_iso_hcal_a_,  c_iso_hcal_b_;
00040   float c_hoe_;
00041   
00042   //second choice int 1
00043   float comb_iso_;
00044   float loose_hoe_;
00045 };
00046 #endif