tudo-astroparticlephysics / PROPOSAL

Monte Carlo Simulation propagating charged Leptons through Media as C++ Library
GNU Lesser General Public License v3.0
35 stars 21 forks source link

Add particle-dependent defaults for secondary calculators #364

Open Jean1995 opened 1 year ago

Jean1995 commented 1 year ago

The secondary calculators currently only provide a default parametrization per interaction type. However, the best defaults can be different for different particle types, see for example PR #347.

This needs a restructuration of the correct structure. Maybe one can adapt the current implementation:

https://github.com/tudo-astroparticlephysics/PROPOSAL/blob/44849fbd5114231239e8ea80fc3f3a97f9859ce0/src/PROPOSAL/PROPOSAL/secondaries/SecondariesCalculator.h#L39-L45

In a meaningful way, and add a method that is similar to the method we use for the cross sections?