Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Please consider the following formatting changes to #4355 #220

Merged
merged 1 commit into from
Jan 17, 2024
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
16 changes: 8 additions & 8 deletions PWGLF/TableProducer/lambdakzerobuilder.cxx
Original file line number Diff line number Diff line change
Expand Up @@ -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();
Expand All @@ -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);
}
Expand Down
Loading