Some decoder variables not set for continuation segments
When replaying continuation segments, certain decoder variables such as run_number, run_type and fRunTime, which are accessible as "g.*" global variables, are not set, even though the run object holds the correct information.
Updated by Ole Hansen over 1 year ago
This happens because the main decoder (the one used by THaAnalyzer) does not ever see the prestart event, which holds this information. The run object uses a temporary decoder for prescanning the segment 0 file to extract the information, but it is not passed back to the main decoder.