Skip to content

Amplitude and Data Reader Revisions#394

Merged
kevScheuer merged 8 commits into
masterfrom
shepherd_at_revisions
Jun 30, 2026
Merged

Amplitude and Data Reader Revisions#394
kevScheuer merged 8 commits into
masterfrom
shepherd_at_revisions

Conversation

@mashephe

@mashephe mashephe commented Jun 5, 2026

Copy link
Copy Markdown
Contributor

This adds a few amplitudes with GPU classes that are being used for b1 fitting. It does not include changes to Vec_ps class because the branch being used in analysis has diverged from the master.

Significant performance enhancements were obtained by caching all relevant sines and cosines for DeltaAngles. This reduces the amplitude calculation down to basic floating point operations.

In other places I cleaned up printing to the screen to use AmpTools report class. This avoids a repeated messages when using MPI and allows the user to adjust the level of verbosity.

@mashephe mashephe changed the title Shepherd at revisions Amplitude and Data Reader Revisions Jun 5, 2026
@gluex

gluex commented Jun 6, 2026

Copy link
Copy Markdown

@mashephe mashephe requested a review from kevScheuer June 19, 2026 16:00

@kevScheuer kevScheuer left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Left a comment on adjusting the comment in the bootstrap reader, but everything else looks good!

Comment on lines 31 to 37

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Can you align the comments with the changes? Something along the lines of

Suggested change
// 6 args: inFileName inTreeName numParticles friendFileName friendTreeName weightBranchName
//
// 7 args: inFileName inTreeName numParticles friendFileName friendTreeName weightBranchName {randSeed|fourMomentumPrefix}
// - If args[6] is an integer, it's interpreted as a random seed
// - otherwise it's a four momentum prefix

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I pasted your suggestions into the file. This was not part of the code that I touched. I just modified the print statements.

Matthew Shepherd added 2 commits June 29, 2026 13:42
@gluex

gluex commented Jun 29, 2026

Copy link
Copy Markdown

Build status for this pull request: FAILURE

Build log: make_shepherd_at_revisions.log
Build report: report_shepherd_at_revisions.txt

@gluex

gluex commented Jun 29, 2026

Copy link
Copy Markdown

Test status for this pull request: SUCCESS

Summary: summary.txt
Logs: results/log

Build log: make_shepherd_at_revisions.log
Build report: report_shepherd_at_revisions.txt

@kevScheuer kevScheuer merged commit cac55fb into master Jun 30, 2026
2 checks passed
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.

3 participants