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

[backport] Set equivalence of first/last bx labels used by different subsystems in ECAL DQM #35674

Merged
merged 2 commits into from
Oct 20, 2021

Conversation

alejands
Copy link
Contributor

PR description:

A bug was discovered by ECAL DAQ in which the labeling conventions for the first/last bunch crossing are different depending on the subsystem: http://cmsonline.cern.ch/cms-elog/1123223

TCDS always labels this bx as 3564, while other subsystems label it as 0. This was leading to a DQM integrity error plot being mistakenly filled.

We have set these values so the bx labels are treated as the same in this scope and avoid incorrectly filling DQM integrity error plots.

PR validation:

The ECAL DQM code was run on an offending dataset and the fake integrity errors disappeared. We also confirmed the results with ECAL DAQ.

if this PR is a backport please specify the original PR and why you need to backport that PR:

This is a backport of #35661 to include it in Online DQM at P5.

@cmsbuild
Copy link
Contributor

cmsbuild commented Oct 14, 2021

A new Pull Request was created by @alejands (Alejandro Sanchez) for CMSSW_12_0_X.

It involves the following packages:

  • DQM/EcalMonitorTasks (dqm)

@emanueleusai, @ahmad3213, @cmsbuild, @jfernan2, @pmandrik, @pbo0, @rvenditti can you please review it and eventually sign? Thanks.
@rchatter, @simonepigazzini, @thomreis, @argiro this is something you requested to watch as well.
@perrotta, @dpiparo, @qliphy you are the release manager for this.

cms-bot commands are listed here

@jfernan2
Copy link
Contributor

test parameters

  • addpkg=DQM/Integration

@jfernan2
Copy link
Contributor

please test

@cmsbuild
Copy link
Contributor

+1

Summary: https://cmssdt.cern.ch/SDT/jenkins-artifacts/pull-request-integration/PR-c05eb2/19636/summary.html
COMMIT: 2def7d9
CMSSW: CMSSW_12_0_X_2021-10-14-1100/slc7_amd64_gcc900
User test area: For local testing, you can use /cvmfs/cms-ci.cern.ch/week0/cms-sw/cmssw/35674/19636/install.sh to create a dev area with all the needed externals and cmssw changes.

Comparison Summary

Summary:

  • No significant changes to the logs found
  • Reco comparison results: 0 differences found in the comparisons
  • DQMHistoTests: Total files compared: 39
  • DQMHistoTests: Total histograms compared: 2998564
  • DQMHistoTests: Total failures: 0
  • DQMHistoTests: Total nulls: 0
  • DQMHistoTests: Total successes: 2998542
  • DQMHistoTests: Total skipped: 22
  • DQMHistoTests: Total Missing objects: 0
  • DQMHistoSizes: Histogram memory added: 0.0 KiB( 38 files compared)
  • Checked 165 log files, 37 edm output root files, 39 DQM output files
  • TriggerResults: no differences found

@perrotta
Copy link
Contributor

backport of #35661

@jfernan2
Copy link
Contributor

+1
Tested in Online DQM at P5

@cmsbuild
Copy link
Contributor

This pull request is fully signed and it will be integrated in one of the next CMSSW_12_0_X IBs (tests are also fine) and once validation in the development release cycle CMSSW_12_1_X is complete. This pull request will now be reviewed by the release team before it's merged. @perrotta, @dpiparo, @qliphy (and backports should be raised in the release meeting by the corresponding L2)

// TCDS calls it always 3564, but some subsystems call it 0.
// From testing: bx_ is labeled 0, dccBX and FEBxs[iFE] labeled 3564
// Setting bx_ to 0 to match the other two
if (bx_ == 3564)
Copy link
Contributor

Choose a reason for hiding this comment

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

Instead of that magic number, it would be preferable to rely to some centralized constant, for example LumiConstants::numBX taken from DataFormats/​Luminosity/​interface/​LumiConstants.h

I would personally do the same also in the master version of this PR

Copy link
Contributor Author

Choose a reason for hiding this comment

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

I agree that this is much safer and better practice. I've made the change, but I will run a test as a sanity check before pushing to this PR.

Unfortunately, it appears the master version of this PR is already merged, but I can quickly submit a new PR with the change. Alternatively, I can hold onto the change in master for now and submit it in an upcoming PR.

Copy link
Contributor

Choose a reason for hiding this comment

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

Unfortunately, it appears the master version of this PR is already merged, but I can quickly submit a new PR with the change. Alternatively, I can hold onto the change in master for now and submit it in an upcoming PR.

Thank yuo @alejands
Please just add a quick fix with a new PR in the master

Copy link
Contributor Author

Choose a reason for hiding this comment

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

Hi @perrotta

I've pushed the change you suggested regarding using a centrally defined constant rather than a hard-coded number

@cmsbuild
Copy link
Contributor

Pull request #35674 was updated. @emanueleusai, @ahmad3213, @cmsbuild, @jfernan2, @pmandrik, @pbo0, @rvenditti can you please check and sign again.

@perrotta
Copy link
Contributor

please test

@perrotta
Copy link
Contributor

@alejands, I see no update PR for the master yet.
Then I prepared a quick one myself, see #35725

@cmsbuild
Copy link
Contributor

+1

Summary: https://cmssdt.cern.ch/SDT/jenkins-artifacts/pull-request-integration/PR-c05eb2/19728/summary.html
COMMIT: a769621
CMSSW: CMSSW_12_0_X_2021-10-18-2300/slc7_amd64_gcc900
User test area: For local testing, you can use /cvmfs/cms-ci.cern.ch/week1/cms-sw/cmssw/35674/19728/install.sh to create a dev area with all the needed externals and cmssw changes.

Comparison Summary

Summary:

  • No significant changes to the logs found
  • Reco comparison results: 7 differences found in the comparisons
  • DQMHistoTests: Total files compared: 39
  • DQMHistoTests: Total histograms compared: 2998564
  • DQMHistoTests: Total failures: 11
  • DQMHistoTests: Total nulls: 1
  • DQMHistoTests: Total successes: 2998530
  • DQMHistoTests: Total skipped: 22
  • DQMHistoTests: Total Missing objects: 0
  • DQMHistoSizes: Histogram memory added: 0.004 KiB( 38 files compared)
  • DQMHistoSizes: changed ( 312.0 ): 0.004 KiB MessageLogger/Warnings
  • Checked 165 log files, 37 edm output root files, 39 DQM output files
  • TriggerResults: no differences found

@alejands
Copy link
Contributor Author

alejands commented Oct 19, 2021

@perrotta Thanks for submitting the update for master. There was an issue brought up last night #35723 so I was running a test overnight out of an abundance of caution before submitting another PR. It appears it's all clear and good to go.

@jfernan2
Copy link
Contributor

+1
Resigning after new test in P5

@cmsbuild
Copy link
Contributor

This pull request is fully signed and it will be integrated in one of the next CMSSW_12_0_X IBs (tests are also fine) and once validation in the development release cycle CMSSW_12_1_X is complete. This pull request will now be reviewed by the release team before it's merged. @perrotta, @dpiparo, @qliphy (and backports should be raised in the release meeting by the corresponding L2)

@perrotta
Copy link
Contributor

@cmsbuild cmsbuild merged commit 0a2185c into cms-sw:CMSSW_12_0_X Oct 20, 2021
@alejands alejands deleted the bxFirstLastLabels_120X branch November 1, 2021 03:02
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants