EventLoaderEUDAQ2: shift_triggers not flexible enough
Currently, the shift_triggers
setting of the EventLoaderEUDAQ2 module is not flexible enough as it is only used when assigning trigger IDs to the Corryvreckan event. In a setup like
[TLU]
role= aux
[M26_0]
type = "mimosa26"
[M26_1]
type = "mimosa26"
this works fine since the TLU might be shifted to all MIMOSA26 detectors. However, when looking at independent detectors such as:
[TLU]
role = aux
[ALPIDE_0]
type = "alpide"
[ALPIDE_1]
type = "alpide"
then ALPIDE_1
might be shifted with respect to ALPIDE_0
and TLU
. The setting currently doesn't allow us to correct for this as it only shifts the TID read from the TLU
device before adding it to the Corryveckan event - instead of allowing to correct/shift every single detector when comparing to the trigger ID stored in the Corryvreckan event.