R3BRootGroup / R3BRoot

Framework for Simulations and Data Analysis of R3B Experiment
https://github.com/R3BRootGroup/R3BRoot/wiki
GNU General Public License v3.0
18 stars 102 forks source link

Add particle whitelist to R3BPhaseSpaceGen #1071

Closed YanzhaoW closed 4 weeks ago

YanzhaoW commented 1 month ago

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:


Checklist:

YanzhaoW commented 1 month ago

@jose-luis-rs Ready to be merged