The interest for hadrontherapy, the use of ion beams for the treatments of cancerous tumors, is increasing. This can be attributed to the great accuracy of ion beams to target the tumor while sparing the surrounding healthy tissues (due to the high dose deposition in the Bragg peak and the small angular scattering of ions) as well as the potential biological advantage of ions for some tumor types compared to photons. To keep the benefits of carbon ions in radiotherapy, a very high accuracy on the dose location is required. The dose deposition is affected by the fragmentation of the incident ion that leads to a consumption of the projectiles with their penetration depth in the tissues (up to 70% for 400MeV/u 12C in water), to the creation of...