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

UPDATED: Adding of jet purity and efficiency plots to PFValidation package #43304

Merged
merged 1 commit into from
Nov 28, 2023

Conversation

peteryouBuffalo
Copy link
Contributor

PR description:

This pull request is a revision of a previous open pull request (#39902) which added plots for comparison of purity and reconstruction efficiency of jets. In the original PR there were extraneous plots being produced and some spacing issues; this PR fixes those and updates compatibility to the current master.
@laurenhay

PR validation:

Ran the PF validation and ensured that the new plots were being produced. Also did typical scram code checks and code format.

@cmsbuild
Copy link
Contributor

+code-checks

Logs: https://cmssdt.cern.ch/SDT/code-checks/cms-sw-PR-43304/37745

@cmsbuild
Copy link
Contributor

A new Pull Request was created by @peteryouBuffalo for master.

It involves the following packages:

  • Configuration/Applications (operations)
  • Validation/RecoParticleFlow (dqm)

@syuvivida, @fabiocos, @davidlange6, @rappoccio, @nothingface0, @antoniovagnerini, @antoniovilela, @cmsbuild, @rvenditti, @tjavaid can you please review it and eventually sign? Thanks.
@makortel, @missirol, @fabiocos, @Martin-Grunewald, @hatakeyamak this is something you requested to watch as well.
@antoniovilela, @sextonkennedy, @rappoccio you are the release manager for this.

cms-bot commands are listed here

@swagata87
Copy link
Contributor

type pf

@cmsbuild cmsbuild added the pf label Nov 18, 2023
@swagata87
Copy link
Contributor

@cmsbuild please test

@cmsbuild
Copy link
Contributor

+1

Summary: https://cmssdt.cern.ch/SDT/jenkins-artifacts/pull-request-integration/PR-d91dab/35935/summary.html
COMMIT: 0715759
CMSSW: CMSSW_14_0_X_2023-11-17-2300/el8_amd64_gcc12
User test area: For local testing, you can use /cvmfs/cms-ci.cern.ch/week1/cms-sw/cmssw/43304/35935/install.sh to create a dev area with all the needed externals and cmssw changes.

Comparison Summary

Summary:

  • You potentially removed 63 lines from the logs
  • Reco comparison results: 15 differences found in the comparisons
  • DQMHistoTests: Total files compared: 50
  • DQMHistoTests: Total histograms compared: 3363868
  • DQMHistoTests: Total failures: 1852
  • DQMHistoTests: Total nulls: 0
  • DQMHistoTests: Total successes: 3361994
  • DQMHistoTests: Total skipped: 22
  • DQMHistoTests: Total Missing objects: 0
  • DQMHistoSizes: Histogram memory added: 802.5509999999997 KiB( 49 files compared)
  • DQMHistoSizes: changed ( 10024.0,... ): 24.809 KiB ParticleFlow/JetResponse
  • DQMHistoSizes: changed ( 10024.0,... ): 0.812 KiB ParticleFlow/Offset
  • DQMHistoSizes: changed ( 25.0,... ): 10.494 KiB ParticleFlow/JetResponse
  • Checked 214 log files, 167 edm output root files, 50 DQM output files
  • TriggerResults: no differences found

@@ -16,6 +16,7 @@
import collections
from subprocess import Popen,PIPE
import FWCore.ParameterSet.DictTypes as DictTypes
from FWCore.ParameterSet.OrderedSet import OrderedSet
Copy link
Contributor

Choose a reason for hiding this comment

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

These changes are already in the ConfigBuilder.py.

Copy link
Contributor

Choose a reason for hiding this comment

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

Won't it just merge then? Let us know if we need to change anything.

Copy link
Contributor

Choose a reason for hiding this comment

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

In principle yes, but the PR would be cleaner, and avoid the operations signature, if the PR would be rebased to a (pre)release/IB that contains that commit. Or just drop the first commit without rebasing (it is not immediately clear why it would be needed for this PR even in an older release)

Copy link
Contributor

@laurenhay laurenhay Nov 20, 2023

Choose a reason for hiding this comment

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

I see now! I did not notice that we had picked up that commit somehow. We will remove that commit.

Copy link
Contributor

Choose a reason for hiding this comment

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

@makortel done! Sorry again about that.

@cmsbuild
Copy link
Contributor

+code-checks

Logs: https://cmssdt.cern.ch/SDT/code-checks/cms-sw-PR-43304/37793

@cmsbuild
Copy link
Contributor

Pull request #43304 was updated. @antoniovagnerini, @cmsbuild, @nothingface0, @rvenditti, @tjavaid, @syuvivida can you please check and sign again.

@tjavaid
Copy link

tjavaid commented Nov 21, 2023

please test

@cmsbuild
Copy link
Contributor

+1

Summary: https://cmssdt.cern.ch/SDT/jenkins-artifacts/pull-request-integration/PR-d91dab/35970/summary.html
COMMIT: 0adf85b
CMSSW: CMSSW_14_0_X_2023-11-20-2300/el8_amd64_gcc12
User test area: For local testing, you can use /cvmfs/cms-ci.cern.ch/week0/cms-sw/cmssw/43304/35970/install.sh to create a dev area with all the needed externals and cmssw changes.

Comparison Summary

Summary:

  • You potentially removed 104 lines from the logs
  • Reco comparison results: 129 differences found in the comparisons
  • DQMHistoTests: Total files compared: 50
  • DQMHistoTests: Total histograms compared: 3363868
  • DQMHistoTests: Total failures: 2830
  • DQMHistoTests: Total nulls: 0
  • DQMHistoTests: Total successes: 3361016
  • DQMHistoTests: Total skipped: 22
  • DQMHistoTests: Total Missing objects: 0
  • DQMHistoSizes: Histogram memory added: 802.5509999999997 KiB( 49 files compared)
  • DQMHistoSizes: changed ( 10024.0,... ): 24.809 KiB ParticleFlow/JetResponse
  • DQMHistoSizes: changed ( 10024.0,... ): 0.812 KiB ParticleFlow/Offset
  • DQMHistoSizes: changed ( 25.0,... ): 10.494 KiB ParticleFlow/JetResponse
  • Checked 214 log files, 167 edm output root files, 50 DQM output files
  • TriggerResults: no differences found

@tjavaid
Copy link

tjavaid commented Nov 25, 2023

+1

@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. @sextonkennedy, @antoniovilela, @rappoccio (and backports should be raised in the release meeting by the corresponding L2)

@rappoccio
Copy link
Contributor

Are we closing #39902 in favor of this one?

@laurenhay
Copy link
Contributor

Are we closing #39902 in favor of this one?

Yes

@rappoccio
Copy link
Contributor

+1

h_purity->Divide(h_recojet_matched_pt, h_recojet_pt, 1, 1, "B");
h_ratePUJet = (TH1F*)h_recojet_unmatched_pt->Clone();
h_ratePUJet->SetName("h_ratePUJet");
h_ratePUJet->Scale(1. / double(nEvents));
Copy link
Contributor

Choose a reason for hiding this comment

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

What if nEvents is 0?

Copy link
Contributor

Choose a reason for hiding this comment

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

@peteryouBuffalo please consider this comment from @mmusich
Would it be correct to just continue after L126 if nEvents = 0?

Copy link
Contributor Author

@peteryouBuffalo peteryouBuffalo Dec 4, 2023

Choose a reason for hiding this comment

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

Unfortunately, I am not the original author of the changes that were made. However, I can definitely see there being an issue with the case if nEvents == 0. I will try to reach out and discuss with my colleagues at Buffalo who originally started and helped with the original PR (#39902), so we can figure out resolving this specific case. My assumption is that it should be fine to just continue if nEvents == 0, but I will check with others to confirm.

Copy link
Contributor

@mmusich mmusich Dec 12, 2023

Choose a reason for hiding this comment

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

for the record, this was addressed in #43530

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.

9 participants