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 Sim Code to New Random Service Interface #2392
Migrate Sim Code to New Random Service Interface #2392
Conversation
Migrate most simulation code 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. Note OscarProducer was migrated earlier and there are a few pieces of code I skipped over that will be migrated in the near future. This pull request takes care of most of the digitizers and the mixing modules.
A new Pull Request was created by @wddgit (W. David Dagenhart) for CMSSW_7_1_X. Migrate Sim Code to New Random Service Interface It involves the following packages: FWCore/Sources @civanch, @ojeda, @deguio, @lveldere, @danduggan, @mdhildreth, @cmsbuild, @Dr15Jones, @rovere, @giamman, @Degano, @ktf, @nclopezo can you please review it and eventually sign? Thanks. |
+1 |
2 similar comments
+1 |
+1 |
nothing to do with the changes in this pull request - but why redo(or do differently? the ecal digitization in the validation module? I would have expected that we should validate what is done in the digi part as to be validating what is then stored for reco/analysis |
The only reason I included Validation/EcalDigis/src/EcalMixingModuleValidation changes in this pull request was that it uses the CaloHitResponse class that is also used by the digitization code. I had to modify the CaloHitResponse interface. That one class is the only DQM code changed in this pull request. That does not answer David Lange's valid question, but I do not think that question should delay signature of this pull request. |
+1 |
except we won't get an answer to the question if we accept and forget… On Feb 12, 2014, at 5:33 PM, W. David Dagenhart notifications@github.com wrote:
|
@davidlange6 How about we open a Jira ticket? |
Is anyone tracking the issue? |
I would say that keeping this PR not merged is also a problem - too many sub-packages are affected. I believe it is possible open new unscheduled PR with the issue described - for me it would be equivalent to a Jira ticket. |
Multithreading fixes -- Migrate Sim Code to New Random Service Interface
Updated root to tip of 2bb2f80
Migrate most simulation code 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.
Note OscarProducer was migrated earlier and there are a
few pieces of code I skipped over that will be migrated
in the near future. This pull request takes care of most
of the digitizers and the mixing modules.