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

Save G4 trajectory ID also for secondaries #66

Closed sindhu-ku closed 3 months ago

sindhu-ku commented 4 months ago

The G4 ID was not saved for secondaries initially at the flow stage and eventually also in the MLreco stage. Since this is now fixed in these two parts of the production, it is time to reflect that change also in ND_CAFMaker.

sindhu-ku commented 4 months ago

The is_primary field needs to be fixed in the truth dataset in MLreco files in order to correctly propagate this information as the G4ID is used for the prim/sec distinction currently