DUNE / dune-tms

DUNE ND Temporary Muon Spectrometer
0 stars 1 forks source link

Add back the previous functionality when time slicer is off #33

Closed jdkio closed 11 months ago

jdkio commented 11 months ago

The time slicer removed truth information that previously existed. Specifically, the associated true muon for each event.

In the case of pileup events, there isn't a clear single muon for each event. So this variable doesn't make a lot of sense, and so we'll need to think of something else. But all the scripts in scripts rely on this variable. So this PR adds it back in the cases where you're not using the time slicer. Should only be used for single interaction events.

Example output with 1.8M events. /dune/data/users/kleykamp/2023-09-15_fix_muon_ke.tmsreco.root That's an hadd of output in, /pnfs/dune/persistent/users/kleykamp/nd_production_output/2023-09-15_fix_muon_ke/tmsreco/FHC/00m/00/