From 6796835126ddbc648df3f685b9f3e5f9ac2748f4 Mon Sep 17 00:00:00 2001 From: Manuel Huber Date: Tue, 23 Sep 2025 10:54:13 +0200 Subject: [PATCH] build_hit: add the full table as a local variable --- src/reboost/core.py | 3 +++ 1 file changed, 3 insertions(+) diff --git a/src/reboost/core.py b/src/reboost/core.py index 4f5d5b4..c3292a6 100644 --- a/src/reboost/core.py +++ b/src/reboost/core.py @@ -150,6 +150,9 @@ def evaluate_output_column( if globals_dict is not None and "pyg4ometry" in globals_dict: ctx = utils.filter_logging(logging.CRITICAL) + # add the full table as a local variable. + local_dict[table_name] = hit_table.view_as("ak", with_units=True) + with ctx: res = hit_table.eval( func_call, local_dict, modules=globals_dict, library="ak", with_units=True