A collision or fragmentation cell is disclosed comprising a plurality of electrodes wherein a first RF voltage is applied to an upstream group of electrodes and a second different RF voltage is applied to a downstream group of electrodes. The radial confinement of parent ions entering the collision or fragmentation cell is optimized by the first RF voltage applied to the upstream group of electrodes and the radial confinement of daughter or fragment ions produced within the collision or fragmentation cell is optimized by the second different RF voltage applied to the downstream group of electrodes.