Adds new scattering model based on @tdorigo 's parameterisation of Geant 4.
Changes:
Clarified that scatter calls to MuonBatch should pass scatterings in volume ref frame
Corrected PDG scattering model:
previously underestimated amount of angular scattering
spatial scattering didn't correctly account for total distance travelled
PDG scatter model now tested against GEANT sims (data file included in tests dir), ensuring that the bulk of the angular and spacial scatterings pass a 2sample KS test for a variety of materials, momenta, and incoming angles
The PGeant model is not tested, yet, due to poor modelling of the bulk
Heavy changes to Layer class regarding scattering, please check
Important
Even though the PGeant model is now included, it is not yet recommended for use:
The PGeant model has an unknown bug affecting the spacial displacements, @tdorigo is investigating
The PGeant model models the bulk of scatterings less well than the PDG model, but does model the tails better:
Agreement in the tails is not yet tested
Long-distance scatterings are not yet tested: all tests for 1cm of material
Adds new scattering model based on @tdorigo 's parameterisation of Geant 4. Changes:
MuonBatch
should pass scatterings in volume ref frameLayer
class regarding scattering, please checkImportant
Even though the PGeant model is now included, it is not yet recommended for use: