Double / float precision are mixed in manipulating particle and track properties
For electrons which have bremsstrahlung added, the calculated mass of the electron is often no longer the electron mass.
It's strongly suspected that this is a consequence of the mixing of the different precision types in our code: the added 'adl' functions threeMomentum()
, slopes()
etc. all force a return of float precision, while the internal storage and original precision is in double.
We have to see if we can change these ADL functions to return the proper internal type of the object in question, rather than casting it to another.