Imperial Analysis
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Pages
CaloJet.hh
Go to the documentation of this file.
1 #ifndef ICHiggsTauTau_CaloJet_hh
2 #define ICHiggsTauTau_CaloJet_hh
3 #include <map>
4 #include <string>
5 #include <vector>
7 #include "Rtypes.h"
8 
9 namespace ic {
10 
15 class CaloJet : public Jet {
16  public:
17  CaloJet();
18  virtual ~CaloJet();
19  virtual void Print() const;
20 
22 
23  inline float const& max_em_tower_energy() const {
25  return max_em_tower_energy_;
26  }
27 
29  inline float const& max_had_tower_energy() const {
30  return max_had_tower_energy_;
31  }
32 
34  inline float const& energy_frac_had() const { return energy_frac_had_; }
35 
37  inline float const& energy_frac_em() const { return energy_frac_em_; }
38 
40  inline float const& had_energy_HB() const { return had_energy_HB_; }
41 
43  inline float const& had_energy_HO() const { return had_energy_HO_; }
44 
46  inline float const& had_energy_HE() const { return had_energy_HE_; }
47 
49  inline float const& had_energy_HF() const { return had_energy_HF_; }
50 
52  inline float const& em_energy_EB() const { return em_energy_EB_; }
53 
55  inline float const& em_energy_EE() const { return em_energy_EE_; }
56 
58  inline float const& em_energy_HF() const { return em_energy_HF_; }
59 
61  inline float const& towers_area() const { return towers_area_; }
62 
64  inline int const& n90() const { return n90_; }
65 
67  inline int const& n60() const { return n60_; }
68 
70  inline float const& fHPD() const { return fHPD_; }
71 
73  inline float const& fRBX() const { return fRBX_; }
74 
76  inline bool const& id_loose() const { return id_loose_; }
77 
79  inline bool const& id_tight() const { return id_tight_; }
82 
84  inline void set_max_em_tower_energy(float const& max_em_tower_energy) {
86  max_em_tower_energy_ = max_em_tower_energy;
87  }
88 
90  inline void set_max_had_tower_energy(float const& max_had_tower_energy) {
91  max_had_tower_energy_ = max_had_tower_energy;
92  }
93 
95  inline void set_energy_frac_had(float const& energy_frac_had) {
96  energy_frac_had_ = energy_frac_had;
97  }
98 
100  inline void set_energy_frac_em(float const& energy_frac_em) {
101  energy_frac_em_ = energy_frac_em;
102  }
103 
105  inline void set_had_energy_HB(float const& had_energy_HB) {
106  had_energy_HB_ = had_energy_HB;
107  }
108 
110  inline void set_had_energy_HO(float const& had_energy_HO) {
111  had_energy_HO_ = had_energy_HO;
112  }
113 
115  inline void set_had_energy_HE(float const& had_energy_HE) {
116  had_energy_HE_ = had_energy_HE;
117  }
118 
120  inline void set_had_energy_HF(float const& had_energy_HF) {
121  had_energy_HF_ = had_energy_HF;
122  }
123 
125  inline void set_em_energy_EB(float const& em_energy_EB) {
126  em_energy_EB_ = em_energy_EB;
127  }
128 
130  inline void set_em_energy_EE(float const& em_energy_EE) {
131  em_energy_EE_ = em_energy_EE;
132  }
133 
135  inline void set_em_energy_HF(float const& em_energy_HF) {
136  em_energy_HF_ = em_energy_HF;
137  }
138 
140  inline void set_towers_area(float const& towers_area) {
141  towers_area_ = towers_area;
142  }
143 
145  inline void set_n90(int const& n90) { n90_ = n90; }
146 
148  inline void set_n60(int const& n60) { n60_ = n60; }
149 
151  inline void set_fHPD(float const& fHPD) { fHPD_ = fHPD; }
152 
154  inline void set_fRBX(float const& fRBX) { fRBX_ = fRBX; }
155 
157  inline void set_id_loose(bool const& id_loose) { id_loose_ = id_loose; }
158 
160  inline void set_id_tight(bool const& id_tight) { id_tight_ = id_tight; }
163  private:
164  float max_em_tower_energy_;
165  float max_had_tower_energy_;
166  float energy_frac_had_;
167  float energy_frac_em_;
168  float had_energy_HB_;
169  float had_energy_HO_;
170  float had_energy_HE_;
171  float had_energy_HF_;
172  float em_energy_EB_;
173  float em_energy_EE_;
174  float em_energy_HF_;
175  float towers_area_;
176  int n90_;
177  int n60_;
178  float fHPD_;
179  float fRBX_;
180  bool id_loose_;
181  bool id_tight_;
182 
183  #ifndef SKIP_CINT_DICT
184  public:
185  ClassDef(CaloJet, 2);
186  #endif
187 };
188 
189 typedef std::vector<ic::CaloJet> CaloJetCollection;
190 }
191 #endif
float const & had_energy_HO() const
Hadronic energy in the HO detector.
Definition: CaloJet.hh:43
void set_had_energy_HO(float const &had_energy_HO)
Hadronic energy in the HO detector.
Definition: CaloJet.hh:110
virtual ~CaloJet()
Definition: CaloJet.cc:25
float const & had_energy_HB() const
Hadronic energy in the HB detector.
Definition: CaloJet.hh:40
float const & em_energy_EB() const
Electromagnetic energy in the EB detector.
Definition: CaloJet.hh:52
void set_id_loose(bool const &id_loose)
Flag indicates if the jet passes the loose ID.
Definition: CaloJet.hh:157
void set_id_tight(bool const &id_tight)
Flag indicates if the jet passes the tight ID.
Definition: CaloJet.hh:160
float const & towers_area() const
Area of towers contributing to the jet.
Definition: CaloJet.hh:61
float const & max_em_tower_energy() const
Maximum energy deposited in the ECAL towers.
Definition: CaloJet.hh:24
void set_fRBX(float const &fRBX)
Fraction of energy carried by the "hottest" RBX (readout box)
Definition: CaloJet.hh:154
bool const & id_tight() const
Flag indicates if the jet passes the tight ID.
Definition: CaloJet.hh:79
void set_max_em_tower_energy(float const &max_em_tower_energy)
Maximum energy deposited in the ECAL towers.
Definition: CaloJet.hh:85
void set_em_energy_EE(float const &em_energy_EE)
Electromagnetic energy in the EE detector.
Definition: CaloJet.hh:130
float const & max_had_tower_energy() const
Maximum energy deposited in the HCAL towers.
Definition: CaloJet.hh:29
void set_n90(int const &n90)
Number of constituents carrying 90% of the jet energy.
Definition: CaloJet.hh:145
virtual void Print() const
Definition: CaloJet.cc:27
Definition: CaloJet.hh:9
void set_had_energy_HB(float const &had_energy_HB)
Hadronic energy in the HB detector.
Definition: CaloJet.hh:105
float const & had_energy_HF() const
Hadronic energy in the HF detector.
Definition: CaloJet.hh:49
float const & had_energy_HE() const
Hadronic energy in the HE detector.
Definition: CaloJet.hh:46
std::vector< ic::CaloJet > CaloJetCollection
Definition: CaloJet.hh:189
float const & energy_frac_had() const
Hadronic fraction of the jet energy.
Definition: CaloJet.hh:34
int const & n90() const
Number of constituents carrying 90% of the jet energy.
Definition: CaloJet.hh:64
ClassDef(CaloJet, 2)
void set_em_energy_HF(float const &em_energy_HF)
Electromagnetic energy in the HF detector.
Definition: CaloJet.hh:135
int const & n60() const
Number of constituents carrying 60% of the jet energy.
Definition: CaloJet.hh:67
float const & fHPD() const
Fraction of energy carried by the "hottest" HPD (hybrid photodiode)
Definition: CaloJet.hh:70
Derived from the ic::Jet class and adding information specific to calorimeter jets.
Definition: CaloJet.hh:15
void set_energy_frac_had(float const &energy_frac_had)
Hadronic fraction of the jet energy.
Definition: CaloJet.hh:95
void set_max_had_tower_energy(float const &max_had_tower_energy)
Maximum energy deposited in the HCAL towers.
Definition: CaloJet.hh:90
void set_n60(int const &n60)
Number of constituents carrying 60% of the jet energy.
Definition: CaloJet.hh:148
float const & em_energy_HF() const
Electromagnetic energy in the HF detector.
Definition: CaloJet.hh:58
void set_energy_frac_em(float const &energy_frac_em)
Electromagnetic fraction of the jet energy.
Definition: CaloJet.hh:100
float const & fRBX() const
Fraction of energy carried by the "hottest" RBX (readout box)
Definition: CaloJet.hh:73
void set_fHPD(float const &fHPD)
Fraction of energy carried by the "hottest" HPD (hybrid photodiode)
Definition: CaloJet.hh:151
float const & energy_frac_em() const
Electromagnetic fraction of the jet energy.
Definition: CaloJet.hh:37
bool const & id_loose() const
Flag indicates if the jet passes the loose ID.
Definition: CaloJet.hh:76
void set_had_energy_HF(float const &had_energy_HF)
Hadronic energy in the HF detector.
Definition: CaloJet.hh:120
void set_em_energy_EB(float const &em_energy_EB)
Electromagnetic energy in the EB detector.
Definition: CaloJet.hh:125
void set_towers_area(float const &towers_area)
Area of towers contributing to the jet.
Definition: CaloJet.hh:140
void set_had_energy_HE(float const &had_energy_HE)
Hadronic energy in the HE detector.
Definition: CaloJet.hh:115
float const & em_energy_EE() const
Electromagnetic energy in the EE detector.
Definition: CaloJet.hh:55
A basic jet class to store properties common to all jet types.
Definition: Jet.hh:17