-
Notifications
You must be signed in to change notification settings - Fork 122
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
VESUVIO l1 and theta resolution routine #811
Conversation
double xMin(DBL_MAX); | ||
double xMax(DBL_MIN); | ||
for(size_t i = 0; i < numHist; i++) { | ||
const std::vector<double> x = ws->readX(i); |
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.
This would be better off as a const std::vector<double> &
, so that the X values are not copied.
Tested with suggested data and everything appears to work correctly. However, it takes several minutes to run and only uses one core of my cpu. This could perform significantly better if allowed to use multiple threads, but that's a separate issue. |
…olution VESUVIO l1 and theta resolution routine
Fixes #12671
To test:
IP0005.dat
file form unit test dataRelease notes change is here.