Skip to content

Catch error on truncated events

Eric Torrence requested to merge torrence/calypso:truncated_events into master

Catch error during file reading that causes reco to crash on truncated events at the end of the file.

Code will now catch the ES_OutOfFileBoundary error and return a NULL raw event pointer, which will be ignored. As these truncated events are at the end of the file, the reader will not try to read any further events, and the job will complete normally.

This fix is needed to reconstruct some files from the EHN1 testbeam data.

Fix for run number is also showing up again...

Merge request reports