XENONnT / fuse

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

Add option to distribute Geant4 events with fixed timing #225

Closed HenningSE closed 4 months ago

HenningSE commented 5 months ago

What does the code in this PR do / what does it improve?

This PR adds the option to distribute events with a fixed timing instead of using a uniform distribution.

Can you give a minimal working example?

Setting the tracked config argument fixed_event_spacing from the default value false to true will set the event timings to fixed values. The event spacing is controlled by the source_rate argument.

Please include the following if applicable:

coveralls commented 5 months ago

Pull Request Test Coverage Report for Build 9695160107

Details


Changes Missing Coverage Covered Lines Changed/Added Lines %
fuse/plugins/micro_physics/input.py 7 9 77.78%
<!-- Total: 7 9 77.78% -->
Totals Coverage Status
Change from base Build 9695042116: -0.03%
Covered Lines: 2607
Relevant Lines: 3238

💛 - Coveralls