From 2e536b8b130acf37e51a045622fe0e6c51304718 Mon Sep 17 00:00:00 2001 From: Felix Schlepper Date: Mon, 30 Oct 2023 16:17:44 +0100 Subject: [PATCH] fixup --- Detectors/Vertexing/src/SVertexer.cxx | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/Detectors/Vertexing/src/SVertexer.cxx b/Detectors/Vertexing/src/SVertexer.cxx index 6c8bb57894b2a..f483ea973e262 100644 --- a/Detectors/Vertexing/src/SVertexer.cxx +++ b/Detectors/Vertexing/src/SVertexer.cxx @@ -777,7 +777,8 @@ bool SVertexer::checkV0(const TrackCand& seedP, const TrackCand& seedN, int iP, continue; } if (!candFound) { - if (mCounterV0.inc(CHECKV0::NEWV0, pv, pVtx, pVtxLbl, fitterV0.getPCACandidate(cand), seedP, seedN, lbl0, lbl1, ok, mD0V0Map, mD1V0Map, mcReader, mDebugStream, true, check, fitterV0.isPropagationFailure(), fitterV0.getNIterations(), cosPA, dca2)) { + mCounterV0.inc(CHECKV0::NEWV0, pv, pVtx, pVtxLbl, fitterV0.getPCACandidate(cand), seedP, seedN, lbl0, lbl1, ok, mD0V0Map, mD1V0Map, mcReader, mDebugStream, true, check, fitterV0.isPropagationFailure(), fitterV0.getNIterations(), cosPA, dca2); + if (check || true) { new (&v0new) V0(v0XYZ, pV0, fitterV0.calcPCACovMatrixFlat(cand), trPProp, trNProp); new (&v0Idxnew) V0Index(-1, seedP.gid, seedN.gid); v0new.setDCA(fitterV0.getChi2AtPCACandidate(cand));