Main Page
Namespaces
Classes
Package Documentation
RecoParticleFlow
PFProducer
interface
PhotonSelectorAlgo.h
Go to the documentation of this file.
1
#ifndef PFProducer_PhotonSelectorAlgo_H
2
#define PFProducer_PhotonSelectorAlgo_H
3
4
#include "TMath.h"
5
#include "
DataFormats/EgammaCandidates/interface/PhotonFwd.h
"
6
#include "
DataFormats/EgammaCandidates/interface/Photon.h
"
7
8
9
class
PhotonSelectorAlgo
{
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
24
~PhotonSelectorAlgo
(){};
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
35
float
c_iso_track_a_
,
c_iso_track_b_
;
36
// ECAL iso, constant term & slope
37
float
c_iso_ecal_a_
,
c_iso_ecal_b_
;
38
// HCAL iso, constant term & slope
39
float
c_iso_hcal_a_
,
c_iso_hcal_b_
;
40
float
c_hoe_
;
41
42
//second choice int 1
43
float
comb_iso_
;
44
float
loose_hoe_
;
45
};
46
#endif
PhotonSelectorAlgo::passPhotonSelection
bool passPhotonSelection(const reco::Photon &) const
Definition:
PhotonSelectorAlgo.cc:28
PhotonSelectorAlgo
Definition:
PhotonSelectorAlgo.h:9
PhotonSelectorAlgo::c_Et_
float c_Et_
Definition:
PhotonSelectorAlgo.h:33
Photon.h
PhotonSelectorAlgo::c_iso_hcal_a_
float c_iso_hcal_a_
Definition:
PhotonSelectorAlgo.h:39
reco::Photon
Definition:
Photon.h:22
PhotonSelectorAlgo::c_iso_track_b_
float c_iso_track_b_
Definition:
PhotonSelectorAlgo.h:35
PhotonSelectorAlgo::loose_hoe_
float loose_hoe_
Definition:
PhotonSelectorAlgo.h:44
PhotonSelectorAlgo::c_iso_ecal_a_
float c_iso_ecal_a_
Definition:
PhotonSelectorAlgo.h:37
PhotonSelectorAlgo::choice_
int choice_
Definition:
PhotonSelectorAlgo.h:30
PhotonSelectorAlgo::c_hoe_
float c_hoe_
Definition:
PhotonSelectorAlgo.h:40
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_iso_track_a_
float c_iso_track_a_
Definition:
PhotonSelectorAlgo.h:35
PhotonSelectorAlgo::c_iso_hcal_b_
float c_iso_hcal_b_
Definition:
PhotonSelectorAlgo.h:39
PhotonSelectorAlgo::~PhotonSelectorAlgo
~PhotonSelectorAlgo()
Definition:
PhotonSelectorAlgo.h:24
PhotonSelectorAlgo::c_iso_ecal_b_
float c_iso_ecal_b_
Definition:
PhotonSelectorAlgo.h:37
PhotonFwd.h
PhotonSelectorAlgo::comb_iso_
float comb_iso_
Definition:
PhotonSelectorAlgo.h:43
Generated for CMSSW Reference Manual by
1.8.11