Hamiltonian of a spinning test particle in curved spacetime | Synapse