CMS 3D CMS Logo

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Pages
PhotonSelectorAlgo.h
Go to the documentation of this file.
1 #ifndef PFProducer_PhotonSelectorAlgo_H
2 #define PFProducer_PhotonSelectorAlgo_H
3 
4 #include "TMath.h"
7 
8 
10 
11  public:
12 
13  PhotonSelectorAlgo(float choice,
14  float c_Et_,
15  float c_iso_track_a, float c_iso_track_b,
16  float c_iso_ecal_a, float c_iso_ecal_b,
17  float c_iso_hcal_a, float c_hcal_b,
18  float c_hoe_,
19  float comb_iso,
20  float loose_hoe
21  );
22 
23 
25 
26  bool passPhotonSelection(const reco::Photon &) const ;
27 
28  private:
29  //Choice of the cuts
30  int choice_;
31  //First Choice int 0
32  // Et cut
33  float c_Et_;
34  // Track iso, constant term & slope
36  // ECAL iso, constant term & slope
38  // HCAL iso, constant term & slope
40  float c_hoe_;
41 
42  //second choice int 1
43  float comb_iso_;
44  float loose_hoe_;
45 };
46 #endif
bool passPhotonSelection(const reco::Photon &) const
PhotonSelectorAlgo(float choice, float c_Et_, float c_iso_track_a, float c_iso_track_b, float c_iso_ecal_a, float c_iso_ecal_b, float c_iso_hcal_a, float c_hcal_b, float c_hoe_, float comb_iso, float loose_hoe)