Sample register by cavity and shot