The sextupole ion guide(SPIG)was modified according to the requirement for on-line use.The physics principle of the modified SPIG was discussed. The trajectories of ions were traced using Monte-Carlo technique to obtain information such as transmission efficiency
spatial and velocity distribution of ions after SPIG.The effect of gas pressure on performance of the SPIG was also discussed.