-
Notifications
You must be signed in to change notification settings - Fork 4.3k
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
Fixes for compatibility with pythia8 212 #11495
Conversation
A new Pull Request was created by @mkirsano (Mikhail Kirsanov) for CMSSW_7_6_X. Fixes for compatibility with pythia8 212 It involves the following packages: GeneratorInterface/Pythia8Interface @vciulli, @covarell, @thuer, @cmsbuild, @bendavid, @govoni can you please review it and eventually sign? Thanks. |
Fixes for compatibility with pythia8 212 (PR cmsdist #1840). Compatible also with pythia8 210, so can be made first. |
@@ -1,5 +1,7 @@ | |||
#include "Pythia8/Pythia.h" | |||
|
|||
using namespace Pythia8; |
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.
Don't think we should have "using namespace" in a header file.
The fix implemented here can cause a memory leak I think. The pointer to fEvAttributes should be initialized to 0 in the constructor of LHAupLesHouches, then (then if the pointer is non-zero it should also be deleted in the destructor for LHAupLesHouches) |
Thanks, Josh, I correct it. I always forget that there can be several runs. |
+1 |
This pull request is fully signed and it will be integrated in one of the next CMSSW_7_6_X IBs after it passes the integration tests. This pull request requires discussion in the ORP meeting before it's merged. @davidlange6, @Degano, @smuzaffar |
@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 after it passes the integration tests. This pull request requires discussion in the ORP meeting before it's merged. @davidlange6, @Degano, @smuzaffar |
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. @davidlange6, @Degano, @smuzaffar |
+1 |
Fixes for compatibility with pythia8 212
No description provided.