DUNE / ND_CAFMaker

Code for making CAFs from ND inputs (whether 2x2+MINERvA prototype or full ND simulation)
Apache License 2.0
1 stars 11 forks source link

Use true trajectory index from GENIE, where it exists #38

Closed chenel closed 10 months ago

chenel commented 10 months ago

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.