EMExtrapolationTools : Correct and simplify the getRescaledPerigee
requested to merge ATLAS-EGamma/athena:EMExtrapolationTools_remove_unneeded_copy_allocation into master
This MR
- Mainly simplifies the getRescaledPerigee. In the new version one could claim we do not need a function as is an one liner (but a bit long one liner ;)
- In reality what was done before was not 100% correct (although very close to )so we might see some small changes
- I also did some indentation changes in the .cxx file (hopefully not too confusing)
- Also tried to use a bit more pass by const ref rather than const ptr when the object is known to be there.
Edited by Christos Anastopoulos