We need to move away from services to conditions data.
egammaTrkRefitter
should now retrieve the relevant BeamSpot
ConditionData where applicableEventContext
to retrieve them, lets pass it to the this tools.Since we are here lets also removed an unneeded dynamic_cast
and use a bit more the Athena macros.
Mentioning @amorley (original author of the tool)