The FLUKA Monte Carlo code coupled with the local effect model for biological calculations in carbon ion therapy.