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
Change puppi weight compression #23414
Conversation
The code-checks are being triggered in jenkins. |
+code-checks Logs: https://cmssdt.cern.ch/SDT/code-checks/cms-sw-PR-23414/4954 |
A new Pull Request was created by @ahinzmann for master. It involves the following packages: CommonTools/PileupAlgos @perrotta, @monttj, @cmsbuild, @slava77, @gpetruc, @arizzi can you please review it and eventually sign? Thanks. cms-bot commands are listed here |
@cmsbuild please test |
The tests are being triggered in jenkins. |
Comparison job queued. |
Comparison is ready Comparison Summary:
|
This is how do puppi weights get modified by this PR (from the jenkins comparisons in the SinglePh2017B 136.788 workflow) @ahinzmann for my own education. could you please describe in some detail how do the weights move from the old black curve to the new red one? |
On 6/8/18 1:31 AM, perrotta wrote:
This is how do puppi weights get modified by this PR (from the jenkins
comparisons in the SinglePh2017B 136.788 workflow)
image
<https://user-images.githubusercontent.com/4069749/41146994-6d0771f6-6b05-11e8-8835-3e90c1c91f45.png>
@ahinzmann <https://github.com/ahinzmann> for my own education. could
you please describe in some detail how do the weights move from the old
black curve to the new red one?
The hole between 0.45 and 0.55 is still there: I am missing why...
What is the meaning/origin of the few weights larger than 1?
One thing to keep in mind is that the jenkins plotting for these plots
is first loading the old file and then the new file.
This means that the dictionaries of the old file will be applied to read
the data from the files.
I suggest to download the .root files locally and rerun the script
inverting the order or "old" and "new" arguments.
|
+1
|
+1 |
merge |
Adresses issue #23366.
The puppi weight is stored with linear instead of log scale compression to 8 bits.
The new compression scheme has improved precision for weights around 0.5, while is was at 10% level before (see https://github.com/cms-sw/cmssw/files/2045014/weight_not_charged_data_MC.pdf)
The iorules allow to read files created with older releases within the precision of the old an new compression schemes.
The size increase was check with 1000 ttbar events with patMiniAOD_standard_cfg.
before this commit
patPackedCandidates_packedPFCandidates__PAT. 136489 20525
after this commit
patPackedCandidates_packedPFCandidates__PAT. 136489 20540.4
In addition, the puppi weight is now set for packed candidates created by the PUPPI algorithm, when cloning the packed candidates from MiniAOD.