Fix memory error: begin() and end() must be called on the same object.
The function DressedLeptons::dressedLeptons() returns a newly constructed
vector each time. It is not possible to iterate from dressedLeptons().begin()
to dressedLeptons().end() without saving the vector first in a temp variable.