Subtracting minimum of a RooCurve from another RooCurve point by point

A RooCurve is just a TGraph to my knowledge, here a similar diacussio TGraph GetMaximum() GetMinimum() i suspect the best chance is to manipulate RooCurves as if they are TGraphs.