Skip to content

Conversation

FlorianReiss
Copy link
Member

@FlorianReiss FlorianReiss commented Feb 15, 2021

addresses #258, #261
Changes:

  • add functionality in MappedPdf to count the number of functions mapped to, including their subfunctions. The parameter container is then increased when MappedPdf is executed until all subfunctions are passed. This should ensure that the indices are increased correctly by MappedPdf even if the functions have several layers of subfunctions
  • small fix to incrementIndex in LASS.cu
  • add additional check to inDalitz that m23 can not be negative
  • make sure that normalisation binning is copied in Amp3Body if there is more than one instance

Files changed:

  • src/PDFs/combine/MappedPdf.cu
  • src/PDFs/physics/resonances/LASS.cu
  • src/PDFs/physics/DalitzPlotHelpers.cu
  • src/PDFs/physics/Amp3Body.cu
    currently the MR also includes unrelated changes from another branch

@FlorianReiss FlorianReiss changed the title WIP: fix incrementing in Mapped PDF | fix parameter index in LASS function WIP: fix incrementing in Mapped PDF | fix parameter index in LASS function | fix Amp3Body normalisation Mar 26, 2021
@FlorianReiss FlorianReiss changed the title WIP: fix incrementing in Mapped PDF | fix parameter index in LASS function | fix Amp3Body normalisation fix incrementing in Mapped PDF | fix parameter index in LASS function | fix Amp3Body normalisation Mar 29, 2021
@FlorianReiss
Copy link
Member Author

@danielsibemol I think the only test still failing is the "Travis CI build". It seems to suggest some changes to make the code look nicer

@danielsibemol
Copy link
Contributor

@danielsibemol I think the only test still failing is the "Travis CI build". It seems to suggest some changes to make the code look nicer

@FlorianReiss, it should be simple to fix those things but it took me a while because I had to figure out how to install clang-tidy locally. In principle the test should work now, but it recommended a bunch of additional changes when running locally. I'll push the commit, let's see what comes out of it.

@danielsibemol danielsibemol merged commit b8ce992 into GooFit:master Jun 4, 2021
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

Successfully merging this pull request may close these issues.

2 participants