Analysis and modelling of gamma ray emission in large tokamak plasmas : doctoral thesis