Skip to content

Commit aba6a47

Browse files
ddobrigkshahor02
authored andcommitted
Fix parenthesis bug
...because (A||B&&C) != (A||B)&&C and I misplaced the parenthesis somehow. Fixed!
1 parent aa11cfc commit aba6a47

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

Detectors/Vertexing/src/SVertexer.cxx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -611,7 +611,7 @@ bool SVertexer::checkV0(const TrackCand& seedP, const TrackCand& seedN, int iP,
611611
if (mV0Hyps[Lambda].checkTight(p2Pos, p2Neg, p2V0, ptV0) && (!mSVParams->mRequireTPCforCascBaryons || seedP.hasTPC) && seedP.compatibleProton) {
612612
goodLamForCascade = true;
613613
}
614-
if (mV0Hyps[AntiLambda].checkTight(p2Pos, p2Neg, p2V0, ptV0) && (!mSVParams->mRequireTPCforCascBaryons || seedN.hasTPC && seedN.compatibleProton)) {
614+
if (mV0Hyps[AntiLambda].checkTight(p2Pos, p2Neg, p2V0, ptV0) && (!mSVParams->mRequireTPCforCascBaryons || seedN.hasTPC) && seedN.compatibleProton) {
615615
goodALamForCascade = true;
616616
}
617617
}

0 commit comments

Comments
 (0)