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

Fix fit limits for HLT turn-on curves #18

Open
kreczko opened this issue Apr 4, 2013 · 1 comment
Open

Fix fit limits for HLT turn-on curves #18

kreczko opened this issue Apr 4, 2013 · 1 comment

Comments

@kreczko
Copy link
Member

kreczko commented Apr 4, 2013

Many error messages:
Error in ROOT::Math::ParameterSettings>: Invalid lower/upper bounds - ignoring the bounds

The limits in
def set_parameter_limits()

need to be adjusted or removed.

@senkin
Copy link
Member

senkin commented Sep 24, 2013

I second this. Since rootpy is now more sensitive to weird ROOT errors, here's the workaround:

from rootpy import ROOTError
...
set_parameter_limits(trigger_under_study, fit_data)
try:
    plot_efficiency.Fit(fit_data, 'FECQ')
except ROOTError, e:
    print e.msg
    pass

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants