Skip to content

GitLab

  • Menu
Projects Groups Snippets
    • Loading...
  • Help
    • Help
    • Support
    • Community forum
    • Submit feedback
  • Sign in
  • athena athena
  • Project information
    • Project information
    • Activity
    • Labels
    • Members
  • Repository
    • Repository
    • Files
    • Commits
    • Branches
    • Tags
    • Contributors
    • Graph
    • Compare
    • Locked Files
  • Jira
    • Jira
  • Merge requests 164
    • Merge requests 164
  • Deployments
    • Deployments
    • Releases
  • Packages & Registries
    • Packages & Registries
    • Container Registry
  • Analytics
    • Analytics
    • Value stream
    • Code review
    • Issue
    • Repository
  • Activity
  • Graph
  • Commits
Collapse sidebar
  • atlas
  • athenaathena
  • Merge requests
  • !20057

Merged
Created Dec 20, 2018 by Rafal Bielski@rbielski✈Developer

Add RoIBResult BS decoder alg and restructure the corresponding tool

  • Overview 8
  • Commits 3
  • Pipelines 2
  • Changes 8
  1. Added RoIBResultByteStreamDecoderAlg which should replace the Converter call to decode RoIBResult from BS.

  2. Restructured RoIBResultByteStreamTool:

    • added new, non-template decoding convert method to be used by the new alg
    • the old template convert method only transforms the arguments and calls the new method
    • conversion from RoIBResult to ByteStream (BS encoding) is left untouched
    • removed RoIBResultByteStreamTool.icc as the new non-template method is implemented in .cxx
    • the new method does identical job as the old one, but is rearranged for better readability and maintainability
  3. Made the list of ROB IDs for decoding configurable in RoIBResultByteStreamTool properties. This makes the corresponding properties of ByteStreamAddressProviderSvc obsolete. ByteStreamAddressL1R is also obsolete as the ROBFragments can be retrieved using ROBDataProviderSvc. However, both are still used in the legacy workflow. Another MR will come in the future to remove the obsolete code and use only the properties of RoIBResultByteStreamTool to define the list of ROBs.

  4. Added two lines in testHLT_MT.py to make use of the new algorithm (instead of SGInputLoader indirectly calling the Converter) for RoIBResult decoding.

Tested by running test_l1decoder.sh with and without these changes and comparing the outputs - no difference observed.

Assignee
Assign to
Reviewer
Request review from
Time tracking
Source branch: roibresult-decoder-alg