Skip to content

Commit

Permalink
Additional error flag added.
Browse files Browse the repository at this point in the history
  • Loading branch information
DanielWielanek committed Dec 3, 2024
1 parent e9a2647 commit 5aa27d8
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions analysis/base/EventAna.cxx
Original file line number Diff line number Diff line change
Expand Up @@ -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.
Expand Down

0 comments on commit 5aa27d8

Please sign in to comment.