Skip to content

Commit 9a3b64d

Browse files
authored
Fix condition for ITS and TPC refit checks
1 parent 6553b66 commit 9a3b64d

1 file changed

Lines changed: 1 addition & 2 deletions

File tree

PWGLF/Tasks/Resonances/kstarqa.cxx

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -597,8 +597,7 @@ struct Kstarqa {
597597
return false;
598598

599599
if (configGp.isITSTPCRefit) {
600-
if (!(candidate.flags() & o2::aod::track::ITSrefit) ||
601-
!(candidate.flags() & o2::aod::track::TPCrefit)) {
600+
if (!(o2::aod::track::ITSrefit && o2::aod::track::TPCrefit)) {
602601
return false;
603602
}
604603
}

0 commit comments

Comments
 (0)