There’s a couple of ways. First you can go into edit mode, select the loop of vertices, Shift + S and cursor to selected and then in object mode, right click, set origin and to 3d cursor.


You can also just move your origin manually by turning on Origins in the Options menu:
