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

TPG Threshold By Plane #30

Merged
merged 2 commits into from
May 14, 2024
Merged

Conversation

aeoranday
Copy link
Member

This PR follows the new TPG threshold by plane implementation in fdreadoutlibs. Running any of wibeth_tpg_validation, wibeth_tpg_workload_emulator, or wibeth_tpg_algorithms_emulator now include the option to specify the thresholds for each plane. If a plane's threshold is not specified, it defaults to the general TPG threshold value.

Testing was limited with this implementation because the emulators prepare thresholds according to the first WIBEth frame seen. Expanding to use thresholds for all frames still has issues: TPs which do not complete by the end of a WIBEth fragment are left "above threshold" until the next fragment and instead mark the new fragment as having a TP. This frequently resulted in incorrect channels appearing above threshold and confounds the result of the threshold by plane.

The solution for how to process WIBEth frames and emulate effectively seems outside the scope of this PR.

@aeoranday aeoranday added maintenance Addresses a user request or a change in another part of the system miscellaneous deliverable A change that is/will be part of a release but is not substantial enough to be a daq-deliverable labels May 7, 2024
@aeoranday aeoranday self-assigned this May 7, 2024
@aeoranday aeoranday merged commit 8add8b4 into patch/fddaq-v4.4.x May 14, 2024
1 check passed
@aeoranday aeoranday deleted the aeo/threshold-by-plane branch May 14, 2024 16:35
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
maintenance Addresses a user request or a change in another part of the system miscellaneous deliverable A change that is/will be part of a release but is not substantial enough to be a daq-deliverable
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants