To add the bkg file macro used in tutorial 1, open the file “local.inc” (located in C:\TOPAS7)
Copy the below text into this file:
macro bkg_file(filename,c,v) { #m_argu c If_Prm_Eqn_Rpt(c, v, min 0 max 10000) user_y #m_unique bkg_obj filename fit_obj = CeV(c, v) bkg_obj; } macro bkg_file(filename) { bkg_file(filename, ,1) }