Particle and magnetic field detectors