A BiCMOS tunable shaper for detectors of elementary particles