File tree Expand file tree Collapse file tree 1 file changed +3
-3
lines changed
PWGLF/TableProducer/Strangeness Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -374,9 +374,9 @@ struct strangenesstofpid {
374374 float timeKaonFinal = ltIntegral.getTOF (o2::track::PID::Kaon);
375375 float timePionFinal = ltIntegral.getTOF (o2::track::PID::Pion);
376376 float fraction = (tofPosition - segmentedR)/(segmentedRFinal-segmentedR+1e-6 ); // proportional fraction
377- timeProton = currentTimeProton + (timeProtonFinal-timeProton )*fraction;
378- timeKaon = currentTimeKaon + (timeKaonFinal-timeKaon )*fraction;
379- timePion = currentTimePion + (timePionFinal-timePion )*fraction;
377+ timeProton = currentTimeProton + (timeProtonFinal-currentTimeProton )*fraction;
378+ timeKaon = currentTimeKaon + (timeKaonFinal-currentTimeKaon )*fraction;
379+ timePion = currentTimePion + (timePionFinal-currentTimePion )*fraction;
380380 histos.fill (HIST (" hTOFPositionFinal" ), previousX+fraction*(xyz[0 ]-previousX), previousY+fraction*(xyz[1 ]-previousY)); // for debugging purposes
381381 return ; // get out of the entire function and return (don't just break)
382382 }
You can’t perform that action at this time.
0 commit comments