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

TIBlobModule: Use custom decoder for this module's data format #489

Merged
merged 1 commit into from
Oct 12, 2022

Conversation

hansenjo
Copy link
Member

The original assumption that the TI module is a PipeliningModule is incorrect. The module's data format differs from that of PipeliningModules, which led to occasional decoding errors in single block mode and would have failed in multi-block mode.

This change supports both single and multi-block mode. Multi-block mode has not been tested yet due to lack of example data, but should work if the data format specs are accurate. The code assumes that the TI module's data are in a unique CODA bank for each ROC, and that there is only one TI module and no other modules in that bank. This is the case in the current Hall C DAQ setup.

Closes Redmine issue 676.

@sawjlab
Copy link
Member

sawjlab commented Oct 11, 2022

Seems to work for me. (THcHelicityReader and THcHitList get the TI time reliably)

@MarkKJones MarkKJones merged commit ecb5227 into JeffersonLab:develop Oct 12, 2022
@hansenjo hansenjo deleted the ti-decode branch October 13, 2022 23:41
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