Skip to content

Commit

Permalink
V0fCCov cursor fill fix (#4228)
Browse files Browse the repository at this point in the history
* V0fCCov cursor fill fix

* Small bugfix

* Please consider the following formatting changes (#204)

* MegaLinter fixes (#205)

Co-authored-by: ddobrigk <[email protected]>

---------

Co-authored-by: ALICE Builder <[email protected]>
  • Loading branch information
ddobrigk and alibuild authored Dec 22, 2023
1 parent 6167c34 commit b7ea22e
Showing 1 changed file with 7 additions and 1 deletion.
8 changes: 7 additions & 1 deletion PWGLF/TableProducer/lambdakzerobuilder.cxx
Original file line number Diff line number Diff line change
Expand Up @@ -845,7 +845,13 @@ struct lambdakzeroBuilder {
for (int i = 0; i < 6; i++) {
momentumCovariance[i] = covTpositive[MomInd[i]] + covTnegative[MomInd[i]];
}
v0covs(positionCovariance, momentumCovariance);
if (V0.v0Type() > 0) {
if (V0.v0Type() > 1 && !storePhotonCandidates)
continue;
v0covs(positionCovariance, momentumCovariance);
} else {
v0fccovs(positionCovariance, momentumCovariance);
}
}
}
// En masse histo filling at end of process call
Expand Down

0 comments on commit b7ea22e

Please sign in to comment.