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

Fixed thread-safety issues with ElectronLikelihood #2814

Merged

Conversation

Dr15Jones
Copy link
Contributor

Fixed const correctness problems with object directly and indirectly
held by ElectronLikelihood. Then enforced that only const functions
of the direct and indirect objects are called from const member functions
of ElectronLikelihood. This guarantees thread-safety.

Fixed const correctness problems with object directly and indirectly
held by ElectronLikelihood. Then enforced that only const functions
of the direct and indirect objects are called from const member functions
of ElectronLikelihood. This guarantees thread-safety.
@Dr15Jones
Copy link
Contributor Author

As a bonus, I stopped the code from using large objects as arguments and return values. This should make it run faster.

@cmsbuild
Copy link
Contributor

A new Pull Request was created by @Dr15Jones (Chris Jones) for CMSSW_7_1_X.

Fixed thread-safety issues with ElectronLikelihood

It involves the following packages:

RecoEgamma/ElectronIdentification

@nclopezo, @cmsbuild, @anton-a, @thspeer, @slava77, @Degano 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

@slava77
Copy link
Contributor

slava77 commented Mar 13, 2014

+1

for #2814 4bf88c3
jenkins OK

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

nclopezo added a commit that referenced this pull request Mar 13, 2014
RecoEgamma/ElectronIdentification -- Fixed thread-safety issues with ElectronLikelihood
@nclopezo nclopezo merged commit 60d8ad2 into cms-sw:CMSSW_7_1_X Mar 13, 2014
@Dr15Jones Dr15Jones deleted the makeElectronLikelihoodThreadSafe branch March 17, 2014 20:38
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