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

VESUVIO l1 and theta resolution routine #811

Merged
merged 10 commits into from
Jun 4, 2015

Conversation

DanNixon
Copy link
Member

Fixes #12671
To test:

  • Open the algorithm
  • Select the IP0005.dat file form unit test data
  • Provide names for the distribution workpsaces
  • Run
  • See that both distributions look Gaussian like

Release notes change is here.

@DanNixon DanNixon added the Indirect/Inelastic Issues and pull requests related to indirect or inelastic label May 29, 2015
@DanNixon DanNixon added this to the Release 3.5 milestone May 29, 2015
@eXeC64 eXeC64 self-assigned this Jun 2, 2015
double xMin(DBL_MAX);
double xMax(DBL_MIN);
for(size_t i = 0; i < numHist; i++) {
const std::vector<double> x = ws->readX(i);
Copy link
Contributor

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.

@eXeC64
Copy link
Contributor

eXeC64 commented Jun 4, 2015

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.

eXeC64 added a commit that referenced this pull request Jun 4, 2015
…olution

VESUVIO l1 and theta resolution routine
@eXeC64 eXeC64 merged commit cb71452 into master Jun 4, 2015
@eXeC64 eXeC64 deleted the 11833_vesuvio_l1_theta_resolution branch June 4, 2015 08:25
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Indirect/Inelastic Issues and pull requests related to indirect or inelastic
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Port Monte Carlo resolution routine for VESUVIO
2 participants