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
// ===| variables required for cutting and filling |===
133
133
constauto& dEdx = track.getdEdx();
134
-
constautomagCharge = track.getAbsCharge();
135
-
constauto pTPC = track.getP() * magCharge; // charge magnitude is divided getP() via getPtInv therefore magCharge is required to be multiplied [fix for He3]
134
+
constautoabsCharge = track.getAbsCharge();
135
+
constauto pTPC = (absCharge > 0) ? (track.getP() / absCharge) : track.getP(); // charge magnitude is divided getP() via getPtInv for pTPC/Z [fix for He3]
0 commit comments