DUNE / dune-tms

DUNE ND Temporary Muon Spectrometer
0 stars 2 forks source link

Fix spillPeriod_s to match overlaySinglesIntoSpillsSorted #149

Closed jdkio closed 2 months ago

jdkio commented 2 months ago

This commit changed spillPeriod_s from float to double in the spill builder. This commit switches it to match. It also adds a check that the spill period is within 2 orders of magnitude of 1.2s so this won't happen again. When reading a double as a float, the spill period turned out to be ~40ns instead of 1.2e9ns