Quantitative analysis by (p, X) and (p, γ) reactions at low energies