Skip to content

Commit b6fc150

Browse files
authored
[ALICE3] fix fasttracker initialization in otf-tracker (#17851)
1 parent 4d2113b commit b6fc150

1 file changed

Lines changed: 3 additions & 1 deletion

File tree

ALICE3/TableProducer/OTF/onTheFlyTracker.cxx

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -531,7 +531,9 @@ struct OnTheFlyTracker {
531531
getHist<TH1>(histPath + "hVtxTrials")->GetXaxis()->SetBinLabel(2, "Succeeded");
532532
}
533533

534-
if (enableSecondarySmearing) {
534+
if (enableSecondarySmearing ||
535+
fastPrimaryTrackerSettings.fastTrackPrimaries ||
536+
fastPrimaryTrackerSettings.fastTrackShortLivedParticles) {
535537
fastTracker.emplace_back(std::make_unique<o2::fastsim::FastTracker>());
536538
fastTracker[icfg]->SetMagneticField(mMagneticField);
537539
fastTracker[icfg]->SetApplyZacceptance(fastTrackerSettings.applyZacceptance);

0 commit comments

Comments
 (0)