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
First steps for using Geant4 MT #4370
Conversation
…nagerMTInit The Service object and the objects from EventSetup must be retrieved in a CMSSW thread.
Using edm::ParameterSet as a global cache feels a bit dirty, but currently it is needed in globalBeginRun. Maybe OscarMTMasterThread object should be the global cache and have some kind of hooks for begin/endRun().
…roducer Because the SimProducers have to register what they produce
…Master() to beginRun()
In order to use it from RunManagerMTWorker
Introduces a memory leak, but avoids a semi-random segfault.
A new Pull Request was created by @makortel (Matti Kortelainen) for CMSSW_7_2_X. First steps for using Geant4 MT It involves the following packages: SimG4Core/Application @cmsbuild, @civanch, @Degano, @mdhildreth, @nclopezo can you please review it and eventually sign? Thanks. |
+1 |
This pull request is fully signed and it will be integrated in one of the next CMSSW_7_2_X IBs unless changes or unless it breaks tests. |
First steps for using Geant4 MT
This PR takes first steps towards using Geant4MT in CMSSW. Most modifications are in OscarMTProducer and in new MT-specific classes in order to not interfere with the current OscarProducer. DDDWorld was, however, slightly modified, but the changes should be fine for OscarProducer.
What is implemented:
Changes have been tested such that when splitting the step1 of wf 1.0 to GEN and SIM parts, the SIM job does not crash with OscarMTProducer.
Should not affect regular OscarProducer.
Presented in Simulation meeting June 24 2014 https://indico.cern.ch/event/323926/
FYI @civanch, @davidlange6, @Dr15Jones