As it stands right now, the true trajectory id passed through edep-sim is always rewritten to be unique within a spill. This makes matching to the original GENIE particles difficult, because the mapping is lost.
We now pass the original trajectory id, local_traj_id from edep-sim, as an extra field through the MLreco chain. This PR uses that to match to GENIE, when it's available.
As it stands right now, the true trajectory id passed through edep-sim is always rewritten to be unique within a spill. This makes matching to the original GENIE particles difficult, because the mapping is lost.
We now pass the original trajectory id,
local_traj_id
from edep-sim, as an extra field through the MLreco chain. This PR uses that to match to GENIE, when it's available.