fix beam spot in ParametersDefinerFoTP

add beamSpot parameter in the ParametersDefinerForTP
in order to avoid hard coded definition