CMS 3D CMS Logo

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 
9 public:
10  PhotonSelectorAlgo(float choice,
11  float c_Et_,
12  float c_iso_track_a,
13  float c_iso_track_b,
14  float c_iso_ecal_a,
15  float c_iso_ecal_b,
16  float c_iso_hcal_a,
17  float c_hcal_b,
18  float c_hoe_,
19  float comb_iso,
20  float loose_hoe);
21 
23 
24  bool passPhotonSelection(const reco::Photon &) const;
25 
26 private:
27  //Choice of the cuts
28  int choice_;
29  //First Choice int 0
30  // Et cut
31  float c_Et_;
32  // Track iso, constant term & slope
34  // ECAL iso, constant term & slope
36  // HCAL iso, constant term & slope
38  float c_hoe_;
39 
40  //second choice int 1
41  float comb_iso_;
42  float loose_hoe_;
43 };
44 #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)