-
hallc-online authored
Add default values for optional values of + fgbpma_zpos = 370.82; fgbpmb_zpos = 224.96 ;// cm fgbpmc_zpos = 129.30 ;// cm instead of zero. Otherwise the code would get NaN for the calculated target beam position since it was divied by zero unless this the parameters are set.
hallc-online authoredAdd default values for optional values of + fgbpma_zpos = 370.82; fgbpmb_zpos = 224.96 ;// cm fgbpmc_zpos = 129.30 ;// cm instead of zero. Otherwise the code would get NaN for the calculated target beam position since it was divied by zero unless this the parameters are set.