Field distribution analysis in deflecting structures