Skip to content

Conversation

@eflumerf
Copy link
Member

when creating TimeSync messages.

Description

Resolves Issue #391 by having FakeDataProdModule use TimestampEstimatorSystem to produce timestamps using the DUNE-DAQ clock (getting the clock frequency from the Session's DetectorConfig object). These timestamps are used to create TimeSync messages only; the module uses trigger timestamps for any produced data Fragments.

Type of change

  • Bug fix (non-breaking change which fixes an issue)

Testing checklist

  • Unit tests pass (e.g. dbt-build --unittest)
  • Minimal system quicktest passes (pytest -s minimal_system_quick_test.py)
  • Full set of integration tests pass (daqsystemtest_integtest_bundle.sh)

I believe the only possible change is in fake_data_producers_test.py, which passed in my testing.

Copy link
Collaborator

@bieryAtFnal bieryAtFnal left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

These changes look good to me. However, the fake_data_producer_test in daqsystemtest needed to be changed as a result. That change is in DUNE-DAQ/daqsystemtest#288.

@eflumerf eflumerf merged commit 4bf80ea into develop Jan 15, 2026
4 checks passed
@eflumerf eflumerf deleted the eflumerf/Issue391_FakeDataProd_Timestamps branch January 15, 2026 20:29
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

FakeDataProd uses nanosecond timestamps

3 participants