DUNE / larnd-sim

Simulation framework for a pixelated Liquid Argon TPC
Apache License 2.0
10 stars 27 forks source link

Prevent duplication of trigger packets for light sim off #164

Closed AlexWilkinsonnn closed 8 months ago

AlexWilkinsonnn commented 10 months ago

When write_batch_size doesn't correspond to an integer number of events, multiple calls to save_results function causes duplication of trigger packets (for when light simulation turned off). To fix: Track across calls to save_results the most recent event which had trigger packets generated.