-
Notifications
You must be signed in to change notification settings - Fork 36
Open
Description
The version of BONSAI included within rat-pac crashes on the first event of the attached file.
example_problematic_ratpac_file.zip
The RAT-PAC macro to generate this file is:
/glg4debug/glg4param omit_muon_processes 0.0
/glg4debug/glg4param omit_hadronic_processes 0.0
/rat/db/set DETECTOR experiment "Watchman"
/rat/db/set DETECTOR geo_file "Watchman/Watchman.geo"
/run/initialize
# BEGIN EVENT LOOP
/rat/proc lesssimpledaq
# /rat/proc fitbonsai
/rat/proc fitcentroid
/rat/proc fitpath
/rat/proc count
/rat/procset update 200
# Use IO.default_output_filename
/rat/proclast outroot
#END EVENT LOOP
/generator/add decaychain 214Bi:regexfill:poisson
/generator/pos/set shield+
#/generator/rate/set 1.0
/generator/rate/set 1
/run/beamOn 1000
Inspecting the crash inside gdb the issue seems to be because inside fourhitgrid::fourhitgrid only 3 hits are selected. This leads to a seg fault since this grid object is used without checking that it is in a valid state.
I don't understand the reconstruction enough to know whether this is due to invalid input data that the reconstruction should not be expected to handle, or whether this is a valid input and the problem is in bonsai.
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels