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
Consumes migration for PFSimParticleProducer in RecoParticleFlow/PFSimProducer #12496
Conversation
A new Pull Request was created by @schoef for CMSSW_7_6_X. It involves the following packages: RecoParticleFlow/PFSimProducer @cmsbuild, @cvuosalo, @davidlange6, @slava77 can you please review it and eventually sign? Thanks. Following commands in first line of a comment are recognized
|
@cmsbuild please test |
The tests are being triggered in jenkins. |
Shouldn't the EDProducer inheritance in PFSimParticleProducer.h be fixed for thread safety? The static analyzer complains about it.
|
@cvuosalo Is this the fix? |
@schoef: Yes, I think that will work. |
@schoef: On second thought, ::stream won't won't be reliable if there is non-thread-safe code somewhere in this producer. When you make the change, please test in multi-threaded mode to check for problems. To do so, you can append the following to your config file:
|
@cvuosalo Indeed, that test fails. |
@schoef This code will need to be (completely) rewritten to be even thread friendly. Recommend that for now you use |
@lgray OK, afaik this producer isn't currently used anywhere except in JME studies. That's why I'm making the small updates. |
Pull request #12496 was updated. @cmsbuild, @cvuosalo, @davidlange6, @slava77 can you please check and sign again. |
Pull request #12496 was updated. @cmsbuild, @cvuosalo, @davidlange6, @slava77 can you please check and sign again. |
@schoef: Chris says |
@cvuosalo Yes, that works. |
Pull request #12496 was updated. @cmsbuild, @cvuosalo, @davidlange6, @slava77 can you please check and sign again. |
@cmsbuild please test |
The tests are being triggered in jenkins. |
This pull request is fully signed and it will be integrated in one of the next CMSSW_7_6_X IBs (tests are also fine). This pull request requires discussion in the ORP meeting before it's merged. @slava77, @davidlange6, @Degano, @smuzaffar |
@schoef: Please make an 80X version of this PR. Thanks. |
+1 |
Consumes migration for PFSimParticleProducer in RecoParticleFlow/PFSimProducer
Consumes migration for PFSimParticleProducer in RecoParticleFlow/PFSimProducer