I'm taking a course in particle physics. One of the features different from particle to particle is the spin. For example Higgs boson has spin 0, muon and electron have spin 1/2, graviton has spin 2, and so on. How is this decided upon? Does it occur in the experiments or is it based on theoretical calculations?