From 5aa27d89c00d88f5439a36825afed02419dcd1f8 Mon Sep 17 00:00:00 2001 From: Daniel Wielanek Date: Tue, 3 Dec 2024 23:28:30 +0100 Subject: [PATCH] Additional error flag added. --- analysis/base/EventAna.cxx | 3 +++ 1 file changed, 3 insertions(+) diff --git a/analysis/base/EventAna.cxx b/analysis/base/EventAna.cxx index b4506ed..905f665 100644 --- a/analysis/base/EventAna.cxx +++ b/analysis/base/EventAna.cxx @@ -387,6 +387,9 @@ namespace Hal { formatManager->SetFormat(event->GetNewEvent(), GetTaskID(), EFormatDepth::kBuffered, kTRUE); } return Task::EInitFlag::kSUCCESS; + } else { + Cout::PrintInfo("L1 format from reader has not been found", EInfo::kError); + return Task::EInitFlag::kFATAL; } } else { if (TESTBIT(fFormatOption, eBitFormat::kDirectAcesss)) { // direct access to data by classname.