Electron and ion transmission of the gating foil for the TPC in the ILC experiment