electromagnet and ionization chamber