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

Some minor MLreco changes for Minirun5 beta2 production #68

Closed sindhu-ku closed 5 months ago

sindhu-ku commented 5 months ago
  1. MC truth start/end positions are now saved with position variables instead of start/end points (issue #64)
  2. True momentum is saved in MLreco files, so have added that to ValidateorCopy
  3. Propagate the correct true interaction_id for true particles and ancestors
  4. Propagate genid for secondaries and determine if a particle is true primary in truth matching by looking for genid in the primary particle collection (issue #66)
  5. Parents and ancestors need to have their genidpropagated instead of trackid for matching (issue #67). MLreco assigns the unique trackid as parent_trackid and id (unique within an event) as the ancestor_trackid. So this is done by looping over the particles to retrieve the genid by matching the other two variables.