Computational methods in particle physics