Hello,
I am trying to read from a csv file using DepositionReader module. While it is working fine most of the tumes, I see for some events, the allpix running is aborted with this error message:
|12:49:57.128| (FATAL) [R:DepositionReader] Fatal internal error
vector
Cannot continue.
I am not sure why this is happening to events that do not look weird at first glance. The full log is here:
|12:46:03.563| (STATUS) Welcome to Allpix^2 v1.6.0+30^g3d3aca0d
|12:46:03.564| (STATUS) Initialized PRNG with system entropy seed 7422479944399380589
|12:46:03.752| (WARNING) Main ROOT file /Users/arkasantra/AllPix2/allpix-squared/output/modules.root exists and will be overwritten.
|12:46:03.760| (STATUS) Loaded 7 modules
|12:46:03.760| (STATUS) Initializing 7 module instantiations
|12:46:03.762| (TRACE) [I:DepositionReader] Creating output plots
|12:46:03.762| (TRACE) [I:DepositionReader] Resetting messages
|12:46:05.639| (WARNING) [I:ROOTObjectWriter] File /Users/arkasantra/AllPix2/allpix-squared/output/data.root exists and will be overwritten.
|12:46:05.640| (STATUS) Initialized 7 module instantiations
|12:46:05.640| (STATUS) Running event 1 of 901
|12:46:05.641| (DEBUG) [R:DepositionReader] Start reading event 1
|12:46:05.641| (TRACE) [R:DepositionReader] Line read: Event 1
|12:46:05.641| (INFO) [R:DepositionReader] Finished reading event 1
|12:46:05.641| (STATUS) Running event 2 of 901
|12:46:05.641| (DEBUG) [R:DepositionReader] Start reading event 2
|12:46:05.642| (TRACE) [R:DepositionReader] Line read: 11, 12.9911, 1.08611e-05, 69.0665, 5.18319, 3864.5125, Stave00, 2, 1
|12:46:05.642| (TRACE) [R:DepositionReader] Truncated detector name: Stave00
|12:46:05.642| (DEBUG) [R:DepositionReader] Found detector "Stave00"
|12:46:05.642| (DEBUG) [R:DepositionReader] Found deposition of 2984 e/h pairs inside sensor at (16.2928mm,11.4323mm,0mm) in detector Stave00, global (69.0665mm,5.18319mm,3864.51mm), particleID 11
|12:46:05.643| (DEBUG) [R:DepositionReader] Adding new MCParticle, track id 2, PDG code 11
This file has been truncated. show original
and all the necessary files to reproduce the problem can be found in this repository:
Thank you,
Arka
Hi,
I think the issue is that the track_id has to be in ascending order inside one event. Once I did that, this problem is fixed. But I am working with such a Geant4 output where the track_id may not always be in ascending order. Is there any way to bypass this issue?
Thank you,
Arka