From a0157e8e6b7725c03a92b367ae13ddb57bcf0f7b Mon Sep 17 00:00:00 2001 From: Massimiliano Lincetto Date: Thu, 12 Oct 2023 18:15:49 +0200 Subject: [PATCH] check presence of muex requirements --- skymap_scanner/recos/splinempe.py | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/skymap_scanner/recos/splinempe.py b/skymap_scanner/recos/splinempe.py index 92a781fb6..57379ce16 100644 --- a/skymap_scanner/recos/splinempe.py +++ b/skymap_scanner/recos/splinempe.py @@ -176,13 +176,16 @@ def checkName(frame: I3Frame, name: str) -> None: TimeWindow=6000 * I3Units.ns, ) - tray.Add(checkName, name=cls.cleaned_muon_pulseseries) - # ========================================================= # ENERGY ESTIMATOR SEEDING # Provide SplineMPE with energy estimation from MuEx # This should improve the following SplineMPE track reco. # ========================================================= + + # Prerequisites + tray.Add(checkName, name=cls.cleaned_muon_pulseseries) + tray.Add(checkName, name=cls.energy_reco_seed) + def notify_muex(frame): logger.debug(f"Running MuEX - {datetime.datetime.now()}")