Optical fibers and radiochromic films for dosimetry in radiotherapy