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
float resX = deltaPos[iPropagation][0] - (indices[4] - detId[iPropagation][4]) * Geo::XPAD + posCorr[0]; // readjusting the residuals due to the fact that the propagation fell in a pad that was not exactly the one of the cluster
float chi2 = res; // TODO: take into account also the time!
1038
+
float chi2 = TMath::Sqrt(resX * resX * errXinv2 + resZ * resZ * errZinv2); // TODO: take into account also the time!
1032
1039
1033
1040
if (res < mSpaceTolerance) { // matching ok!
1034
1041
LOG(debug) << "MATCHING FOUND: We have a match! between track " << mTracksSectIndexCache[type][sec][itrk] << " and TOF cluster " << mTOFClusSectIndexCache[indices[0]][itof];
float chi2 = mIsCosmics ? resX : res; // TODO: take into account also the time!
1378
+
float chi2 = mIsCosmics ? resX : TMath::Sqrt(resX * resX * errXinv2 + resZ * resZ * errZinv2); // TODO: take into account also the time!
1364
1379
1365
1380
if (res < mSpaceTolerance) { // matching ok!
1366
1381
LOG(debug) << "MATCHING FOUND: We have a match! between track " << mTracksSectIndexCache[trkType::UNCONS][sec][itrk] << " and TOF cluster " << mTOFClusSectIndexCache[indices[0]][itof];
0 commit comments