By Sinuo Zhang and Jory Sonneveld This code implements optional trapping in the GenericPropagation module to model radiation damage to the bulk of semiconductor sensors in Allpix Squared. An example is given in the trapping directory in the examples, and a README is written for the example and details on the implementation of trapping are given in the README for the GenericPropagationModule. This is work in progress; further work will address:
- separating the code from this module so it can be imported in the TransientPropagation module, too;
- comparing trapping time + propagation time to integration time for determining whether a group of charge carriers is still alive instead of propagating fractions of charge carriers;
- adding output plots.