pulse-height analyzer