A determination of the energy resolution at LANSCE