Application of the recursive subtraction pulse shape analysis algorithm to in-beam HPGe signals