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

GEM Online & Offline Efficiency Update (backport of #37954, 12_3_X) #38330

Conversation

seungjin-yang
Copy link
Contributor

PR description:

This PR is a backport of #37954. This PR turns on the muon propagation error cuts, which mistakenly were turned off via #36883. Also, this PR simplifies the directory structure in the DQM output file and reduces redundant plots. In the offline DQM, the way to build the initial state muon propagations and a matching metric is changed. You can find more details here.
From a technical point of view, this PR adds base classes for online and offline efficiency monitors.

PR validation:

Because this PR affects both the online and the offline DQM, this PR was validated with two tests.

  • For the online DQM,
CMSSW_VERSION=CMSSW_12_3_X_2022-06-09-2300
cmsrel ${CMSSW_VERSION}
cd ${CMSSW_VERSION}/src
git-cms-merge-topic GEM-DQM-Eff-Update_from-${CMSSW_VERSION}
git-cms-addpkg DQM/Integration
cmsRun ${CMSSW_BASE}/src/DQM/Integration/python/clients/gem_dqm_sourceclient-live_cfg.py unitTest=True
  • For the offline DQM,
CMSSW_VERSION=CMSSW_12_3_X_2022-06-09-2300
cmsrel ${CMSSW_VERSION}
cd ${CMSSW_VERSION}/src
git-cms-merge-topic GEM-DQM-Eff-Update_from-${CMSSW_VERSION}
runTheMatrix.py -w upgrade -l 11611.0

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

Backport of #37954. In 12_3_X, the propagation error cuts mistakenly are turned off, resulting in a lower GEM detection efficiency than expected. So, I decided to backport #37954 to 12_3_X.

@cmsbuild
Copy link
Contributor

cmsbuild commented Jun 11, 2022

A new Pull Request was created by @seungjin-yang (Seungjin Yang) for CMSSW_12_3_X.

It involves the following packages:

  • DQM/GEM (dqm)

@emanueleusai, @ahmad3213, @cmsbuild, @jfernan2, @pmandrik, @micsucmed, @rvenditti can you please review it and eventually sign? Thanks.
@watson-ij 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

@seungjin-yang
Copy link
Contributor Author

@jshlee @quark2

@emanueleusai
Copy link
Member

please test

@cmsbuild
Copy link
Contributor

+1

Summary: https://cmssdt.cern.ch/SDT/jenkins-artifacts/pull-request-integration/PR-dc1332/25471/summary.html
COMMIT: 7721163
CMSSW: CMSSW_12_3_X_2022-06-12-2300/slc7_amd64_gcc10
User test area: For local testing, you can use /cvmfs/cms-ci.cern.ch/week1/cms-sw/cmssw/38330/25471/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: 4 differences found in the comparisons
  • DQMHistoTests: Total files compared: 49
  • DQMHistoTests: Total histograms compared: 3621451
  • DQMHistoTests: Total failures: 7
  • DQMHistoTests: Total nulls: 1
  • DQMHistoTests: Total successes: 3621421
  • DQMHistoTests: Total skipped: 22
  • DQMHistoTests: Total Missing objects: 0
  • DQMHistoSizes: Histogram memory added: -1085.1599999999999 KiB( 48 files compared)
  • DQMHistoSizes: changed ( 11634.0,... ): -30.252 KiB GEM/Efficiency
  • DQMHistoSizes: changed ( 23234.0,... ): -57.619 KiB GEM/Efficiency
  • DQMHistoSizes: changed ( 312.0 ): -0.004 KiB MessageLogger/Warnings
  • DQMHistoSizes: changed ( 35034.0,... ): -116.275 KiB GEM/Efficiency
  • Checked 205 log files, 45 edm output root files, 49 DQM output files
  • TriggerResults: no differences found

@emanueleusai
Copy link
Member

testing at P5

@emanueleusai
Copy link
Member

type gem

@cmsbuild cmsbuild added the gem label Jun 14, 2022
@emanueleusai
Copy link
Member

backport of #37954

@emanueleusai
Copy link
Member

tests at P5 completed successfully

@emanueleusai
Copy link
Member

+1

@cmsbuild
Copy link
Contributor

This pull request is fully signed and it will be integrated in one of the next CMSSW_12_3_X IBs (tests are also fine) and once validation in the development release cycle CMSSW_12_5_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

PR description:

This PR is a backport of #37954. This PR turns on the muon propagation error cuts, which mistakenly were turned off via #36883.

Just to understand: is this large PR needed as a whole in the data-taking release 12_3_X just to turn on the muon propagation error cuts? If that's the only reason, perhaps a simpler fix could have been enough.

By the way, with respect to the PR in the master here the files that implement the GEMOfflineDQMBase class are not removed: was there any reason for it?

@cmsbuild
Copy link
Contributor

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

@seungjin-yang
Copy link
Contributor Author

Hi @perrotta, this PR not only turns on propagation error cuts but also provides a more reliable GEM detection efficiency measurement. So, I want to backport this PR to 12_3_X.
Also, I removed GEMOfflineDQMBase, which was replaced by GEMDQMEfficiencySourceBase. Thank you for pointing this out!

@perrotta
Copy link
Contributor

please test

@cmsbuild
Copy link
Contributor

+1

Summary: https://cmssdt.cern.ch/SDT/jenkins-artifacts/pull-request-integration/PR-dc1332/25612/summary.html
COMMIT: 42b08cb
CMSSW: CMSSW_12_3_X_2022-06-19-0000/slc7_amd64_gcc10
User test area: For local testing, you can use /cvmfs/cms-ci.cern.ch/week0/cms-sw/cmssw/38330/25612/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: 8 differences found in the comparisons
  • DQMHistoTests: Total files compared: 49
  • DQMHistoTests: Total histograms compared: 3622198
  • DQMHistoTests: Total failures: 13
  • DQMHistoTests: Total nulls: 1
  • DQMHistoTests: Total successes: 3622162
  • DQMHistoTests: Total skipped: 22
  • DQMHistoTests: Total Missing objects: 0
  • DQMHistoSizes: Histogram memory added: -1085.1599999999999 KiB( 48 files compared)
  • DQMHistoSizes: changed ( 11634.0,... ): -30.252 KiB GEM/Efficiency
  • DQMHistoSizes: changed ( 23234.0,... ): -57.619 KiB GEM/Efficiency
  • DQMHistoSizes: changed ( 312.0 ): -0.004 KiB MessageLogger/Warnings
  • DQMHistoSizes: changed ( 35034.0,... ): -116.275 KiB GEM/Efficiency
  • Checked 205 log files, 45 edm output root files, 49 DQM output files
  • TriggerResults: no differences found

@emanueleusai
Copy link
Member

+1

@cmsbuild
Copy link
Contributor

This pull request is fully signed and it will be integrated in one of the next CMSSW_12_3_X IBs (tests are also fine) and once validation in the development release cycle CMSSW_12_5_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

+1

@cmsbuild cmsbuild merged commit cf69acf into cms-sw:CMSSW_12_3_X Jun 23, 2022
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