We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent f3a347c commit 450d5fbCopy full SHA for 450d5fb
ALICE3/TableProducer/OTF/onTheFlyTofPid.cxx
@@ -422,9 +422,10 @@ struct OnTheFlyTofPid {
422
sumw += w;
423
}
424
425
- if (sumw <= 0. || tracks.size() <= 1 || std::sqrt(1. / sumw) > 200.f) {
+ static constexpr float kMaxEventTimeResolution = 200.f;
426
+ if (sumw <= 0. || tracks.size() <= 1 || std::sqrt(1. / sumw) > kMaxEventTimeResolution) {
427
tzero[0] = 0.; // [ps]
- tzero[1] = 200.f; // [ps]
428
+ tzero[1] = kMaxEventTimeResolution; // [ps]
429
return false;
430
431
0 commit comments