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
PhotonSelectorAlgo::c_iso_hcal_a_
float c_iso_hcal_a_
Definition: PhotonSelectorAlgo.h:37
PhotonFwd.h
PhotonSelectorAlgo::c_iso_hcal_b_
float c_iso_hcal_b_
Definition: PhotonSelectorAlgo.h:37
PhotonSelectorAlgo::c_Et_
float c_Et_
Definition: PhotonSelectorAlgo.h:31
PhotonSelectorAlgo::c_iso_ecal_a_
float c_iso_ecal_a_
Definition: PhotonSelectorAlgo.h:35
PhotonSelectorAlgo
Definition: PhotonSelectorAlgo.h:8
Photon.h
PhotonSelectorAlgo::~PhotonSelectorAlgo
~PhotonSelectorAlgo()
Definition: PhotonSelectorAlgo.h:22
PhotonSelectorAlgo::c_iso_track_b_
float c_iso_track_b_
Definition: PhotonSelectorAlgo.h:33
PhotonSelectorAlgo::c_iso_ecal_b_
float c_iso_ecal_b_
Definition: PhotonSelectorAlgo.h:35
PhotonSelectorAlgo::comb_iso_
float comb_iso_
Definition: PhotonSelectorAlgo.h:41
PhotonSelectorAlgo::PhotonSelectorAlgo
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)
Definition: PhotonSelectorAlgo.cc:6
PhotonSelectorAlgo::c_hoe_
float c_hoe_
Definition: PhotonSelectorAlgo.h:38
PhotonSelectorAlgo::c_iso_track_a_
float c_iso_track_a_
Definition: PhotonSelectorAlgo.h:33
reco::Photon
Definition: Photon.h:22
PhotonSelectorAlgo::loose_hoe_
float loose_hoe_
Definition: PhotonSelectorAlgo.h:42
PhotonSelectorAlgo::choice_
int choice_
Definition: PhotonSelectorAlgo.h:28
PhotonSelectorAlgo::passPhotonSelection
bool passPhotonSelection(const reco::Photon &) const
Definition: PhotonSelectorAlgo.cc:31