Skip to content

Commit da6b536

Browse files
authored
[PWGLF] Include extra phi cut condition to INEL > 0 track validation (#18029)
1 parent 8f09b7b commit da6b536

1 file changed

Lines changed: 3 additions & 0 deletions

File tree

‎PWGLF/Tasks/GlobalEventProperties/studyPnch.cxx‎

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -253,6 +253,9 @@ struct StudyPnch {
253253
if (std::abs(track.eta()) >= 1.0f) {
254254
return false;
255255
}
256+
if (isApplyExtraPhiCut && ((track.phi() > extraphicut1 && track.phi() < extraphicut2) || track.phi() <= extraphicut3 || track.phi() >= extraphicut4)) {
257+
return false;
258+
}
256259
return true;
257260
}
258261

0 commit comments

Comments
 (0)