From 00aad41ea5c46c0f69fbcac00b675978bb02bac4 Mon Sep 17 00:00:00 2001 From: Giulio Eulisse <10544+ktf@users.noreply.github.com> Date: Mon, 12 Aug 2024 18:22:35 +0200 Subject: [PATCH] Protect against missing vertexer (Cosmics) --- Detectors/ITSMFT/ITS/tracking/src/TrackingInterface.cxx | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Detectors/ITSMFT/ITS/tracking/src/TrackingInterface.cxx b/Detectors/ITSMFT/ITS/tracking/src/TrackingInterface.cxx index fd4c5bdc56486..3a2016897e8b7 100644 --- a/Detectors/ITSMFT/ITS/tracking/src/TrackingInterface.cxx +++ b/Detectors/ITSMFT/ITS/tracking/src/TrackingInterface.cxx @@ -239,7 +239,7 @@ void ITSTrackingInterface::run(framework::ProcessingContext& pc) LOG(info) << fmt::format(" - Vertex seeding total elapsed time: {} ms for {} ({} + {}) vertices found in {}/{} ROFs", vertexerElapsedTime, mTimeFrame->getPrimaryVerticesNum(), - mTimeFrame->getTotVertIteration()[0], + mTimeFrame->getTotVertIteration().empty() == false ? mTimeFrame->getTotVertIteration()[0] : 0, o2::its::VertexerParamConfig::Instance().nIterations > 1 ? mTimeFrame->getTotVertIteration()[1] : 0, rofspan.size() - mTimeFrame->getNoVertexROF(), rofspan.size()); @@ -381,4 +381,4 @@ void ITSTrackingInterface::setTraitsFromProvider(VertexerTraits* vertexerTraits, template void ITSTrackingInterface::run(framework::ProcessingContext& pc); template void ITSTrackingInterface::run(framework::ProcessingContext& pc); } // namespace its -} // namespace o2 \ No newline at end of file +} // namespace o2