cms-sw/cmssw — pull request #2150 by wddgit (2014-01-23 16:27:08+00:00)
Title: Migrate Generators to New Random Service Interface

Migrate generators to use the new interface of the
random number generator service designed to work
with the multithreaded Framework. The main interface
change is to require a StreamID or LuminosityBlockIndex
argument to the getEngine function. In most cases,
this required moving code from the constructor to
the event or beginLuminosityBlock method. Then a pointer
to the engine was percolated or passed in some way
to the point where it was used.

In some cases, I added declarations of shared resources
where it was obvious they were needed, but I did not
thoroughly check for and declare all shared resources
that will eventually be needed.

Note that this was done in two parts. The first pull
request was already merged into 7_0_X some time ago.
It took care of Pythia 8 and ExternalDecays. The
rest of the generators are taken care of in this pull
request.

Note that the content of this pull request is the same
as pull request 1982, which was signed by all L2's. The
only difference is that it was rebased on 7_1_X after
merging in development that occurred while it was waiting
for signature and resolving conflicts related to files
that were deleted.