DepositionPointCharge: Allow Configuration of e/h in MIP Model
This adds an interpretation of the number_of_charges
parameter also in the MIP model, where up to now we had a fixed deposition of 80 e/h per micron.
There are two possible implementations of this:
- Interpret the parameter as "charge carriers per step" where the number of steps is defined via the
number_of_steps
parameter.- Pro: direct relation between the parameters,
- Con: usually value is know per micron, parameter value needs to be calculated using sensor thickness, number of steps and eh pairs per micron.
- Interpret the parameter as "charge carriers per unit length".
- Pro: easier to set the desired parameter directly without relying on other quantities,
-
Con: non-obvious unit for the parameter, different units for
mip
andpoint
models.
I think both are valid, here I have implemented the latter.