A stochastic model to reproduce the star formation history of individual galaxies in hydrodynamic simulations | Publicación