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

Fix an issue in SinglesTrigger2019ReadoutDriver #1062

Merged
merged 1 commit into from
Dec 10, 2024
Merged

Conversation

tongtongcao
Copy link
Contributor

The driver is supposed to process any single trigger.
However, codes https://github.com/JeffersonLab/hps-java/blob/054ee5d43d5e36618d248d41a6b8c124d2be3304/ecal-readout-sim/src/main/java/org/hps/readout/trigger2019/SinglesTrigger2019ReadoutDriver.java#L145C9-L155C27 requires that sizes for both GTP clusters and hodo patterns are larger than 0.
It is requirement for single3 trigger. Update for the codes was missed when I did readout update for processing multiple triggers.
The bug causes issue when we process other single triggers except single3 trigger.

…rk for other single triggers besides single3 trigger
Copy link
Contributor

@bloodyyugo bloodyyugo left a comment

Choose a reason for hiding this comment

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

Looks good

@tongtongcao tongtongcao merged commit 7329532 into master Dec 10, 2024
1 check passed
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.

3 participants