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 2 new GenFilters for use by HI photon team #12512

Merged

Conversation

harmonicoscillator
Copy link
Contributor

backport of #12510

These two gen filters for Pythia8 are meant to mimic the older ones used with Pyquen, which can be found here:
https://github.com/cms-sw/cmssw/blob/CMSSW_7_5_X/GeneratorInterface/HiGenCommon/src/EcalGenEvtSelector.cc
https://github.com/cms-sw/cmssw/blob/CMSSW_7_5_X/GeneratorInterface/HiGenCommon/src/EcalGenEvtSelectorFrag.cc

@bi-ran has done some sanity checking between the old filters and new filters which can be found here:
https://twiki.cern.ch/twiki/pub/CMS/MITHIGAnalysis2015/MCFilters.pdf

We would like to include these filters in the 75X series to be used for HI MC production.

add HINEcalGenEvtSelector, based on pyquen version
@cmsbuild
Copy link
Contributor

A new Pull Request was created by @richard-cms (R. Alex Barbieri) for CMSSW_7_5_X.

It involves the following packages:

GeneratorInterface/GenFilters

@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

@harmonicoscillator
Copy link
Contributor Author

Hello,

I realize lots of other, more important things are going on now, but is there an expected timeline that this could end up in 75X? We'd really like to make official MC in 75X with these filters.

@covarell
Copy link
Contributor

Hello,

For what concerns HINEcalGenSelector I cannot see why the same cannot be obtained using two instances in series of:

https://github.com/cms-sw/cmssw/blob/CMSSW_8_0_X/GeneratorInterface/GenFilters/src/MCSingleParticleFilter.cc

for example.

About multi-mother the same could be achieved e.g. modifying

https://github.com/cms-sw/cmssw/blob/CMSSW_8_0_X/GeneratorInterface/GenFilters/src/MCMultiParticleFilter.cc

to accept a vector of mothers.

Please let me know if I misunderstood something.

@harmonicoscillator
Copy link
Contributor Author

@covarell Thanks for the comments. I will take some time to see if I can get the same results using those two filters.

@harmonicoscillator
Copy link
Contributor Author

@covarell What is the least-intrusive method for adding a vector of mothers to https://github.com/cms-sw/cmssw/blob/CMSSW_8_0_X/GeneratorInterface/GenFilters/src/MCMultiParticleFilter.cc ?

I could add the mother vector as an untracked parameter, but sometimes that is frowned upon.

I could add the mother vector as a tracked parameter, but then all previous configs using this filter will break.

Any advice?

@harmonicoscillator
Copy link
Contributor Author

@covarell
After some testing we can definitely remove HINEcalGenSelector in favor of the already-existing filters, thanks very much for the tip.

For PythiaFilterMultiMother, I think we have to choose one of a few options:

  1. Add a new GenFilter (PythiaFilterMultiMother)
  2. Extend MCMultiParticleFilter.cc with tracked parameters, potentially breaking older gen fragments
  3. Extend MCMultiParticleFilter.cc with untracked parameters, which I have a working prototype for but it's causing some crashes.

I would prefer to go with option 1, since it has minimal risk for backwards compatibility, but let me know if there is strong motivation to extend MCMultiParticleFilter and I will continue working on the prototype.

@cmsbuild
Copy link
Contributor

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

@covarell
Copy link
Contributor

+1

@covarell
Copy link
Contributor

I do not see yet the 8_0_X version of this PR, which is needed

@cmsbuild
Copy link
Contributor

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

@cmsbuild
Copy link
Contributor

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

@harmonicoscillator
Copy link
Contributor Author

@covarell I see you found #12510, is that sufficient for 80X version?

@cmsbuild
Copy link
Contributor

@cmsbuild
Copy link
Contributor

@slava77
Copy link
Contributor

slava77 commented Nov 27, 2015

This is just a feature of this release being a production release.

@slava77
Copy link
Contributor

slava77 commented Nov 27, 2015

merge

80X PR is available in #12510
this is all new code MC only

cmsbuild added a commit that referenced this pull request Nov 27, 2015
 Add 2 new GenFilters for use by HI photon team
@cmsbuild cmsbuild merged commit 110a255 into cms-sw:CMSSW_7_5_X Nov 27, 2015
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.

4 participants