Since we are planning to move the big pax ROOT files off dali, it is important we can still load minitrees when these are absent. Currently it fails in two places:
When trying to find out if a run should be blinded. MC ROOT files are excluded, based on an identifying tag in their ROOT file. Instead of crashing, we now assume we should blind any run whose ROOT file cannot be found.
never_stored minitrees, e.g. the previous event properties, always have to be made anew and are never loaded from disk. We still create some minitree metadata for them, which included the pax version, fetched from the ROOT file. If the ROOT file is absent, we now set the pax version in this metadata to 'unknown'. This will not end up in regular minitrees, because they will crash when attempting to build them when the pax ROOT file is missing.
Thanks to @CristianAntochi for helping to find these problems.
Since we are planning to move the big pax ROOT files off dali, it is important we can still load minitrees when these are absent. Currently it fails in two places:
never_stored
minitrees, e.g. the previous event properties, always have to be made anew and are never loaded from disk. We still create some minitree metadata for them, which included the pax version, fetched from the ROOT file. If the ROOT file is absent, we now set the pax version in this metadata to 'unknown'. This will not end up in regular minitrees, because they will crash when attempting to build them when the pax ROOT file is missing.Thanks to @CristianAntochi for helping to find these problems.