Skip to content

Commit 726d76e

Browse files
author
jimun_lee
committed
[PWGLF] Fixed the TOF cutting shape of KstarInOO.cxx
1 parent 61c672a commit 726d76e

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

PWGLF/Tasks/Resonances/kstarInOO.cxx

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -360,7 +360,7 @@ struct kstarInOO {
360360
tofpid = 999;
361361
}
362362
}
363-
if (std::sqrt(tpcpid * tpcpid + tofpid * tofpid) < cfgTrackCircleValue) {
363+
if (tpcpid * tpcpid + tofpid * tofpid < cfgTrackCircleValue) {
364364
tpcPIDPassed = true;
365365
tofPIDPassed = true;
366366
}
@@ -416,7 +416,7 @@ struct kstarInOO {
416416
tofpid = 999;
417417
}
418418
}
419-
if (std::sqrt(tpcpid * tpcpid + tofpid * tofpid) < cfgTrackCircleValue) {
419+
if (tpcpid * tpcpid + tofpid * tofpid < cfgTrackCircleValue) {
420420
tpcPIDPassed = true;
421421
tofPIDPassed = true;
422422
}

0 commit comments

Comments
 (0)