On-line characterization of heavy-ion beams with semiconductor detectors.