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.
Choose the right container, and paste these cells to import fuse v1.6.0 and setup a context for SR2:
# Fuse tutorial
from xenonnt_plot_style import XENONPlotStyle as xps
xps.use("xenonnt")
import sys
# choose the latest available fuse version
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
straxen.print_versions(modules=("strax", "straxen", "cutax", "fuse"))st = fuse.context.xenonnt_fuse_full_chain_simulation(
output_folder="/scratch/midway3/$USER/tmp_data/",
corrections_version="global_v18",
simulation_config="sr2_dev",
cut_list=[cutax.cut_lists.BasicCutsMC],
)
st.set_config(
{
"path": "/project2/lgrandi/xenonnt/simulations/testing",
"file_name": "pmt_neutrons_100.root",
"entry_stop": 250,
}
)
run_id = "TestRunId"
st.make(run_id, "geant4_interactions")