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

Add Pythia8 UserHook for Resonance decay filtering #12901

Merged
merged 3 commits into from Jan 29, 2016

Conversation

bendavid
Copy link
Contributor

Allows to retry resonance decays until desired configuration is present. This is much faster than filtering at the event level, since only the resonance decays are retried. It also works for LHE input without throwing away any events, with the caveat that only the decays handled by pythia are retried (but decay products from the lhe level can still be included in the counting, eg for counting the combined number of leptons at LHE + pythia decay level for Higgs associated production, etc)

In order for this new userhook to work with jet matching, emission veto, etc, a further UserHook was required to act as a generic mechanism to run multiple user hooks simultaneously (and this is now used by default)

An example gen fragment is provided in
GeneratorInterface/Pythia8Interface/test/resonanceDecayFilter.py

Immediate use case is some SUSY signal generation which requires some filtering of Higgs decays (two Higgs in each event and requesting at least one H->gamma gamma decay)

@cmsbuild
Copy link
Contributor

A new Pull Request was created by @bendavid (Josh Bendavid) for CMSSW_8_0_X.

It involves the following packages:

GeneratorInterface/Pythia8Interface

@vciulli, @covarell, @thuer, @cmsbuild, @bendavid, @davidlange6, @govoni can you please review it and eventually sign? Thanks.
@mkirsano this is something you requested to watch as well.
@slava77, @Degano, @smuzaffar you are the release manager for this.

Following commands in first line of a comment are recognized

  • +1|approve[d]|sign[ed]: L1/L2's to approve it
  • -1|reject[ed]: L1/L2's to reject it
  • assign <category>[,<category>[,...]]: L1/L2's to request signatures from other categories
  • unassign <category>[,<category>[,...]]: L1/L2's to remove signatures from other categories
  • hold: L1/all L2's/release manager to mark it as on hold
  • unhold: L1/user who put this PR on hold
  • merge: L1/release managers to merge this request
  • [@cmsbuild,] please test: L1/L2 and selected users to start jenkins tests
  • [@cmsbuild,] please test with cms-sw/cmsdist#<PR>: L1/L2 and selected users to start jenkins tests using externals from cmsdist

@bendavid
Copy link
Contributor Author

@smrenna

@bendavid
Copy link
Contributor Author

@covarell @govoni any chance to move this forward?

@covarell
Copy link
Contributor

I was waiting for comments from @smrenna

@smrenna
Copy link
Contributor

smrenna commented Jan 21, 2016

I will look at this today. Josh and I discussed this, but I have not actually looked at the code yet.

@smrenna
Copy link
Contributor

smrenna commented Jan 21, 2016

I just added a comment to the code, where I think there is one mistake. Otherwise, it looks okay. I may have time to try it out later today, but, otherwise, I think you should commit and we can address any issues afterwards. Josh, do you have some validation plots or tables that demonstrate it does what we want?

@bendavid
Copy link
Contributor Author

I checked with the JetMatchingMadgraph hook that the jet matching results don't change adding this code and combining with the resonance decay filter. Of course that doesn't test the full range of possible UserHook functionality.

@bendavid
Copy link
Contributor Author

And yes, agreed there is one mistake in the protections for multiple incompatible hooks, fixing now.

@cmsbuild
Copy link
Contributor

Pull request #12901 was updated. @vciulli, @covarell, @thuer, @cmsbuild, @bendavid, @davidlange6, @govoni can you please check and sign again.

@bendavid
Copy link
Contributor Author

Ok the issue with the protections is fixed now.

@covarell
Copy link
Contributor

+1

@cmsbuild
Copy link
Contributor

The tests are being triggered in jenkins.
https://cmssdt.cern.ch/jenkins/job/ib-any-integration/10668/console

@cmsbuild
Copy link
Contributor

This pull request is fully signed and it will be integrated in one of the next CMSSW_8_0_X IBs after it passes the integration tests. This pull request requires discussion in the ORP meeting before it's merged. @slava77, @davidlange6, @Degano, @smuzaffar

@cmsbuild
Copy link
Contributor

@govoni
Copy link
Contributor

govoni commented Jan 25, 2016

+1

@cmsbuild
Copy link
Contributor

The tests are being triggered in jenkins.
https://cmssdt.cern.ch/jenkins/job/ib-any-integration/10713/console

@cmsbuild
Copy link
Contributor

This pull request is fully signed and it will be integrated in one of the next CMSSW_8_0_X IBs after it passes the integration tests. This pull request requires discussion in the ORP meeting before it's merged. @slava77, @davidlange6, @Degano, @smuzaffar

@cmsbuild
Copy link
Contributor

-1
Tested at: 9785cd1
When I ran the RelVals I found an error in the following worklfows:
134.911 step1

DAS Error

you can see the results of the tests here:
https://cmssdt.cern.ch/SDT/jenkins-artifacts/pull-request-integration/PR-12901/10713/summary.html

@bendavid
Copy link
Contributor Author

please test

@cmsbuild
Copy link
Contributor

The tests are being triggered in jenkins.
https://cmssdt.cern.ch/jenkins/job/ib-any-integration/10748/console

@cmsbuild
Copy link
Contributor

@cmsbuild
Copy link
Contributor

@davidlange6
Copy link
Contributor

+1

cmsbuild added a commit that referenced this pull request Jan 29, 2016
Add Pythia8 UserHook for Resonance decay filtering
@cmsbuild cmsbuild merged commit 81a912b into cms-sw:CMSSW_8_0_X Jan 29, 2016
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