Imperial Analysis
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Pages
Photon.hh
Go to the documentation of this file.
1 #ifndef ICHiggsTauTau_Photon_hh
2 #define ICHiggsTauTau_Photon_hh
3 #include <vector>
5 #include "Rtypes.h"
6 
7 namespace ic {
8 
13 class Photon : public Candidate {
14  public:
15  Photon();
16  virtual ~Photon();
17  virtual void Print() const;
18 
20 
21  inline float dr03_pfiso_charged_all() const {
24  return dr03_pfiso_charged_all_;
25  }
26 
28  inline float dr03_pfiso_charged() const { return dr03_pfiso_charged_; }
29 
31  inline float dr03_pfiso_neutral() const { return dr03_pfiso_neutral_; }
32 
34  inline float dr03_pfiso_gamma() const { return dr03_pfiso_gamma_; }
35 
37  inline float dr03_pfiso_pu() const { return dr03_pfiso_pu_; }
38 
41  inline float dr04_pfiso_charged_all() const {
42  return dr04_pfiso_charged_all_;
43  }
44 
46  inline float dr04_pfiso_charged() const { return dr04_pfiso_charged_; }
47 
49  inline float dr04_pfiso_neutral() const { return dr04_pfiso_neutral_; }
50 
52  inline float dr04_pfiso_gamma() const { return dr04_pfiso_gamma_; }
53 
55  inline float dr04_pfiso_pu() const { return dr04_pfiso_pu_; }
56 
58  inline float had_tower_over_em() const { return had_tower_over_em_; }
59 
62  inline float sigma_IetaIeta() const { return sigma_IetaIeta_; }
63 
65  inline bool pass_electron_veto() const { return pass_electron_veto_; }
68 
70  inline void set_dr03_pfiso_charged_all(float const& dr03_pfiso_charged_all) {
72  dr03_pfiso_charged_all_ = dr03_pfiso_charged_all;
73  }
74 
76  inline void set_dr03_pfiso_charged(float const& dr03_pfiso_charged) {
77  dr03_pfiso_charged_ = dr03_pfiso_charged;
78  }
79 
81  inline void set_dr03_pfiso_neutral(float const& dr03_pfiso_neutral) {
82  dr03_pfiso_neutral_ = dr03_pfiso_neutral;
83  }
84 
86  inline void set_dr03_pfiso_gamma(float const& dr03_pfiso_gamma) {
87  dr03_pfiso_gamma_ = dr03_pfiso_gamma;
88  }
89 
91  inline void set_dr03_pfiso_pu(float const& dr03_pfiso_pu) {
92  dr03_pfiso_pu_ = dr03_pfiso_pu;
93  }
94 
97  dr04_pfiso_charged_all_ = dr04_pfiso_charged_all;
98  }
99 
101  inline void set_dr04_pfiso_charged(float const& dr04_pfiso_charged) {
102  dr04_pfiso_charged_ = dr04_pfiso_charged;
103  }
104 
106  inline void set_dr04_pfiso_neutral(float const& dr04_pfiso_neutral) {
107  dr04_pfiso_neutral_ = dr04_pfiso_neutral;
108  }
109 
111  inline void set_dr04_pfiso_gamma(float const& dr04_pfiso_gamma) {
112  dr04_pfiso_gamma_ = dr04_pfiso_gamma;
113  }
114 
116  inline void set_dr04_pfiso_pu(float const& dr04_pfiso_pu) {
117  dr04_pfiso_pu_ = dr04_pfiso_pu;
118  }
119 
121  inline void set_had_tower_over_em(float const& had_tower_over_em) {
122  had_tower_over_em_ = had_tower_over_em;
123  }
124 
126  inline void set_sigma_IetaIeta(float const& sigma_IetaIeta) {
127  sigma_IetaIeta_ = sigma_IetaIeta;
128  }
129 
131  inline void set_pass_electron_veto(bool const& pass_electron_veto) {
132  pass_electron_veto_ = pass_electron_veto;
133  }
136  private:
137  float dr03_pfiso_charged_all_;
138  float dr03_pfiso_charged_;
139  float dr03_pfiso_neutral_;
140  float dr03_pfiso_gamma_;
141  float dr03_pfiso_pu_;
142  float dr04_pfiso_charged_all_;
143  float dr04_pfiso_charged_;
144  float dr04_pfiso_neutral_;
145  float dr04_pfiso_gamma_;
146  float dr04_pfiso_pu_;
147 
148  float had_tower_over_em_;
149  float sigma_IetaIeta_;
150 
151  bool pass_electron_veto_;
152 
153  #ifndef SKIP_CINT_DICT
154  public:
155  ClassDef(Photon, 2);
156  #endif
157 };
158 
159 typedef std::vector<ic::Photon> PhotonCollection;
160 }
162 #endif
void set_dr03_pfiso_gamma(float const &dr03_pfiso_gamma)
PF isolation, using photons in a cone with .
Definition: Photon.hh:86
float dr04_pfiso_charged() const
PF isolation, using charged hadrons in a cone with .
Definition: Photon.hh:46
float dr04_pfiso_gamma() const
PF isolation, using photons in a cone with .
Definition: Photon.hh:52
float dr04_pfiso_neutral() const
PF isolation, using neutral hadrons in a cone with .
Definition: Photon.hh:49
std::vector< ic::Photon > PhotonCollection
Definition: Photon.hh:159
float dr03_pfiso_charged_all() const
PF isolation, using all charged particles in a cone with .
Definition: Photon.hh:23
Photon()
Definition: Photon.cc:4
ClassDef(Photon, 2)
void set_dr03_pfiso_neutral(float const &dr03_pfiso_neutral)
PF isolation, using neutral hadrons in a cone with .
Definition: Photon.hh:81
float dr04_pfiso_charged_all() const
PF isolation, using all charged particles in a cone with .
Definition: Photon.hh:41
virtual ~Photon()
Definition: Photon.cc:20
void set_dr04_pfiso_neutral(float const &dr04_pfiso_neutral)
PF isolation, using neutral hadrons in a cone with .
Definition: Photon.hh:106
Stores a four-momentum, charge and identifier, and is the base class for most other physics objects...
Definition: Candidate.hh:13
virtual void Print() const
Definition: Photon.cc:22
float dr04_pfiso_pu() const
PF isolation, using charged pileup in a cone with .
Definition: Photon.hh:55
bool pass_electron_veto() const
True if photon passes the electron veto.
Definition: Photon.hh:65
Definition: CaloJet.hh:9
float had_tower_over_em() const
Hadronic over electromagnetic energy fraction.
Definition: Photon.hh:58
void set_sigma_IetaIeta(float const &sigma_IetaIeta)
Weighted cluster RMS in the -direction, measured in units of crystals in a 5x5 block centred on the s...
Definition: Photon.hh:126
float dr03_pfiso_neutral() const
PF isolation, using neutral hadrons in a cone with .
Definition: Photon.hh:31
void set_had_tower_over_em(float const &had_tower_over_em)
Hadronic over electromagnetic energy fraction.
Definition: Photon.hh:121
void set_dr04_pfiso_charged_all(float const &dr04_pfiso_charged_all)
PF isolation, using all charged particles in a cone with .
Definition: Photon.hh:96
void set_dr04_pfiso_gamma(float const &dr04_pfiso_gamma)
PF isolation, using photons in a cone with .
Definition: Photon.hh:111
This class stores a subset of the reco::Photon properties which are most commonly used in analysis...
Definition: Photon.hh:13
void set_dr04_pfiso_charged(float const &dr04_pfiso_charged)
PF isolation, using charged hadrons in a cone with .
Definition: Photon.hh:101
void set_pass_electron_veto(bool const &pass_electron_veto)
True if photon passes the electron veto.
Definition: Photon.hh:131
float dr03_pfiso_charged() const
PF isolation, using charged hadrons in a cone with .
Definition: Photon.hh:28
float dr03_pfiso_gamma() const
PF isolation, using photons in a cone with .
Definition: Photon.hh:34
void set_dr03_pfiso_charged_all(float const &dr03_pfiso_charged_all)
PF isolation, using all charged particles in a cone with .
Definition: Photon.hh:71
void set_dr04_pfiso_pu(float const &dr04_pfiso_pu)
PF isolation, using charged pileup in a cone with .
Definition: Photon.hh:116
float dr03_pfiso_pu() const
PF isolation, using charged pileup in a cone with .
Definition: Photon.hh:37
void set_dr03_pfiso_pu(float const &dr03_pfiso_pu)
PF isolation, using charged pileup in a cone with .
Definition: Photon.hh:91
float sigma_IetaIeta() const
Weighted cluster RMS in the -direction, measured in units of crystals in a 5x5 block centred on the s...
Definition: Photon.hh:62
void set_dr03_pfiso_charged(float const &dr03_pfiso_charged)
PF isolation, using charged hadrons in a cone with .
Definition: Photon.hh:76