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

Events with no reco info do not have their truth info stored #58

Open chenel opened 7 months ago

chenel commented 7 months ago

The current architecture only fills truth info if a reco branch filler requests it. That means that events that happen to form no reconstructed objects in any of the detectors that are enabled (think, e.g.: lots of neutrons produced outside fiducial volume that make small blips inside it) won't have their truth info stored.

Fixing this would require the various RecoBranchFillers to invoke the TruthMatcher even when they don't have a reconstructed object. That's easy enough; but there's no way of enforcing that they do that, which means that events could easily slip through.

Should the trigger grouping machinery also group all the relevant true interactions as well? Should we just add in explicit calls to TruthMatcher in the reco branch fillers in an ad hoc way? More thought is needed.