XENONnT / fuse

XENON Framework for Unified Simulations of Events
BSD 3-Clause "New" or "Revised" License
6 stars 1 forks source link

We are per chunk simulation not per run #229

Closed dachengx closed 4 months ago

dachengx commented 5 months ago

https://github.com/XENONnT/fuse/blob/d5dde954301e12ebb6ec282297d98a23d47eba76/fuse/plugins/pmt_and_daq/photon_pulses.py#L134 pulse_id should not start at 0 if feed in the second or more chunks into compute . We should do something like: https://github.com/XENONnT/straxen/blob/b8fe520deca55b8c5ac0cb53249b38639f0ae5de/straxen/plugins/events/events.py#L154