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

Add particle whitelist to R3BPhaseSpaceGen #1071

Merged
merged 1 commit into from
Jun 26, 2024

Conversation

YanzhaoW
Copy link
Contributor

@YanzhaoW YanzhaoW commented Jun 13, 2024

Feature

  1. Add particle whitelist functionality to R3BPhaseSpaceGenerator. Added particles that are not in the whitelist are not generated during the simulation.
  2. write the particle info into the sink file. (After fixing this issue in FairRoot.)
  3. Fix the value for totalEnergy

Default is all particles are in the whitelist and no data written.

Breaking change:

  • Variable Beam cannot be directly obtained from the class. Use GetBeam() instead.

Checklist:

@YanzhaoW YanzhaoW force-pushed the edwin_phase_gen branch 5 times, most recently from afc8526 to f4f2675 Compare June 13, 2024 20:09
@YanzhaoW YanzhaoW marked this pull request as draft June 14, 2024 15:18
@YanzhaoW YanzhaoW marked this pull request as ready for review June 21, 2024 15:33
@YanzhaoW YanzhaoW force-pushed the edwin_phase_gen branch 4 times, most recently from 6f0873f to f783105 Compare June 25, 2024 12:31
Fix the value of the total energy
@YanzhaoW
Copy link
Contributor Author

@jose-luis-rs Ready to be merged

@jose-luis-rs jose-luis-rs merged commit 10a9569 into R3BRootGroup:dev Jun 26, 2024
5 checks passed
@YanzhaoW YanzhaoW deleted the edwin_phase_gen branch November 1, 2024 15:43
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