-
Notifications
You must be signed in to change notification settings - Fork 41
GooFit IO & Variable #68
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
Conversation
Codecov Report
@@ Coverage Diff @@
## master #68 +/- ##
===========================================
+ Coverage 39.85% 58.71% +18.86%
===========================================
Files 25 39 +14
Lines 1119 1233 +114
Branches 152 165 +13
===========================================
+ Hits 446 724 +278
+ Misses 673 509 -164
Continue to review full report at Codecov.
|
I think that fixed the broken example(s). Using |
@galapaegos does this work now? At least as well as master? |
I performed a fresh checkout of this branch. Only one example (exponential) is getting compiled. My CMake arguments are: I manually ran the tests also. The UnbinnedFit fails, here is an excerpt:
Please advise, thanks! |
A few comments:
I'm looking into the test error now, that shouldn't be happening... It might be related to the stand-alone Minuit2, which I don't test as thoroughly yet. |
Useful export MAKEFLAGS="-j24"
export CTEST_OUTPUT_ON_FAILURE=1
export GTEST_COLOR=1 |
Great, those are helpful thanks! The examples compile now that root is in the path. |
The standalone Minuit doesn't quite work properly. It fails on the final unbinned test, and occasionally on one of the binned tests. This is not better/worse than master, though. |
The Minuit2 standalone version should work correctly now. OpenMP ifdefs were activated, but the OpenMP implementation in Minuit2 is buggy and unfinished. |
Everything runs fine for me. |
Add a review and I'll merge, then. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Approving additions to support fitting fractions.
The GooFit IO system has been revamped under the hood, providing cleaner, faster data input (address portions of #34). This PR does not change the conversion to CUDA that occurs in the PDF.
--profile
option./dataFiles
assert
in favor ofGooFit::GeneralError
getVariables()
was optimized and iteration was removed.addEvent(value)
is now variadic instead of being a special case.addEvent
now throws error if out of range; variable can be converted to bool (true if in range).cu
inclusion!