Skip to content

Commit 6bb91ee

Browse files
authored
Simplify proton track sign check
Removed unnecessary passDCA check for proton tracks.
1 parent cf9c772 commit 6bb91ee

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

PWGCF/TwoParticleCorrelations/Tasks/lambdaProtonBalanceFunction.cxx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2247,7 +2247,7 @@ struct LambdaProtonBalanceFunction {
22472247
// ─────────────────────────────────────────────────────────────────
22482248

22492249
// FIX-4: ProtonCounts_byPID_Check — protons only (sign > 0 guard added)
2250-
if (passDCA && trk.sign() > 0) {
2250+
if (trk.sign() > 0) {
22512251
const float pt = trk.pt();
22522252
const float nsTPC = std::abs(trk.tpcNSigmaPr());
22532253

0 commit comments

Comments
 (0)