An online beam monitor detector for medical applications of ion beams. (15th February 2016)