Skip to content

Commit

Permalink
Fix parenthesis bug
Browse files Browse the repository at this point in the history
...because (A||B&&C) != (A||B)&&C and I misplaced the parenthesis somehow. Fixed!
  • Loading branch information
ddobrigk authored and shahor02 committed Nov 27, 2023
1 parent aa11cfc commit aba6a47
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Detectors/Vertexing/src/SVertexer.cxx
Original file line number Diff line number Diff line change
Expand Up @@ -611,7 +611,7 @@ bool SVertexer::checkV0(const TrackCand& seedP, const TrackCand& seedN, int iP,
if (mV0Hyps[Lambda].checkTight(p2Pos, p2Neg, p2V0, ptV0) && (!mSVParams->mRequireTPCforCascBaryons || seedP.hasTPC) && seedP.compatibleProton) {
goodLamForCascade = true;
}
if (mV0Hyps[AntiLambda].checkTight(p2Pos, p2Neg, p2V0, ptV0) && (!mSVParams->mRequireTPCforCascBaryons || seedN.hasTPC && seedN.compatibleProton)) {
if (mV0Hyps[AntiLambda].checkTight(p2Pos, p2Neg, p2V0, ptV0) && (!mSVParams->mRequireTPCforCascBaryons || seedN.hasTPC) && seedN.compatibleProton) {
goodALamForCascade = true;
}
}
Expand Down

0 comments on commit aba6a47

Please sign in to comment.