Skip to content

Adding nonEmpty file check in functions to fix memory crash

Revital Kopeliansky requested to merge rkopelia/athena:TimingClassCrashFix into main

Several functions in TimingClass.cxx are operating over 4 txt files (EMB, EMEC, HCAL FCAL), if one is empty due to zero stat, the script crashes. As solution I have added a dedicated function that checks if the file is empty beforehand, and if so, the process will return to the calling function avoiding the crash. Hopefully...

Merge request reports