Live Plot Wall

Fuse Tutorial
Beginner Workshop 2025

Visit www.live-plot-wall.fuselli.net, choose your problem, upload a screenshot of your plot.

Start your notebook job on midway3:

./env_starter/start_jupyter.sh --tag el7.2025.07.2


Now copy this notebook template to your home:

cp /project/lgrandi/cfuselli/BeginnerWorkshopFuse2025/xenon_beginner_workshop_25.ipynb /home/$USER/



Alternatively, you can just make a new notebook file, and paste these two cells into the notebook. It will import fuse v1.6.0 and setup a context for SR2:

# Fuse tutorial
import sys, os
sys.path.insert(0,f"/project2/lgrandi/xenonnt/software/xenon_plot_style")
from xenonnt_plot_style import XENONPlotStyle as xps
xps.use('xenonnt')

fuse_version = "v1.6.0"
sys.path.insert(0,f"/project2/lgrandi/xenonnt/software/fuse/{fuse_version}")

import fuse
import straxen
import cutax

import matplotlib.pyplot as plt
import numpy as np
import pandas as pd
pd.set_option('display.max_columns', None)

straxen.print_versions(modules = ('strax', 'straxen', 'cutax', 'fuse'))

st = fuse.context.xenonnt_fuse_full_chain_simulation(
    output_folder=f"/scratch/midway3/{os.getenv('USER')}/tmp_fuse_data/",
    corrections_version="global_v18",
    simulation_config="sr2_dev",
)

st.set_config(
    {
        "path": "/project2/lgrandi/xenonnt/simulations/testing",
        "file_name": "sr2devHE_Rn220_WholeLXe_0.root",
        "entry_stop": 50,
        "debug": True
    }
)

run_id = "TestRunId"
st.make(run_id, "geant4_interactions")