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

Migrate More to New Random Service Interface #2457

Merged
merged 1 commit into from Feb 14, 2014

Conversation

wddgit
Copy link
Contributor

@wddgit wddgit commented Feb 13, 2014

Migrate SimWatchers and Hector related simulation code
to use the new interface of the random number generator
service designed to work with the multithreaded Framework.

The SimWatchers are different than other simulation
code because the call stack goes through GEANT
functions and engines cannot be percolated. So
SimWatchers use the global CLHEP engine (which is
the same thing the current version of GEANT does).
This CLHEP global will be a thread_local as soon
as planned changes are made to CLHEP.

The Hector code is different because it has TRandom3
hard coded in its interface, although it turns out
that does not really affect the migration.

Migrate SimWatchers and Hector related simulation code
to use the new interface of the random number generator
service designed to work with the multithreaded Framework.

The SimWatchers are different than other simulation
code because the call stack goes through GEANT
functions and engines cannot be percolated. So
SimWatchers use the global CLHEP engine (which is
the same thing the current version of GEANT does).
This CLHEP global will be a thread_local as soon
as planned changes are made to CLHEP.

The Hector code is different because it has TRandom3
hard coded in its interface, although it turns out
that does not really affect the migration.
@cmsbuild
Copy link
Contributor

A new Pull Request was created by @wddgit (W. David Dagenhart) for CMSSW_7_1_X.

Migrate More to New Random Service Interface

It involves the following packages:

SimG4CMS/Calo
SimG4CMS/HcalTestBeam
SimG4Core/Application
SimTransport/HectorProducer

@cmsbuild, @civanch, @Degano, @mdhildreth, @nclopezo can you please review it and eventually sign? Thanks.
You can sign-off by replying to this message having '+1' in the first line of your reply.
You can reject by replying to this message having '-1' in the first line of your reply.
@nclopezo, @ktf you are the release manager for this.
You can merge this pull request by typing 'merge' in the first line of your comment.

@cmsbuild
Copy link
Contributor

@civanch
Copy link
Contributor

civanch commented Feb 14, 2014

+1

@cmsbuild
Copy link
Contributor

This pull request is fully signed and it will be integrated in one of the next CMSSW_7_1_X IBs unless changes (tests are also fine). @nclopezo, @ktf can you please take care of it?

ktf added a commit that referenced this pull request Feb 14, 2014
Multithreading fixes -- Migrate More Simulation to New Random Service Interface
@ktf ktf merged commit cc49b77 into cms-sw:CMSSW_7_1_X Feb 14, 2014
@nclopezo nclopezo modified the milestones: CMSSW_7_1_0_pre4, CMSSW_7_1_0_pre3 Feb 24, 2014
@nclopezo nclopezo modified the milestones: CMSSW_7_1_0_pre5, CMSSW_7_1_0_pre4 Mar 10, 2014
@wddgit wddgit deleted the migrateToNewRandomServiceInterface branch April 25, 2014 20:19
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.

None yet

5 participants