Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Reworking TC-type configs #150

Merged
merged 2 commits into from
Oct 21, 2024
Merged

Reworking TC-type configs #150

merged 2 commits into from
Oct 21, 2024

Conversation

ArturSztuc
Copy link
Contributor

PR explained in: DUNE-DAQ/trigger#351

Copy link
Member

@aeoranday aeoranday left a comment

Choose a reason for hiding this comment

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

I noticed that CustomTCMakerConf still uses the integer type design instead of the new string one here. Is this an oversight?

https://github.com/DUNE-DAQ/appmodel/blob/develop/schema/appmodel/trigger.schema.xml#L130

@ArturSztuc
Copy link
Contributor Author

@aeoranday

I noticed that CustomTCMakerConf still uses the integer type design instead of the new string one here. Is this an oversight?

https://github.com/DUNE-DAQ/appmodel/blob/develop/schema/appmodel/trigger.schema.xml#L130

A little bit of an oversight: CustomTCMaker wasn't being used for anything in v5 tests, and it ended up being severaly out-of date, thanks for pointing this out.
There's more than just the TC-types to resolve here:

  1. TC-types as you noticed
  2. Replacing trigger_intervals with trigger_rate_hz
  3. Removal of clock_frequency_hz
  4. Complete rework of CustomTCMaker in a similar way to what was done to RandomTCMaker in RandomTCMaker overhaul trigger#350

I'm happy to do this, but probably in a separate PR. For now CustomTCMaker is so out of date that probably shouldn't be used...

In fact, perhaps we should completely wipe out CustomTCMaker from existance. RandomTCMaker has configurable TC-type and TC-window output, and we can have multiple RandomTCMakers running concurrently... making CustomTCMaker a bit redundant.

@aeoranday
Copy link
Member

The argument for removing CustomTCMaker is sensible, and I agree that it would be out-of-scope for this PR. Though, I imagine it will remain a low priority and end up taking a while before removing.

Copy link
Member

@aeoranday aeoranday left a comment

Choose a reason for hiding this comment

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

LGTM.

@ArturSztuc
Copy link
Contributor Author

Thank you Alex. I was going to go through trigger issues page and resolve as many as possible over the next ~2 weeks, and I see that CustomTCMaker features in a few of them - I'll work on that next, so it won't be forgotten :)

@ArturSztuc ArturSztuc merged commit f112289 into develop Oct 21, 2024
2 checks passed
@ArturSztuc ArturSztuc deleted the asztuc/mlt_tctype_rework branch October 21, 2024 14:59
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.

2 participants