 |
Belle II Software
release-05-01-25
|
13 #include <framework/logging/Logger.h>
22 class ECLTRGInformation :
public TObject {
27 static constexpr
int c_nTCs = 576;
45 m_evtTiming(std::numeric_limits<float>::quiet_NaN()),
49 for (
unsigned idx = 0; idx <=
c_nTCs; idx++) {
50 m_timingTC[idx] = std::numeric_limits<float>::quiet_NaN();
52 m_hitWinTC[idx] = std::numeric_limits<int>::quiet_NaN();
59 if (tcid > 0 and tcid <=
c_nTCs + 1) {
62 B2ERROR(
"TC " << tcid <<
" does not exist.");
67 void setPhiIdTC(
const int& tcid,
const int& tcphiid)
69 if (tcid > 0 and tcid <
c_nTCs + 1) {
72 B2ERROR(
"TC " << tcid <<
" does not exist.");
77 void setEnergyTC(
const int& tcid,
const float& tcenergy)
79 if (tcid >= 1 and tcid <
c_nTCs + 1) {
82 B2ERROR(
"TC " << tcid <<
" does not exist.");
87 void setTimingTC(
const int& tcid,
const float& tctiming)
89 if (tcid >= 1 and tcid <
c_nTCs + 1) {
92 B2ERROR(
"TC " << tcid <<
" does not exist.");
100 void setRevoGDLTC(
const int& tcid,
const float& tcrevotrg)
102 if (tcid >= 1 and tcid <
c_nTCs + 1) {
105 B2ERROR(
"TC " << tcid <<
" does not exist.");
110 void setRevoFAMTC(
const int& tcid,
const float& tcrevofam)
112 if (tcid >= 1 and tcid <
c_nTCs + 1) {
115 B2ERROR(
"TC " << tcid <<
" does not exist.");
120 void setHitWinTC(
const int& tcid,
const int& hitwin)
122 if (tcid >= 1 and tcid <
c_nTCs + 1) {
125 B2ERROR(
"TC " << tcid <<
" does not exist.");
132 if (tcid >= 1 and tcid <
c_nTCs + 1) {
135 B2ERROR(
"TC " << tcid <<
" does not exist.");
143 if (tcid > 0 and tcid <
c_nTCs + 1) {
146 B2ERROR(
"TC " << tcid <<
" does not exist.");
154 if (tcid > 0 and tcid <
c_nTCs + 1) {
157 B2ERROR(
"TC " << tcid <<
" does not exist.");
165 if (tcid > 0 and tcid <
c_nTCs + 1) {
168 B2ERROR(
"TC " << tcid <<
" does not exist.");
176 if (tcid > 0 and tcid <
c_nTCs + 1) {
179 B2ERROR(
"TC " << tcid <<
" does not exist.");
187 if (tcid > 0 and tcid <
c_nTCs + 1) {
190 B2ERROR(
"TC " << tcid <<
" does not exist.");
198 if (tcid > 0 and tcid <
c_nTCs + 1) {
201 B2ERROR(
"TC " << tcid <<
" does not exist.");
209 if (tcid > 0 and tcid <
c_nTCs + 1) {
212 B2ERROR(
"TC " << tcid <<
" does not exist.");
219 if (tcid > 0 and tcid <
c_nTCs + 1) {
222 B2ERROR(
"TC " << tcid <<
" does not exist.");
230 if (tcid > 0 and tcid <
c_nTCs + 1) {
233 B2ERROR(
"TC " << tcid <<
" does not exist.");
240 if (tcid > 0 and tcid <
c_nTCs + 1) {
243 B2ERROR(
"TC " << tcid <<
" does not exist.");
Abstract base class for different kinds of events.