Temperature of a Hamiltonian system given as the effective temperature of a nonequilibrium steady-state Langevin thermostat.