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

avoid copies of GenEvent and optimizing random number usage in DIGI step #8450

Merged
merged 1 commit into from Mar 26, 2015

Conversation

davidlange6
Copy link
Contributor

Roughly 10% improvement in mixing module time

Main change are:

  1. Avoid copying GenEvent when not needed

  2. Avoid creating a random generator using it once. I'm lazy so used the static methods as done elsewhere in the digitizers. One can easily also make the RandPoissonQ object a member data with the same effect. RandPoissonQ does some setup assuming that the mu its given will be used over and over, so there is a CPU penalty for creating it and using it only once.

@cmsbuild
Copy link
Contributor

A new Pull Request was created by @davidlange6 (David Lange) for CMSSW_7_5_X.

avoid copies of GenEvent and optimizing random number usage in DIGI step

It involves the following packages:

SimCalorimetry/CaloSimAlgos
SimGeneral/PileupInformation
SimTracker/Common

@cmsbuild, @civanch, @nclopezo, @mdhildreth can you please review it and eventually sign? Thanks.
@jlagram, @makortel, @GiacomoSguazzoni, @gbenelli, @rovere, @VinInn, @appeltel, @cnuttens, @prolay, @cerati, @venturia, @threus, @dgulhan, @LBeck this is something you requested to watch as well.
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.
If you are a L2 or a release manager you can ask for tests by saying 'please test' in the first line of a comment.
@nclopezo 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

-1
@davidlange6 This pull request cannot be automatically merged, could you please rebase it?

@davidlange6
Copy link
Contributor Author

@cmsbuild, please test

@cmsbuild
Copy link
Contributor

The tests are being triggered in jenkins.

@cmsbuild
Copy link
Contributor

-1
@davidlange6 This pull request cannot be automatically merged, could you please rebase it?

@ghost
Copy link

ghost commented Mar 23, 2015

please test

@cmsbuild
Copy link
Contributor

The tests are being triggered in jenkins.

@civanch
Copy link
Contributor

civanch commented Mar 23, 2015

+1

@civanch
Copy link
Contributor

civanch commented Mar 23, 2015

all tests are fail - it is not problem of this PR but IB itself

@civanch
Copy link
Contributor

civanch commented Mar 24, 2015

@cmsbuild , several tests failed yesterday for various PRs which are obviously correct, should we restart these tests now or wait a bit ?

@nclopezo
Copy link
Contributor

Hi @civanch,

I will restart them.

@cmsbuild
Copy link
Contributor

@cmsbuild
Copy link
Contributor

This pull request is fully signed and it will be integrated in one of the next CMSSW_7_5_X IBs unless changes (tests are also fine). This pull request requires discussion in the ORP meeting before it's merged. @davidlange6, @nclopezo, @ktf, @smuzaffar

@davidlange6
Copy link
Contributor Author

+1

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

4 participants