diff --git a/CALIBRATION/hodo_calib/README.md b/CALIBRATION/hodo_calib/README.md index 9a7869d34fe68e61fbf3650d6edc80901aa51273..ed9e0829b63acb8dde84a927913445a368645782 100644 --- a/CALIBRATION/hodo_calib/README.md +++ b/CALIBRATION/hodo_calib/README.md @@ -19,10 +19,10 @@ Compiling code Running code ----------- -* First replay data with either -** HMS: gHcParms->Load("PARAM/HMS/HODO/htofcal.param"); -** SHMS: gHcParms->Load("PARAM/HMS/HODO/ptofcal.param"); -* The replay should put the new file : hfort.37 or pfort.37 in the CALIBRATION/hodo_calib directory +* First replay data by adding either line to replay script +** HMS: gHcParms->Load("PARAM/HMS/HODO/CALIB/htofcal.param"); +** SHMS: gHcParms->Load("PARAM/SHMS/HODO/CALIB/ptofcal.param"); +* The replay will put the new file : hfort.37 or pfort.37 in the CALIBRATION/hodo_calib directory * Copy either hmstofcal.inp or shmstofcal.inp to tofcal.inp * Execute ./tofcal * Print out info on the initial chi2 of data and final chi2 of the fit. diff --git a/PARAM/HMS/HODO/CALIB/KPP_Spring_2017/hhodo_calib_303.param b/PARAM/HMS/HODO/CALIB/KPP_Spring_2017/hhodo_calib_303.param index 0ede58932a1f5220e9b0db737954d199532648f8..8aa8ced88515a101ce2da6585155a91009c6f3a7 100644 --- a/PARAM/HMS/HODO/CALIB/KPP_Spring_2017/hhodo_calib_303.param +++ b/PARAM/HMS/HODO/CALIB/KPP_Spring_2017/hhodo_calib_303.param @@ -1,7 +1,5 @@ ;HMS Hodo Calibration paramters -hdumptof=1 -hdumptof_filename="CALIBRATION/hodo_calib/hfort.37" ; new param from KPP HMS run 303 hhodo_pos_invadc_offset = -0.00, -0.00, -0.70, -0.00 diff --git a/PARAM/HMS/HODO/CALIB/hhodo_calib.param b/PARAM/HMS/HODO/CALIB/hhodo_calib.param index 36a7d845dc369e18770d8284ec0be7b195f7e280..db32aa860a63d7e0dd20f40217b5490857fcfcb7 100644 --- a/PARAM/HMS/HODO/CALIB/hhodo_calib.param +++ b/PARAM/HMS/HODO/CALIB/hhodo_calib.param @@ -1,8 +1,5 @@ ;HMS Hodo Calibration paramters -hdumptof=1 -hdumptof_filename="CALIBRATION/hodo_calib/hfort.37" - hhodo_pos_invadc_offset = 0.000, 0.0000, 0.000, 0.000 0.000, 0.0000, 0.000, 0.000 0.000, 0.0000, 0.000, 0.000 diff --git a/PARAM/HMS/HODO/CALIB/htofcalib.param b/PARAM/HMS/HODO/CALIB/htofcalib.param new file mode 100644 index 0000000000000000000000000000000000000000..8d13290d195aa12241c26d5ed8b0ca3fdab7439d --- /dev/null +++ b/PARAM/HMS/HODO/CALIB/htofcalib.param @@ -0,0 +1,3 @@ +; set hdumptof =1 to write out the calibration file +hdumptof=1 +hdumptof_filename="CALIBRATION/hodo_calib/hfort.37" diff --git a/PARAM/SHMS/HODO/CALIB/phodo_calib.param b/PARAM/SHMS/HODO/CALIB/phodo_calib.param index fee9af2f3219c9fdff956044d95fbee50f249b38..f33b29b69144450710027da915fe4e01a92129b8 100644 --- a/PARAM/SHMS/HODO/CALIB/phodo_calib.param +++ b/PARAM/SHMS/HODO/CALIB/phodo_calib.param @@ -1,5 +1,3 @@ -pdumptof = 1 -pdumptof_filename = "CALIBRATION/hodo_calib/pfort.37" phodo_pos_invadc_offset = -5.0000, -5.0000, 0.000, 0.000 -5.0000, -2.0000, 0.000, 0.000 diff --git a/PARAM/SHMS/HODO/CALIB/ptofcalib.param b/PARAM/SHMS/HODO/CALIB/ptofcalib.param new file mode 100644 index 0000000000000000000000000000000000000000..9984fc29e13f74bc740e3ab5bbe8800c3cb4dacc --- /dev/null +++ b/PARAM/SHMS/HODO/CALIB/ptofcalib.param @@ -0,0 +1,3 @@ +; set pdumptof =1 to write out the calibration file +pdumptof = 0 +pdumptof_filename = "CALIBRATION/hodo_calib/pfort.37"