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

Made FFTJetCorrector thread safe #7784

Merged
merged 1 commit into from
Feb 18, 2015

Commits on Feb 11, 2015

  1. Made FFTJetCorrector thread safe

    The FFTJetCorrector is accessible via the EventSetup and therefore
    all its const methods must be thread safe. Previously, the const
    method 'correct' was using a member data for a temporary buffer
    which was being changes on each call to 'correct'. To make the
    routine thread safe we now use a buffer on the stack if only a small
    buffer is needed and use a std::vector if a larger buffer is needed.
    
    This problem was caught by the static analyzer.
    Dr15Jones committed Feb 11, 2015
    Configuration menu
    Copy the full SHA
    955d52b View commit details
    Browse the repository at this point in the history