Effective potential of an rf cylindrical trap