Belle II Software development
EventLevelClusteringInfo.h
1/**************************************************************************
2 * basf2 (Belle II Analysis Software Framework) *
3 * Author: The Belle II Collaboration *
4 * *
5 * See git log for contributors and copyright holders. *
6 * This file is licensed under LGPL-3.0, see LICENSE.md. *
7 **************************************************************************/
8#pragma once
9
10// ROOT headers.
11#include <TObject.h>
12
13// C++ headers.
14#include <cstdint>
15
16namespace Belle2 {
30 class EventLevelClusteringInfo : public TObject {
31 public:
32
35
38 {
40 }
41
44 {
46 }
47
50 {
52 }
53
56 {
58 }
59
61 void setNECLCalDigitsOutOfTimeFWD(uint16_t const nECLCalDigitsOutOfTimeFWD)
62 {
63 m_nECLCalDigitsOutOfTimeFWD = nECLCalDigitsOutOfTimeFWD;
64 }
65
67 void setNECLCalDigitsOutOfTimeBarrel(uint16_t const nECLCalDigitsOutOfTimeBarrel)
68 {
69 m_nECLCalDigitsOutOfTimeBarrel = nECLCalDigitsOutOfTimeBarrel;
70 }
71
73 void setNECLCalDigitsOutOfTimeBWD(uint16_t const nECLCalDigitsOutOfTimeBWD)
74 {
75 m_nECLCalDigitsOutOfTimeBWD = nECLCalDigitsOutOfTimeBWD;
76 }
77
80 {
82 }
83
86 {
88 }
89
92 {
94 }
95
97 uint8_t getNECLShowersRejected() const
98 {
100 }
101
103 void setNECLShowersRejectedFWD(uint8_t const nECLShowersRejectedFWD)
104 {
105 m_nECLShowersRejectedFWD = nECLShowersRejectedFWD;
106 }
107
109 void setNECLShowersRejectedBarrel(uint8_t const nECLShowersRejectedBarrel)
110 {
111 m_nECLShowersRejectedBarrel = nECLShowersRejectedBarrel;
112 }
113
115 void setNECLShowersRejectedBWD(uint8_t const nECLShowersRejectedBWD)
116 {
117 m_nECLShowersRejectedBWD = nECLShowersRejectedBWD;
118 }
119
122 {
124 }
125
128 {
130 }
131
134 {
136 }
137
139 uint16_t getNKLMDigitsMultiStrip() const
140 {
142 }
143
145 void setNKLMDigitsMultiStripFWD(uint16_t const nKLMDigitsMultiStripFWD)
146 {
147 m_nKLMDigitsMultiStripFWD = nKLMDigitsMultiStripFWD;
148 }
149
151 void setNKLMDigitsMultiStripBarrel(uint16_t const nKLMDigitsMultiStripBarrel)
152 {
153 m_nKLMDigitsMultiStripBarrel = nKLMDigitsMultiStripBarrel;
154 }
155
157 void setNKLMDigitsMultiStripBWD(uint16_t const nKLMDigitsMultiStripBWD)
158 {
159 m_nKLMDigitsMultiStripBWD = nKLMDigitsMultiStripBWD;
160 }
161
163 uint16_t getNECLShowersFWD() const
164 {
165 return m_nECLShowersFWD;
166 }
167
169 uint16_t getNECLShowersBarrel() const
170 {
171 return m_nECLShowersBarrel;
172 }
173
175 uint16_t getNECLShowersBWD() const
176 {
177 return m_nECLShowersBWD;
178 }
179
181 uint16_t getNECLShowers() const
182 {
184 }
185
187 void setNECLShowersFWD(uint16_t const nECLShowersFWD)
188 {
189 m_nECLShowersFWD = nECLShowersFWD;
190 }
191
193 void setNECLShowersBarrel(uint16_t const nECLShowersBarrel)
194 {
195 m_nECLShowersBarrel = nECLShowersBarrel;
196 }
197
199 void setNECLShowersBWD(uint16_t const nECLShowersBWD)
200 {
201 m_nECLShowersBWD = nECLShowersBWD;
202 }
203
205 uint16_t getNECLLocalMaximumsFWD() const
206 {
208 }
209
212 {
214 }
215
217 uint16_t getNECLLocalMaximumsBWD() const
218 {
220 }
221
223 uint16_t getNECLLocalMaximums() const
224 {
226 }
227
229 void setNECLLocalMaximumsFWD(uint16_t const nECLLocalMaximumsFWD)
230 {
231 m_nECLLocalMaximumsFWD = nECLLocalMaximumsFWD;
232 }
233
235 void setNECLLocalMaximumsBarrel(uint16_t const nECLLocalMaximumsBarrel)
236 {
237 m_nECLLocalMaximumsBarrel = nECLLocalMaximumsBarrel;
238 }
239
241 void setNECLLocalMaximumsBWD(uint16_t const nECLLocalMaximumsBWD)
242 {
243 m_nECLLocalMaximumsBWD = nECLLocalMaximumsBWD;
244 }
245
247 uint16_t getNECLTriggerCellsFWD() const
248 {
250 }
251
254 {
256 }
257
259 uint16_t getNECLTriggerCellsBWD() const
260 {
262 }
263
265 uint16_t getNECLTriggerCells() const
266 {
268 }
269
271 void setNECLTriggerCellsFWD(uint16_t const nECLTriggerCellsFWD)
272 {
273 m_nECLTriggerCellsFWD = nECLTriggerCellsFWD;
274 }
275
277 void setNECLTriggerCellsBarrel(uint16_t const nECLTriggerCellsBarrel)
278 {
279 m_nECLTriggerCellsBarrel = nECLTriggerCellsBarrel;
280 }
281
283 void setNECLTriggerCellsBWD(uint16_t const nECLTriggerCellsBWD)
284 {
285 m_nECLTriggerCellsBWD = nECLTriggerCellsBWD;
286 }
287
288 private:
289
292
295
298
301
304
307
309 uint16_t m_nECLShowersFWD {0};
310
313
315 uint16_t m_nECLShowersBWD {0};
316
319
322
325
328
331
334
337
340
343
346 // 2: add multi-strip KLMDigits
347 // 3: add ECLShowers and ECLLocalMaximums
348 // 4: add ECL trigger cells
349 };
351}
ECL/KLM clustering event level information:
void setNECLShowersRejectedBWD(uint8_t const nECLShowersRejectedBWD)
ECL: setter for the number of photon ECLShowers that are not stored as ECLClusters,...
void setNKLMDigitsMultiStripBWD(uint16_t const nKLMDigitsMultiStripBWD)
KLM: setter for the number of multi-strip KLMDigits, backward endcap.
void setNECLCalDigitsOutOfTimeBWD(uint16_t const nECLCalDigitsOutOfTimeBWD)
ECL: setter for the number of ECLCalDigits that are out of time and above some MeV,...
uint16_t getNECLCalDigitsOutOfTimeBWD() const
ECL: getter for the number of ECLCalDigits that are out of time and above some MeV (scale ~linearly w...
uint16_t getNECLCalDigitsOutOfTimeFWD() const
ECL: getter for the number of ECLCalDigits that are out of time and above some MeV (scale ~linearly w...
uint8_t getNECLShowersRejectedFWD() const
ECL: getter for the number of photon ECLShowers that are not stored as ECLClusters,...
void setNECLCalDigitsOutOfTimeFWD(uint16_t const nECLCalDigitsOutOfTimeFWD)
ECL: setter for the number of ECLCalDigits that are out of time and above some MeV,...
uint8_t getNECLShowersRejectedBarrel() const
ECL: getter for the number of photon ECLShowers that are not stored as ECLClusters,...
uint16_t getNKLMDigitsMultiStripBarrel() const
KLM: getter for the number of multi-strip KLMDigits, barrel.
uint16_t getNECLShowersFWD() const
ECL: getter for the number of ECLShowers with photon hypothesis, forward endcap.
uint16_t getNKLMDigitsMultiStripFWD() const
KLM: getter for the number of multi-strip KLMDigits, forward endcap.
void setNECLShowersRejectedBarrel(uint8_t const nECLShowersRejectedBarrel)
ECL: setter for the number of photon ECLShowers that are not stored as ECLClusters,...
uint16_t m_nECLCalDigitsOutOfTimeFWD
ECL: number of out of time, energetic ECLCalDigits, forward endcap.
void setNECLShowersRejectedFWD(uint8_t const nECLShowersRejectedFWD)
ECL: setter for the number of photon ECLShowers that are not stored as ECLClusters,...
uint16_t m_nECLLocalMaximumsBarrel
ECL: number of ECLLocalMaximums, barrel.
void setNECLShowersBWD(uint16_t const nECLShowersBWD)
ECL: setter for the number of ECLShowers, backward endcap.
uint8_t m_nECLShowersRejectedBWD
ECL: number of photon ECLShowers that are rejected before storing to mdst (max.
uint16_t getNECLTriggerCellsBarrel() const
ECL: getter for the number of trigger cells (above 100 MeV), barrel.
uint16_t m_nECLTriggerCellsBarrel
ECL: number of ECL trigger cells, barrel.
void setNECLLocalMaximumsBarrel(uint16_t const nECLLocalMaximumsBarrel)
ECL: setter for the number of ECLLocalMaximums, barrel.
uint8_t getNECLShowersRejected() const
ECL: setter for the number of photon ECLShowers that are not stored as ECLClusters,...
uint16_t getNKLMDigitsMultiStripBWD() const
KLM: getter for the number of multi-strip KLMDigits, backward endcap.
uint16_t getNECLShowersBarrel() const
ECL: getter for the number of ECLShowers with photon hypothesis, barrel.
uint8_t getNECLShowersRejectedBWD() const
ECL: getter for the number of photon ECLShowers that are not stored as ECLClusters,...
void setNECLLocalMaximumsFWD(uint16_t const nECLLocalMaximumsFWD)
ECL: setter for the number of ECLLocalMaximums, forward endcap.
uint16_t m_nECLShowersBarrel
ECL: number of ECLShowers, barrel.
uint16_t m_nECLLocalMaximumsFWD
ECL: number of ECLLocalMaximums, forward endcap.
uint16_t getNECLTriggerCellsBWD() const
ECL: getter for the number of trigger cells (above 100 MeV), backward endcap.
uint16_t m_nKLMDigitsMultiStripBWD
KLM: number of multi-strip KLMDigits, backward endcap.
void setNKLMDigitsMultiStripBarrel(uint16_t const nKLMDigitsMultiStripBarrel)
KLM: setter for the number of multi-strip KLMDigits, barrel.
uint16_t getNECLLocalMaximums() const
ECL: getter for the number of ECLLocalMaximums, full ECL.
uint16_t m_nECLShowersBWD
ECL: number of ECLShowers, backward endcap.
uint16_t m_nKLMDigitsMultiStripBarrel
KLM: number of multi-strip KLMDigits, barrel.
void setNECLTriggerCellsFWD(uint16_t const nECLTriggerCellsFWD)
ECL: setter for the number of trigger cells, forward endcap.
void setNKLMDigitsMultiStripFWD(uint16_t const nKLMDigitsMultiStripFWD)
KLM: setter for the number of multi-strip KLMDigits, forward endcap.
uint16_t m_nECLLocalMaximumsBWD
ECL: number of ECLLocalMaximums, backward endcap.
void setNECLShowersBarrel(uint16_t const nECLShowersBarrel)
ECL: setter for the number of ECLShowers, barrel.
uint16_t getNECLLocalMaximumsBWD() const
ECL: getter for the number of ECLLocalMaximums, backward endcap.
void setNECLTriggerCellsBWD(uint16_t const nECLTriggerCellsBWD)
ECL: setter for the number of trigger cells, backward endcap.
uint8_t m_nECLShowersRejectedBarrel
ECL: cumber of photon ECLShowers that are rejected before storing to mdst (max.
EventLevelClusteringInfo()=default
Default constructor.
uint16_t getNECLTriggerCellsFWD() const
ECL: getter for the number of trigger cells (above 100 MeV), forward endcap.
uint16_t getNECLShowers() const
ECL: getter for the number of ECLShowers with photon hypothesis, entire ECL.
uint16_t getNECLCalDigitsOutOfTime() const
ECL: getter for the number of ECLCalDigits that are out of time and above some MeV (scale ~linearly w...
uint8_t m_nECLShowersRejectedFWD
ECL: number of photon ECLShowers that are rejected before storing to mdst (max.
uint16_t getNECLLocalMaximumsBarrel() const
ECL: getter for the number of ECLLocalMaximums, barrel.
uint16_t getNKLMDigitsMultiStrip() const
KLM: getter for the number of multi-strip KLMDigits, entire KLM.
uint16_t getNECLTriggerCells() const
ECL: getter for the number of trigger cells (above 100 MeV), full ECL.
void setNECLLocalMaximumsBWD(uint16_t const nECLLocalMaximumsBWD)
ECL: setter for the number of ECLLocalMaximums, backward endcap.
void setNECLTriggerCellsBarrel(uint16_t const nECLTriggerCellsBarrel)
ECL: setter for the number of trigger cells, barrel.
uint16_t m_nECLTriggerCellsBWD
ECL: number of ECL trigger cells, backward endcap.
uint16_t getNECLShowersBWD() const
ECL: getter for the number of ECLShowers with photon hypothesis, backward endcap.
uint16_t m_nECLCalDigitsOutOfTimeBarrel
ECL: number of out of time, energetic ECLCalDigits, barrel.
uint16_t getNECLLocalMaximumsFWD() const
ECL: getter for the number of ECLLocalMaximums, forward endcap.
void setNECLCalDigitsOutOfTimeBarrel(uint16_t const nECLCalDigitsOutOfTimeBarrel)
ECL: setter for the number of ECLCalDigits that are out of time and above some MeV,...
uint16_t getNECLCalDigitsOutOfTimeBarrel() const
ECL: getter for the number of ECLCalDigits that are out of time and above some MeV (scale ~linearly w...
void setNECLShowersFWD(uint16_t const nECLShowersFWD)
ECL: setter for the number of ECLShowers, forward endcap.
uint16_t m_nECLTriggerCellsFWD
ECL: number of ECL trigger cells, forward endcap.
uint16_t m_nECLShowersFWD
ECL: number of ECLShowers, forward endcap.
ClassDef(EventLevelClusteringInfo, 4)
Class definition.
uint16_t m_nECLCalDigitsOutOfTimeBWD
ECL: number of out of time, energetic ECLCalDigits, backward endcap.
uint16_t m_nKLMDigitsMultiStripFWD
KLM: number of multi-strip KLMDigits, forward endcap.
Abstract base class for different kinds of events.