influence of the magnetic field on the gating of a time projection chamber