From af5e5aca200fd9f9571eef0d1a585d1bf9caf422 Mon Sep 17 00:00:00 2001 From: ALICE Builder Date: Wed, 17 Jan 2024 18:39:35 +0100 Subject: [PATCH] Please consider the following formatting changes (#220) --- PWGLF/TableProducer/lambdakzerobuilder.cxx | 16 ++++++++-------- 1 file changed, 8 insertions(+), 8 deletions(-) diff --git a/PWGLF/TableProducer/lambdakzerobuilder.cxx b/PWGLF/TableProducer/lambdakzerobuilder.cxx index fb2d7da4e22..3de7dc207ce 100644 --- a/PWGLF/TableProducer/lambdakzerobuilder.cxx +++ b/PWGLF/TableProducer/lambdakzerobuilder.cxx @@ -1001,7 +1001,7 @@ struct lambdakzeroPreselector { // crossed rows conditionals bool posRowsOK = lPosTrack.tpcNClsCrossedRows() >= dTPCNCrossedRows; bool negRowsOK = lNegTrack.tpcNClsCrossedRows() >= dTPCNCrossedRows; - + // check track explicitly for absence of TPC bool posITSonly = !lPosTrack.hasTPC(); bool negITSonly = !lNegTrack.hasTPC(); @@ -1010,20 +1010,20 @@ struct lambdakzeroPreselector { if (((bitcheck(maskElement, bitdEdxGamma) || bitcheck(maskElement, bitdEdxK0Short)) || passdEdx) && (posRowsOK && negRowsOK)) bitset(maskElement, bitTrackQuality); // With baryons in decay - if ((bitcheck(maskElement, bitdEdxLambda) || passdEdx) && - (posRowsOK && (negRowsOK || dPreselectOnlyBaryons)) && + if ((bitcheck(maskElement, bitdEdxLambda) || passdEdx) && + (posRowsOK && (negRowsOK || dPreselectOnlyBaryons)) && (!forceITSOnlyMesons || negITSonly)) bitset(maskElement, bitTrackQuality); - if ((bitcheck(maskElement, bitdEdxAntiLambda) || passdEdx) && - (negRowsOK && (posRowsOK || dPreselectOnlyBaryons)) && + if ((bitcheck(maskElement, bitdEdxAntiLambda) || passdEdx) && + (negRowsOK && (posRowsOK || dPreselectOnlyBaryons)) && (!forceITSOnlyMesons || posITSonly)) bitset(maskElement, bitTrackQuality); if ((bitcheck(maskElement, bitdEdxHypertriton) || passdEdx) && - (posRowsOK && (negRowsOK || dPreselectOnlyBaryons)) && + (posRowsOK && (negRowsOK || dPreselectOnlyBaryons)) && (!forceITSOnlyMesons || negITSonly)) bitset(maskElement, bitTrackQuality); - if ((bitcheck(maskElement, bitdEdxAntiHypertriton) || passdEdx) && - (negRowsOK && (posRowsOK || dPreselectOnlyBaryons)) && + if ((bitcheck(maskElement, bitdEdxAntiHypertriton) || passdEdx) && + (negRowsOK && (posRowsOK || dPreselectOnlyBaryons)) && (!forceITSOnlyMesons || posITSonly)) bitset(maskElement, bitTrackQuality); }