Skip to content

Commit

Permalink
fix photon check
Browse files Browse the repository at this point in the history
  • Loading branch information
f3sch committed Nov 25, 2023
1 parent 708e852 commit 56a80cb
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 @@ -645,7 +645,7 @@ bool SVertexer::checkV0(const TrackCand& seedP, const TrackCand& seedN, int iP,

bool goodHyp = false;
std::array<bool, NHypV0> hypCheckStatus{};
for (int ipid = 0; (ipid < ((usesTPCOnly) ? NHypV0 : (Photon + 1))) && mSVParams->checkV0Hypothesis; ipid++) {
for (int ipid = 0; (ipid < ((usesTPCOnly) ? (Photon + 1) : NHypV0)) && mSVParams->checkV0Hypothesis; ipid++) {
if (mV0Hyps[ipid].check(p2Pos, p2Neg, p2V0, ptV0)) {
goodHyp = hypCheckStatus[ipid] = true;
}
Expand Down

0 comments on commit 56a80cb

Please sign in to comment.