You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
constdouble energy = sqrt((massZ * massZ) + (extraInfoHolder.tofExpMom * extraInfoHolder.tofExpMom));
341
+
constdouble exp = extraInfoHolder.length * energy / (cSpeed * extraInfoHolder.tofExpMom);
342
+
extraInfoHolder.trackTime = static_cast<float>((tofMatch.getSignal() - exp) * 1e-3 - interactionTime); // tof time in \mus, FIXME: account for time of flight to R TOF
343
+
extraInfoHolder.trackTimeRes = 200e-3; // FIXME: calculate actual resolution (if possible?)
345
344
}
346
345
if (src == GIndex::Source::TPCTRD || src == GIndex::Source::ITSTPCTRD) {
0 commit comments