-
Notifications
You must be signed in to change notification settings - Fork 4.3k
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
Conversation
+code-checks Logs: https://cmssdt.cern.ch/SDT/code-checks/cms-sw-PR-43304/37745
|
A new Pull Request was created by @peteryouBuffalo for master. It involves the following packages:
@syuvivida, @fabiocos, @davidlange6, @rappoccio, @nothingface0, @antoniovagnerini, @antoniovilela, @cmsbuild, @rvenditti, @tjavaid can you please review it and eventually sign? Thanks. cms-bot commands are listed here |
type pf |
@cmsbuild please test |
+1 Summary: https://cmssdt.cern.ch/SDT/jenkins-artifacts/pull-request-integration/PR-d91dab/35935/summary.html Comparison SummarySummary:
|
@@ -16,6 +16,7 @@ | |||
import collections | |||
from subprocess import Popen,PIPE | |||
import FWCore.ParameterSet.DictTypes as DictTypes | |||
from FWCore.ParameterSet.OrderedSet import OrderedSet |
There was a problem hiding this comment.
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
.
There was a problem hiding this comment.
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.
There was a problem hiding this comment.
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)
There was a problem hiding this comment.
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.
There was a problem hiding this comment.
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.
0715759
to
0adf85b
Compare
+code-checks Logs: https://cmssdt.cern.ch/SDT/code-checks/cms-sw-PR-43304/37793
|
Pull request #43304 was updated. @antoniovagnerini, @cmsbuild, @nothingface0, @rvenditti, @tjavaid, @syuvivida can you please check and sign again. |
please test |
+1 Summary: https://cmssdt.cern.ch/SDT/jenkins-artifacts/pull-request-integration/PR-d91dab/35970/summary.html Comparison SummarySummary:
|
+1
|
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) |
Are we closing #39902 in favor of this one? |
Yes |
+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)); |
There was a problem hiding this comment.
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?
There was a problem hiding this comment.
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
?
There was a problem hiding this comment.
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.
There was a problem hiding this comment.
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
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.