An analysis of pion production experiments