Find peaks in a TGraphErrors

This question was already asked here: