Skip to content

Commit ddd27c2

Browse files
committed
fasttracker should be initialized whenever it is used
1 parent bcb2527 commit ddd27c2

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)