Skip to content

Commit 411c131

Browse files
author
Sawan Sawan
committed
correction in PID check
1 parent 3eb2864 commit 411c131

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

PWGLF/Tasks/Resonances/kstarqa.cxx

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1761,10 +1761,10 @@ struct Kstarqa {
17611761
// if (!(track1PDG == PDG_t::kKPlus && track2PDG == PDG_t::kPiPlus)) {
17621762
// continue;
17631763
// }
1764-
if (selectionConfig.isPDGCheckMC && ((track1PDG != PDG_t::kKPlus) || (track1PDG != PDG_t::kPiPlus))) {
1764+
if (selectionConfig.isPDGCheckMC && (track1PDG != PDG_t::kKPlus) && (track1PDG != PDG_t::kPiPlus)) {
17651765
continue;
17661766
}
1767-
if (selectionConfig.isPDGCheckMC && ((track2PDG != PDG_t::kKPlus) || (track2PDG != PDG_t::kPiPlus))) {
1767+
if (selectionConfig.isPDGCheckMC && (track2PDG != PDG_t::kKPlus) && (track2PDG != PDG_t::kPiPlus)) {
17681768
continue;
17691769
}
17701770
rEventSelection.fill(HIST("recMCparticles"), 6.5);

0 commit comments

Comments
 (0)