Skip to content
GitLab
Projects Groups Snippets
  • /
  • Help
    • Help
    • Support
    • Community forum
    • Submit feedback
  • Sign in
  • L LHCb
  • Project information
    • Project information
    • Activity
    • Labels
    • Members
  • Repository
    • Repository
    • Files
    • Commits
    • Branches
    • Tags
    • Contributors
    • Graph
    • Compare
    • Locked Files
  • Issues 193
    • Issues 193
    • List
    • Boards
    • Service Desk
    • Milestones
    • Iterations
    • Requirements
  • Jira
    • Jira
  • Merge requests 43
    • Merge requests 43
  • CI/CD
    • CI/CD
    • Pipelines
    • Jobs
    • Schedules
    • Test Cases
  • Deployments
    • Deployments
    • Environments
    • Releases
  • Monitor
    • Monitor
    • Incidents
  • Analytics
    • Analytics
    • Value stream
    • CI/CD
    • Code review
    • Insights
    • Issue
    • Repository
  • Activity
  • Graph
  • Create a new issue
  • Jobs
  • Commits
  • Issue Boards
Collapse sidebar
  • LHCbLHCb
  • LHCb
  • Merge requests
  • !3950

Fix noBanksCounter in Calo decoding

  • Review changes

  • Download
  • Email patches
  • Plain diff
Merged Carla Marin Benito requested to merge cmb_caloNoBankCounter into master Jan 31, 2023
  • Overview 72
  • Commits 2
  • Pipelines 4
  • Changes 2

Before this, the code would return when finding empty banks with no other action (a debug message, hard to detect). Later on m_noBanksCounter was incremented by banks.empty() but for this line to execute, it had to be zero already! So we were not incrementing the counter (and not printing it) when the banks were empty and on the contrary we were incrementing by 0 in each event and printing the counter when banks were NOT empty.

This MR promotes m_noBanksCounter to an ERROR message counter and fixes the logic (such that the counter is incremented and printed when the banks are empty and not incremented neither printed when they are not).

cc @jmarchan

References will need to be updated. The expected diff is the disappearing of the counters "No bank found" from FutureEcalZSup and FutureHcalZSup.

Goes with MooreOnline!201 (merged)

Edited Feb 03, 2023 by Sebastien Ponce
Assignee
Assign to
Reviewers
Request review from
Time tracking
Source branch: cmb_caloNoBankCounter