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
adding decays and first daugthers for bph studies #18086
Conversation
A new Pull Request was created by @alberto-sanchez (Alberto Sanchez Hernandez) for master. It involves the following packages: PhysicsTools/PatAlgos @perrotta, @cmsbuild, @slava77, @monttj, @davidlange6 can you please review it and eventually sign? Thanks. cms-bot commands are listed here #13028 |
please test |
The tests are being triggered in jenkins. |
Comparison job queued. |
"keep abs(pdgId) == 443 || abs(pdgId) == 100443 || abs(pdgId) == 10441 || abs(pdgId) == 20443 || abs(pdgId) == 445 || abs(pdgId) == 30443", | ||
"keep abs(pdgId) == 553 || abs(pdgId) == 100553 || abs(pdgId) == 200553 || abs(pdgId) == 10551 || abs(pdgId) == 20553 || abs(pdgId) == 555", | ||
# keep b and c hadrons for hadron-based jet flavour, and decays for BPH studies | ||
"keep++ (400 < abs(pdgId) < 600) || (4000 < abs(pdgId) < 6000)", |
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.
didn't we agree to keep only first generation daughters? (given that packed Gen are anyhow available?)
How much the size increase changes if you change the above line to keep+ rather than keep++ ?
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.
No, if I understood correctly we asked for keep++. Anyway I have tested and is required to have this, otherwise some hadrons like eta, rho, omega, pi0, K0, K0L, among other will be missing. I currently do not have the size from the relval sample, I am laughing jobs. But the count of pruner particles with keep++ increase by 16.5% in average, while for keep+, just about 13% in my test samples.
mh, let's discuss this at XPOG tomorrow
…On Mon, Mar 27, 2017 at 7:39 PM, Alberto Sanchez Hernandez < ***@***.***> wrote:
***@***.**** commented on this pull request.
------------------------------
In PhysicsTools/PatAlgos/python/slimming/prunedGenParticles_cfi.py
<#18086 (comment)>:
> @@ -20,12 +20,13 @@
"keep (4 <= abs(pdgId) <= 5)",
# keep light-flavour quarks and gluons for parton-based jet flavour
"keep (1 <= abs(pdgId) <= 3 || pdgId = 21) & (status = 2 || status = 11 || status = 71 || status = 72) && pt>5",
-# keep b and c hadrons for hadron-based jet flavour
- "keep (400 < abs(pdgId) < 600) || (4000 < abs(pdgId) < 6000)",
-# keep onia states
- "keep abs(pdgId) == 333",
- "keep abs(pdgId) == 443 || abs(pdgId) == 100443 || abs(pdgId) == 10441 || abs(pdgId) == 20443 || abs(pdgId) == 445 || abs(pdgId) == 30443",
- "keep abs(pdgId) == 553 || abs(pdgId) == 100553 || abs(pdgId) == 200553 || abs(pdgId) == 10551 || abs(pdgId) == 20553 || abs(pdgId) == 555",
+# keep b and c hadrons for hadron-based jet flavour, and decays for BPH studies
+ "keep++ (400 < abs(pdgId) < 600) || (4000 < abs(pdgId) < 6000)",
No, if I understood correctly we asked for keep++. Anyway I have tested
and is required to have this, otherwise some hadrons like eta, rho, omega,
pi0, K0, K0L, among other will be missing. I currently do not have the size
from the relval sample, I am laughing jobs. But the count of pruner
particles with keep++ increase by 16.5% in average, while for keep+, just
about 13% in my test samples.
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub
<#18086 (comment)>, or mute
the thread
<https://github.com/notifications/unsubscribe-auth/AEyili43jX3DRw6r8Cs33ftaHNiA93fUks5rp_RCgaJpZM4Mpwad>
.
|
@arizzi, sure!. I have already put as part of my report. |
following the XPOG discussion, we would need to remove the status 1 added by this change so I'd move higher in the config B phys following this logic |
@arizzi, reworking the logic as you suggest, reduce the amount of pruners and issues with lifetime determination are also resolved by adding the first daughters. |
What are the new size increase numbers? |
@arizzi. I already update the description with the new numbers. It is about 466 Bytes/Event and which represents an increase of 0.9% in the total miniaod. |
@cmsbuild please test |
The tests are being triggered in jenkins. |
Comparison job queued. |
I think we can survive with this size increase without further optimization
(such as keeping only one daughter or stuff like that) given that ttbar is
anyhow a biased sample (there are always 2 B and many D) so the relative
increase in average samples is smaller/
…On Fri, Mar 31, 2017 at 10:08 AM, cmsbuild ***@***.***> wrote:
+1
Tested at: 276af61
<276af61>
https://cmssdt.cern.ch/SDT/jenkins-artifacts/pull-
request-integration/PR-18086/18816/summary.html
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
<#18086 (comment)>, or mute
the thread
<https://github.com/notifications/unsubscribe-auth/AEyilnCs5dMaGtt6fIGF5MAqR66VfY1Hks5rrLRggaJpZM4Mpwad>
.
|
+1 for #18086 276af61
|
"drop status == 2", # drop the shower part of the history | ||
"keep++ (400 < abs(pdgId) < 600) || (4000 < abs(pdgId) < 6000)", # keep decays for BPH studies |
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.
hi @alberto-sanchez - for my information what does keep vs keep+ vs keep++ mean in this syntax?
k++ = recursive keep daughters
k+ = just first generation daughters
…On Wed, Apr 5, 2017 at 9:20 AM, David Lange ***@***.***> wrote:
***@***.**** commented on this pull request.
------------------------------
In PhysicsTools/PatAlgos/python/slimming/prunedGenParticles_cfi.py
<#18086 (comment)>:
> "drop status == 2", # drop the shower part of the history
+ "keep++ (400 < abs(pdgId) < 600) || (4000 < abs(pdgId) < 6000)", # keep decays for BPH studies
hi @alberto-sanchez <https://github.com/alberto-sanchez> - for my
information what does keep vs keep+ vs keep++ mean in this syntax?
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
<#18086 (review)>,
or mute the thread
<https://github.com/notifications/unsubscribe-auth/AEyilg-2obyGRzciDCuE396FT31x3E6Nks5rs0DXgaJpZM4Mpwad>
.
|
+1
but gaack
… On Apr 5, 2017, at 9:25 AM, arizzi ***@***.***> wrote:
k++ = recursive keep daughters
k+ = just first generation daughters
On Wed, Apr 5, 2017 at 9:20 AM, David Lange ***@***.***>
wrote:
> ***@***.**** commented on this pull request.
> ------------------------------
>
> In PhysicsTools/PatAlgos/python/slimming/prunedGenParticles_cfi.py
> <#18086 (comment)>:
>
> > "drop status == 2", # drop the shower part of the history
> + "keep++ (400 < abs(pdgId) < 600) || (4000 < abs(pdgId) < 6000)", # keep decays for BPH studies
>
> hi @alberto-sanchez <https://github.com/alberto-sanchez> - for my
> information what does keep vs keep+ vs keep++ mean in this syntax?
>
> —
> You are receiving this because you were mentioned.
> Reply to this email directly, view it on GitHub
> <#18086 (review)>,
> or mute the thread
> <https://github.com/notifications/unsubscribe-auth/AEyilg-2obyGRzciDCuE396FT31x3E6Nks5rs0DXgaJpZM4Mpwad>
> .
>
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub, or mute the thread.
|
This will allow to store b-hadron decays and first daugthers of onia-like states, needed for BPH studies (signal or background). This will increase the size of the pruner list, which contains all important information for about 466 Bytes/Event (after the last modification), when measured with the ttbar relval sample
/RelValTTbar_13/CMSSW_9_0_0_pre4-PU25ns_90X_upgrade2017_realistic_v6-v1/GEN-SIM-RECO
this represent about 0.9% of the current MINIAODSIM size. Details of this addition/validation were shown in the xPOG forum: https://indico.cern.ch/event/626270/