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

Fixed more bugs and added comments #9

Merged
merged 13 commits into from
Sep 13, 2024

Conversation

tomalin
Copy link

@tomalin tomalin commented Aug 21, 2024

  1. Fixed some bugs in utils.h in functions used for read/writing words to array buffers of bits, substantially rewriting some of the functions to make them more obvious. This solves the raw2digi run time errors about strip number exceeding 1016.

  2. Added comments to code to clarify it. Changed some function and variable names to make their purpose clearer.

  3. Fixed bug in Phase2TrackerFEDBuffer::setFrontendStatus(), which sets the 72 status bits (which indicate which input channels of each DTC are active). The bits were in the wrong order compared to the read function frontendStatus().

  4. Some CPU optimisation, passing big objects to functions via reference where possible.

  5. Added comment "IAN blah blah" where anything looks weird, and needs investigating further.

  6. Ran scram b code-format

Instructions to check out this code:
a) git cms-checkout-topic -u tomalin:ianFixMoreBugs
b) git cms-addpkg CalibTracker/SiStripESProducers/
c) git cms-addpkg CondCore/SiStripPlugins/

@tomalin tomalin marked this pull request as ready for review August 27, 2024 06:44
@sroychow sroychow merged commit addd569 into sroychow:unpacker_cbc3_cms14_1 Sep 13, 2024
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