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

adding decays and first daugthers for bph studies #18086

Merged
merged 2 commits into from Apr 5, 2017

Conversation

alberto-sanchez
Copy link
Member

@alberto-sanchez alberto-sanchez commented Mar 27, 2017

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/

@cmsbuild
Copy link
Contributor

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.
@TaiSakuma, @gouskos, @imarches, @ahinzmann, @acaudron, @mmarionncern, @rappoccio, @jdolen, @nhanvtran, @gpetruc, @gkasieczka, @schoef, @ferencek, @mverzett, @mariadalfonso, @pvmulder, @JyothsnaKomaragiri this is something you requested to watch as well.
@Muzaffar, @davidlange6, @smuzaffar you are the release manager for this.

cms-bot commands are listed here #13028

@perrotta
Copy link
Contributor

please test

@cmsbuild
Copy link
Contributor

cmsbuild commented Mar 27, 2017

The tests are being triggered in jenkins.
https://cmssdt.cern.ch/jenkins/job/ib-any-integration/18706/console Started: 2017/03/27 07:43

@cmsbuild
Copy link
Contributor

@cmsbuild
Copy link
Contributor

Comparison job queued.

@cmsbuild
Copy link
Contributor

"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)",
Copy link
Contributor

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++ ?

Copy link
Member Author

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.

@arizzi
Copy link
Contributor

arizzi commented Mar 27, 2017 via email

@alberto-sanchez
Copy link
Member Author

@arizzi, sure!. I have already put as part of my report.

@arizzi
Copy link
Contributor

arizzi commented Mar 28, 2017

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
"drop *", # this is the default
"++keep abs(pdgId) == 11 || abs(pdgId) == 13 || abs(pdgId) == 15", # keep leptons, with history
"drop status == 2", # drop the shower part of the history
"keep++ (400 < abs(pdgId) < 600) || (4000 < abs(pdgId) < 6000)",
"drop status == 1", # drop the status=1 from BPH
"keep abs(pdgId) == 11 || abs(pdgId) == 13 || abs(pdgId) == 15", # keep leptons (also status1)
"keep abs(pdgId) == 12 || abs(pdgId) == 14 || abs(pdgId) == 16", # keep neutrinos

@cmsbuild
Copy link
Contributor

Pull request #18086 was updated. @perrotta, @cmsbuild, @slava77, @monttj, @davidlange6 can you please check and sign again.

@alberto-sanchez
Copy link
Member Author

@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.

@arizzi
Copy link
Contributor

arizzi commented Mar 30, 2017

What are the new size increase numbers?

@alberto-sanchez
Copy link
Member Author

@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.

@slava77
Copy link
Contributor

slava77 commented Mar 31, 2017

@cmsbuild please test

@cmsbuild
Copy link
Contributor

cmsbuild commented Mar 31, 2017

The tests are being triggered in jenkins.
https://cmssdt.cern.ch/jenkins/job/ib-any-integration/18816/console Started: 2017/03/31 08:43

@cmsbuild
Copy link
Contributor

@cmsbuild
Copy link
Contributor

Comparison job queued.

@arizzi
Copy link
Contributor

arizzi commented Mar 31, 2017 via email

@cmsbuild
Copy link
Contributor

@slava77
Copy link
Contributor

slava77 commented Apr 3, 2017

+1

for #18086 276af61

  • updates to prunedGenParticles_cfi.py are in line with the PR description.
  • jenkins tests pass and comparisons with baseline show no differences
  • local test with 2K events of 910pre1 ttbar PU35 2017 wflow with PAT shows about 0.9% increase in size of prunedGenParticles

"drop status == 2", # drop the shower part of the history
"keep++ (400 < abs(pdgId) < 600) || (4000 < abs(pdgId) < 6000)", # keep decays for BPH studies
Copy link
Contributor

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?

@arizzi
Copy link
Contributor

arizzi commented Apr 5, 2017 via email

@davidlange6 davidlange6 merged commit d3aa856 into cms-sw:master Apr 5, 2017
@davidlange6
Copy link
Contributor

davidlange6 commented Apr 5, 2017 via email

@alberto-sanchez alberto-sanchez deleted the mc-for-bph branch April 18, 2017 00:40
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

6 participants