Skip to content

Commit d186ee8

Browse files
committed
fix table filling in the otf-tracker
1 parent 1773f41 commit d186ee8

1 file changed

Lines changed: 7 additions & 0 deletions

File tree

ALICE3/TableProducer/OTF/onTheFlyTracker.cxx

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1731,6 +1731,7 @@ struct OnTheFlyTracker {
17311731
trackParCov.getSigmaTgl2(), trackParCov.getSigma1PtY(), trackParCov.getSigma1PtZ(), trackParCov.getSigma1PtSnp(), trackParCov.getSigma1PtTgl(),
17321732
trackParCov.getSigma1Pt2());
17331733
tableMcTrackLabels(trackParCov.mcLabel, 0);
1734+
tableMcTrackWithDauLabels(trackParCov.mcLabel, 0);
17341735
tableTracksExtraA3(trackParCov.nSiliconHits, trackParCov.nTPCHits, trackParCov.trackType);
17351736

17361737
// populate extra tables if required to do so
@@ -1955,6 +1956,12 @@ struct OnTheFlyTracker {
19551956
const bool longLivedToBeHandled = std::find(longLivedHandledPDGs.begin(), longLivedHandledPDGs.end(), std::abs(mcParticle.pdgCode())) != longLivedHandledPDGs.end();
19561957
const bool nucleiToBeHandled = std::find(nucleiPDGs.begin(), nucleiPDGs.end(), std::abs(mcParticle.pdgCode())) != nucleiPDGs.end();
19571958
const bool pdgsToBeHandled = longLivedToBeHandled || (enableNucleiSmearing && nucleiToBeHandled);
1959+
1960+
o2::upgrade::OTFParticle otfParticle(mcParticle);
1961+
if (otfParticle.hasNaN()) {
1962+
continue;
1963+
}
1964+
19581965
if (!pdgsToBeHandled) {
19591966
continue;
19601967
}

0 commit comments

Comments
 (0)