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

simplify charge computation #4655

Merged
merged 3 commits into from Jul 16, 2014
Merged

simplify charge computation #4655

merged 3 commits into from Jul 16, 2014

Conversation

civanch
Copy link
Contributor

@civanch civanch commented Jul 15, 2014

Method CoreSimTrack::charge() is visible in CPU profiler. Because of that it is re-written, data structure itself is not changed.

Constructors are cleaned up - all members of classes are initialized, unnecessary vectors are not created at construction.

@cmsbuild
Copy link
Contributor

A new Pull Request was created by @civanch (Vladimir Ivantchenko) for CMSSW_7_2_X.

simplify charge computation

It involves the following packages:

SimDataFormats/Track

@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.

@VinInn
Copy link
Contributor

VinInn commented Jul 16, 2014

ping, test?

@cmsbuild
Copy link
Contributor

@VinInn
Copy link
Contributor

VinInn commented Jul 16, 2014

dramatically faster!
factor 5 even 6 taking into account the double precision division that I already got rid of in my version.
given that there are 202 libraries+plugins that depends on that (read 1 hour compilation on a fast machine) I suggest to move fast in approving this...

@cmsbuild
Copy link
Contributor

@VinInn
Copy link
Contributor

VinInn commented Jul 16, 2014

do not see any issue raising from comparisons...

@cmsbuild
Copy link
Contributor

Pull request #4655 was updated. @cmsbuild, @civanch, @Degano, @mdhildreth, @nclopezo can you please check and sign again.

@civanch
Copy link
Contributor Author

civanch commented Jul 16, 2014

+1

@cmsbuild
Copy link
Contributor

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.

@civanch
Copy link
Contributor Author

civanch commented Jul 16, 2014

@Degano, would it be possible to restart tests? The recent commit is trivial, I have done it inside this PR in order do not have two separate small PR in the same library. This commit should change nothing but we have to redo tests.

@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_2_X IBs unless changes (tests are also fine).

ktf added a commit that referenced this pull request Jul 16, 2014
@ktf ktf merged commit 11f65ef into cms-sw:CMSSW_7_2_X Jul 16, 2014
@cmsbuild
Copy link
Contributor

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