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

remove unnecessary check in HLT-DQM module #36126

Merged
merged 2 commits into from Nov 15, 2021

Conversation

missirol
Copy link
Contributor

PR description:

This PR removes an unnecessary check in a DQM module related to HLT.

It addresses #23200 (more details can be found in the latter issue).

It also includes a small bugfix found along the way. The latter might lead to differences in some DQM outputs (1 ME of HLTObjectsMonitor).

PR validation:

scram builds.

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

N/A

@cmsbuild
Copy link
Contributor

+code-checks

Logs: https://cmssdt.cern.ch/SDT/code-checks/cms-sw-PR-36126/26636

  • This PR adds an extra 20KB to repository

@cmsbuild
Copy link
Contributor

A new Pull Request was created by @missirol (Marino Missiroli) for master.

It involves the following packages:

  • DQM/HLTEvF (dqm, hlt)

@Martin-Grunewald, @emanueleusai, @ahmad3213, @cmsbuild, @missirol, @jfernan2, @pmandrik, @pbo0, @rvenditti can you please review it and eventually sign? Thanks.
@silviodonato, @mtosi 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

please test

@@ -481,7 +481,7 @@ void HLTObjectsMonitor::analyze(const edm::Event& iEvent, const edm::EventSetup&
if (key != key1 &&
kCnt1 > kCnt0) { // avoid filling hists with same objs && avoid double counting separate objs

double pt2 = objects[key1].phi();
double pt2 = objects[key1].pt();
double eta2 = objects[key1].eta();
double phi2 = objects[key1].phi();
int id2 = objects[key1].id();
Copy link
Contributor Author

Choose a reason for hiding this comment

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

One note (maybe just to myself) which goes a bit beyond this PR.

I was trying to figure out why the original warning quoted 89 and 0 as "object IDs", while the trigger-IDs of the objects created by HLTHtMhtFilter are 89 and 90 [1] [2].

The answer is in the implementation of TriggerSummaryProducerAOD, and the bottom line is that one can get the correct IDs using TriggerEvent::filterIds (in analogy to TriggerEvent::filterKeys), instead of relying on TriggerObject::id (which is what is currently done in this DQM module). Martin can correct me if I misunderstood this.

@missirol
Copy link
Contributor Author

missirol commented Nov 15, 2021

The PR tests seem stuck on addon. I wouldn't know better than aborting them, and redoing them from scratch.
Tagging @smuzaffar , in case he wants to suggest a better course of action.

@smuzaffar
Copy link
Contributor

@missirol , there was some problem with build nodes which is fixed now. addon job is running now

@missirol
Copy link
Contributor Author

Thanks, @smuzaffar !

@cmsbuild
Copy link
Contributor

+1

Summary: https://cmssdt.cern.ch/SDT/jenkins-artifacts/pull-request-integration/PR-8eba43/20531/summary.html
COMMIT: 4c9e712
CMSSW: CMSSW_12_2_X_2021-11-14-2300/slc7_amd64_gcc900
User test area: For local testing, you can use /cvmfs/cms-ci.cern.ch/week1/cms-sw/cmssw/36126/20531/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: 42
  • DQMHistoTests: Total histograms compared: 3320802
  • DQMHistoTests: Total failures: 6
  • DQMHistoTests: Total nulls: 0
  • DQMHistoTests: Total successes: 3320774
  • DQMHistoTests: Total skipped: 22
  • DQMHistoTests: Total Missing objects: 0
  • DQMHistoSizes: Histogram memory added: 0.0 KiB( 41 files compared)
  • Checked 177 log files, 37 edm output root files, 42 DQM output files
  • TriggerResults: no differences found

@jfernan2
Copy link
Contributor

+1

@missirol
Copy link
Contributor Author

+hlt

@cmsbuild
Copy link
Contributor

This pull request is fully signed and it will be integrated in one of the next master IBs (tests are also fine). 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 74583a7 into cms-sw:master Nov 15, 2021
@missirol missirol deleted the devel_fix23200 branch November 15, 2021 22:42
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.

None yet

5 participants