XPS: a multi-channel preamplifier-shaper IC for X-ray spectroscopy