Skip to content

Commit c3c7cb4

Browse files
authored
[PWGDQ] fix time difference computation for match attempts in QA task (#16930)
1 parent f06e1ba commit c3c7cb4

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

PWGDQ/Tasks/qaMatching.cxx

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2014,8 +2014,8 @@ struct QaMatching {
20142014

20152015
int64_t deltaBc = bcMft - bcMch;
20162016
double deltaBcNS = o2::constants::lhc::LHCBunchSpacingNS * deltaBc;
2017-
double deltaTrackTime = mftTrackInfo.time - mftTrackInfo.time + deltaBcNS;
2018-
double trackTimeResTot = mftTrackInfo.timeRes + mftTrackInfo.timeRes;
2017+
double deltaTrackTime = mftTrackInfo.time - mchTrackInfo.time + deltaBcNS;
2018+
double trackTimeResTot = mftTrackInfo.timeRes + mchTrackInfo.timeRes;
20192019

20202020
if (std::fabs(deltaTrackTime) > trackTimeResTot) {
20212021
continue;

0 commit comments

Comments
 (0)