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
StoppedParticles Bug Fix #8282
StoppedParticles Bug Fix #8282
Conversation
A new Pull Request was created by @jalimena (Juliette Alimena) for CMSSW_7_5_X. StoppedParticles Bug Fix It involves the following packages: SimG4Core/CustomPhysics @cmsbuild, @civanch, @nclopezo, @mdhildreth can you please review it and eventually sign? Thanks. |
@jalimena , is it possible to substitute std::cout by LogVerbatum() ? |
The couts are within the if(mDebug) statement, but if you prefer for me to change this to LogVerbatum() or LogDebug(), I can do that. Identifying the particles by pdg code would be nice, although I'm not sure how practical it is, given that some of the models considered make RHadrons and thus a fairly long list of particles are considered. What I did was to fix the code in the same way it was written, in order to make it work for the antiparticles. However, I can try to change the code to identify them by pdgId, if that's best. Let me know. |
@jalimena , let us substitute std::cout in this PR, this does not require any rethinking on the code. Method of particle identification can be updated next time if a good solution will be proposed. |
Ok sounds good, done. Thanks! |
This pull request is fully signed and it will be integrated in one of the next CMSSW_7_5_X IBs unless changes or unless it breaks tests. This pull request requires discussion in the ORP meeting before it's merged. @davidlange6, @nclopezo, @ktf, @smuzaffar |
+1 |
The purpose of this PR is to: