shorten to

lastPackage_ = minIndex;
return (*packages_)[minIndex].getMzMin();

?
I can see that the explicit assignment might make sense for debugging when stepping through, and the compiler might optimize it in release (if getMinMz() would be const :))