From 0b7c0387c16cc597b5167e6c28a179b30cd1589e Mon Sep 17 00:00:00 2001
From: Eric Pooser <pooser@jlab.org>
Date: Fri, 5 Jan 2018 17:26:17 -0500
Subject: [PATCH] Calib work (#351)

* Fix HMS Cherenkov calibration parameters

* Setup HMS calibration parameters for the Fall run

Add calibration parameters for the HMS calorimeter

* Do the same for the SHMS

* Change default calib files to symbolic links
---
 DBASE/HMS/GEN/Fall_Comm_2017/calib_1130.param |  2 +
 DBASE/HMS/GEN/Fall_Comm_2017/calib_1136.param |  3 ++
 DBASE/HMS/GEN/Fall_Comm_2017/calib_1178.param |  2 +
 DBASE/HMS/GEN/Fall_Comm_2017/calib_1179.param |  2 +
 DBASE/HMS/GEN/Fall_Comm_2017/calib_1180.param |  2 +
 DBASE/HMS/GEN/Fall_Comm_2017/calib_1212.param |  2 +
 DBASE/HMS/GEN/Fall_Comm_2017/calib_1213.param |  2 +
 DBASE/HMS/GEN/Fall_Comm_2017/calib_1214.param |  2 +
 DBASE/HMS/GEN/Fall_Comm_2017/calib_1235.param |  2 +
 DBASE/HMS/GEN/Fall_Comm_2017/calib_1249.param |  2 +
 DBASE/HMS/GEN/Fall_Comm_2017/general.param    | 40 +++++++++++++++++
 DBASE/HMS/GEN/default_det_calib_files.param   |  2 -
 DBASE/HMS/STD/standard.database               | 36 +++++++++++++++-
 .../SHMS/GEN/Fall_Comm_2017/calib_1583.param  |  2 +
 .../SHMS/GEN/Fall_Comm_2017/calib_1585.param  |  3 ++
 .../SHMS/GEN/Fall_Comm_2017/calib_1586.param  |  2 +
 DBASE/SHMS/GEN/Fall_Comm_2017/general.param   | 43 +++++++++++++++++++
 DBASE/SHMS/STD/standard.database              | 13 ++++++
 .../Fall_Comm_2017/hcal_calib_1136.param      | 10 +++++
 .../Fall_Comm_2017/hcal_calib_1235.param      | 10 +++++
 .../Fall_Comm_2017/hcal_calib_1249.param      | 10 +++++
 PARAM/HMS/CAL/CALIB/hcal_calib.param          | 11 +----
 .../Fall_Comm_2017/hcer_calib_1130.param      |  2 +-
 .../Fall_Comm_2017/hcer_calib_1136.param      |  2 +-
 .../Fall_Comm_2017/hcer_calib_1178.param      |  2 +-
 .../Fall_Comm_2017/hcer_calib_1179.param      |  2 +-
 .../Fall_Comm_2017/hcer_calib_1180.param      |  2 +-
 .../Fall_Comm_2017/hcer_calib_1212.param      |  2 +-
 .../Fall_Comm_2017/hcer_calib_1213.param      |  2 +-
 .../Fall_Comm_2017/hcer_calib_1214.param      |  2 +-
 PARAM/HMS/CER/CALIB/hcer_calib.param          |  2 +-
 .../Fall_Comm_2017/paero_calib_1585.param     |  3 ++
 PARAM/SHMS/AERO/CALIB/paero_calib.param       |  6 +--
 PARAM/SHMS/AERO/paero_calib.param             | 18 --------
 .../Fall_Comm_2017/pcal_calib_1585.param}     |  0
 .../Fall_Comm_2017/pcal_calib_1586.param      | 18 ++++++++
 PARAM/SHMS/CAL/CALIB/pcal_calib.param         | 19 +-------
 .../Fall_Comm_2017/phgcer_calib_1583.param    |  2 +
 PARAM/SHMS/HGCER/CALIB/phgcer_calib.param     |  3 +-
 39 files changed, 225 insertions(+), 65 deletions(-)
 create mode 100644 DBASE/HMS/GEN/Fall_Comm_2017/calib_1130.param
 create mode 100644 DBASE/HMS/GEN/Fall_Comm_2017/calib_1136.param
 create mode 100644 DBASE/HMS/GEN/Fall_Comm_2017/calib_1178.param
 create mode 100644 DBASE/HMS/GEN/Fall_Comm_2017/calib_1179.param
 create mode 100644 DBASE/HMS/GEN/Fall_Comm_2017/calib_1180.param
 create mode 100644 DBASE/HMS/GEN/Fall_Comm_2017/calib_1212.param
 create mode 100644 DBASE/HMS/GEN/Fall_Comm_2017/calib_1213.param
 create mode 100644 DBASE/HMS/GEN/Fall_Comm_2017/calib_1214.param
 create mode 100644 DBASE/HMS/GEN/Fall_Comm_2017/calib_1235.param
 create mode 100644 DBASE/HMS/GEN/Fall_Comm_2017/calib_1249.param
 create mode 100644 DBASE/HMS/GEN/Fall_Comm_2017/general.param
 create mode 100644 DBASE/SHMS/GEN/Fall_Comm_2017/calib_1583.param
 create mode 100644 DBASE/SHMS/GEN/Fall_Comm_2017/calib_1585.param
 create mode 100644 DBASE/SHMS/GEN/Fall_Comm_2017/calib_1586.param
 create mode 100644 DBASE/SHMS/GEN/Fall_Comm_2017/general.param
 create mode 100644 PARAM/HMS/CAL/CALIB/Fall_Comm_2017/hcal_calib_1136.param
 create mode 100644 PARAM/HMS/CAL/CALIB/Fall_Comm_2017/hcal_calib_1235.param
 create mode 100644 PARAM/HMS/CAL/CALIB/Fall_Comm_2017/hcal_calib_1249.param
 mode change 100644 => 120000 PARAM/HMS/CAL/CALIB/hcal_calib.param
 mode change 100644 => 120000 PARAM/HMS/CER/CALIB/hcer_calib.param
 create mode 100644 PARAM/SHMS/AERO/CALIB/Fall_Comm_2017/paero_calib_1585.param
 mode change 100644 => 120000 PARAM/SHMS/AERO/CALIB/paero_calib.param
 delete mode 100644 PARAM/SHMS/AERO/paero_calib.param
 rename PARAM/SHMS/CAL/{pcal_calib.param => CALIB/Fall_Comm_2017/pcal_calib_1585.param} (100%)
 create mode 100644 PARAM/SHMS/CAL/CALIB/Fall_Comm_2017/pcal_calib_1586.param
 mode change 100644 => 120000 PARAM/SHMS/CAL/CALIB/pcal_calib.param
 create mode 100644 PARAM/SHMS/HGCER/CALIB/Fall_Comm_2017/phgcer_calib_1583.param
 mode change 100644 => 120000 PARAM/SHMS/HGCER/CALIB/phgcer_calib.param

diff --git a/DBASE/HMS/GEN/Fall_Comm_2017/calib_1130.param b/DBASE/HMS/GEN/Fall_Comm_2017/calib_1130.param
new file mode 100644
index 00000000..e60dafcb
--- /dev/null
+++ b/DBASE/HMS/GEN/Fall_Comm_2017/calib_1130.param
@@ -0,0 +1,2 @@
+; HMS calibration files for run 1130
+#include "/PARAM/HMS/CER/CALIB/Fall_Comm_2017/hcer_calib_1130.param"
\ No newline at end of file
diff --git a/DBASE/HMS/GEN/Fall_Comm_2017/calib_1136.param b/DBASE/HMS/GEN/Fall_Comm_2017/calib_1136.param
new file mode 100644
index 00000000..dd08cabf
--- /dev/null
+++ b/DBASE/HMS/GEN/Fall_Comm_2017/calib_1136.param
@@ -0,0 +1,3 @@
+; HMS calibration files for run 1136
+#include "/PARAM/HMS/CER/CALIB/Fall_Comm_2017/hcer_calib_1136.param"
+#include "/PARAM/HMS/CAL/CALIB/Fall_Comm_2017/hcal_calib_1136.param"
\ No newline at end of file
diff --git a/DBASE/HMS/GEN/Fall_Comm_2017/calib_1178.param b/DBASE/HMS/GEN/Fall_Comm_2017/calib_1178.param
new file mode 100644
index 00000000..e8c378ad
--- /dev/null
+++ b/DBASE/HMS/GEN/Fall_Comm_2017/calib_1178.param
@@ -0,0 +1,2 @@
+; HMS calibration files for run 1178
+#include "/PARAM/HMS/CER/CALIB/Fall_Comm_2017/hcer_calib_1178.param"
\ No newline at end of file
diff --git a/DBASE/HMS/GEN/Fall_Comm_2017/calib_1179.param b/DBASE/HMS/GEN/Fall_Comm_2017/calib_1179.param
new file mode 100644
index 00000000..0db463ec
--- /dev/null
+++ b/DBASE/HMS/GEN/Fall_Comm_2017/calib_1179.param
@@ -0,0 +1,2 @@
+; HMS calibration files for run 1179
+#include "/PARAM/HMS/CER/CALIB/Fall_Comm_2017/hcer_calib_1179.param"
\ No newline at end of file
diff --git a/DBASE/HMS/GEN/Fall_Comm_2017/calib_1180.param b/DBASE/HMS/GEN/Fall_Comm_2017/calib_1180.param
new file mode 100644
index 00000000..1269d2e7
--- /dev/null
+++ b/DBASE/HMS/GEN/Fall_Comm_2017/calib_1180.param
@@ -0,0 +1,2 @@
+; HMS calibration files for run 1180
+#include "/PARAM/HMS/CER/CALIB/Fall_Comm_2017/hcer_calib_1180.param"
\ No newline at end of file
diff --git a/DBASE/HMS/GEN/Fall_Comm_2017/calib_1212.param b/DBASE/HMS/GEN/Fall_Comm_2017/calib_1212.param
new file mode 100644
index 00000000..88157d17
--- /dev/null
+++ b/DBASE/HMS/GEN/Fall_Comm_2017/calib_1212.param
@@ -0,0 +1,2 @@
+; HMS calibration files for run 1212
+#include "/PARAM/HMS/CER/CALIB/Fall_Comm_2017/hcer_calib_1212.param"
\ No newline at end of file
diff --git a/DBASE/HMS/GEN/Fall_Comm_2017/calib_1213.param b/DBASE/HMS/GEN/Fall_Comm_2017/calib_1213.param
new file mode 100644
index 00000000..8601f869
--- /dev/null
+++ b/DBASE/HMS/GEN/Fall_Comm_2017/calib_1213.param
@@ -0,0 +1,2 @@
+; HMS calibration files for run 1213
+#include "/PARAM/HMS/CER/CALIB/Fall_Comm_2017/hcer_calib_1213.param"
\ No newline at end of file
diff --git a/DBASE/HMS/GEN/Fall_Comm_2017/calib_1214.param b/DBASE/HMS/GEN/Fall_Comm_2017/calib_1214.param
new file mode 100644
index 00000000..53f3dc95
--- /dev/null
+++ b/DBASE/HMS/GEN/Fall_Comm_2017/calib_1214.param
@@ -0,0 +1,2 @@
+; HMS calibration files for run 1214
+#include "/PARAM/HMS/CER/CALIB/Fall_Comm_2017/hcer_calib_1214.param"
\ No newline at end of file
diff --git a/DBASE/HMS/GEN/Fall_Comm_2017/calib_1235.param b/DBASE/HMS/GEN/Fall_Comm_2017/calib_1235.param
new file mode 100644
index 00000000..1eedb895
--- /dev/null
+++ b/DBASE/HMS/GEN/Fall_Comm_2017/calib_1235.param
@@ -0,0 +1,2 @@
+; HMS calibration files for run 1235
+#include "/PARAM/HMS/CAL/CALIB/Fall_Comm_2017/hcal_calib_1235.param"
\ No newline at end of file
diff --git a/DBASE/HMS/GEN/Fall_Comm_2017/calib_1249.param b/DBASE/HMS/GEN/Fall_Comm_2017/calib_1249.param
new file mode 100644
index 00000000..f59be789
--- /dev/null
+++ b/DBASE/HMS/GEN/Fall_Comm_2017/calib_1249.param
@@ -0,0 +1,2 @@
+; HMS calibration files for run 1249
+#include "/PARAM/HMS/CAL/CALIB/Fall_Comm_2017/hcal_calib_1249.param"
\ No newline at end of file
diff --git a/DBASE/HMS/GEN/Fall_Comm_2017/general.param b/DBASE/HMS/GEN/Fall_Comm_2017/general.param
new file mode 100644
index 00000000..ce8d05fd
--- /dev/null
+++ b/DBASE/HMS/GEN/Fall_Comm_2017/general.param
@@ -0,0 +1,40 @@
+#real raddeg
+raddeg=3.14159265/180
+#real cminch
+cminch=2.54
+
+; General Hall-C parameter files
+#include "PARAM/GEN/genflags.param"
+#include "PARAM/GEN/gdebug.param"
+#include "PARAM/GEN/gtarget.param"
+#include "PARAM/GEN/gbeam.param"
+#include "PARAM/GEN/gscalers.param"
+
+; General HMS parameter files
+; Note: hmsflags.param includes spectrometer offsets and options.
+#include "PARAM/HMS/GEN/hcana.param"
+#include "PARAM/HMS/GEN/hdebug.param"
+#include "PARAM/HMS/GEN/hmsflags.param"
+#include "PARAM/HMS/GEN/htracking.param"
+
+; HMS default geometry parameter files 
+#include "PARAM/HMS/CER/GEOM/hcer_geom.param"
+#include "PARAM/HMS/DC/GEOM/hdc_geom.param"
+#include "PARAM/HMS/HODO/GEOM/hhodo_geom.param"
+#include "PARAM/HMS/AERO/GEOM/haero_geom.param"
+#include "PARAM/HMS/CAL/GEOM/hcal_geom.param"
+
+; HMS default cut parameter files
+#include "PARAM/HMS/CER/CUTS/hcer_cuts.param"
+#include "PARAM/HMS/DC/CUTS/hdc_cuts.param"
+#include "PARAM/HMS/HODO/CUTS/hhodo_cuts.param"
+#include "PARAM/HMS/AERO/CUTS/haero_cuts.param"
+#include "PARAM/HMS/CAL/CUTS/hcal_cuts.param"
+
+; HMS default calibration parameter files
+#include "PARAM/HMS/CER/CALIB/hcer_calib.param"
+#include "PARAM/HMS/DC/CALIB/hdc_calib.param"
+#include "PARAM/HMS/DC/CALIB/hdc_tzero_per_wire.param"
+#include "PARAM/HMS/HODO/CALIB/hhodo_calib.param"
+#include "PARAM/HMS/AERO/CALIB/haero_calib.param"
+#include "PARAM/HMS/CAL/CALIB/hcal_calib.param"
\ No newline at end of file
diff --git a/DBASE/HMS/GEN/default_det_calib_files.param b/DBASE/HMS/GEN/default_det_calib_files.param
index 01f99f8e..4a5bfd97 100644
--- a/DBASE/HMS/GEN/default_det_calib_files.param
+++ b/DBASE/HMS/GEN/default_det_calib_files.param
@@ -1,6 +1,4 @@
-; Dummy file
 ; Default calibration files in general.param
-; This keeps the replay script from complaining
 #include "PARAM/HMS/DC/CALIB/hdc_calib.param"
 #include "PARAM/HMS/DC/CALIB/hdc_tzero_per_wire.param"
 #include "PARAM/HMS/HODO/CALIB/hhodo_calib.param"'
diff --git a/DBASE/HMS/STD/standard.database b/DBASE/HMS/STD/standard.database
index b525f093..278bf539 100644
--- a/DBASE/HMS/STD/standard.database
+++ b/DBASE/HMS/STD/standard.database
@@ -2,6 +2,40 @@
 g_ctp_parm_filename ="DBASE/HMS/GEN/general.param"
 g_ctp_kinematics_filename ="DBASE/HMS/STD/standard.kinematics"
 g_ctp_calib_filename ="DBASE/HMS/GEN/default_det_calib_files.param"
+
 303-303
 g_ctp_parm_filename ="DBASE/HMS/GEN/KPP_Spring_2017/general.param"
-g_ctp_calib_filename ="DBASE/HMS/GEN/KPP_Spring_2017/calib_303.param"
\ No newline at end of file
+g_ctp_calib_filename ="DBASE/HMS/GEN/KPP_Spring_2017/calib_303.param"
+
+1116-1277
+g_ctp_parm_filename ="DBASE/HMS/GEN/Fall_Comm_2017/general.param"
+
+1130-1130
+g_ctp_calib_filename ="DBASE/HMS/GEN/Fall_Comm_2017/calib_1130.param"
+
+1136-1136
+g_ctp_calib_filename ="DBASE/HMS/GEN/Fall_Comm_2017/calib_1136.param"
+
+1178-1178
+g_ctp_calib_filename ="DBASE/HMS/GEN/Fall_Comm_2017/calib_1178.param"
+
+1179-1179
+g_ctp_calib_filename ="DBASE/HMS/GEN/Fall_Comm_2017/calib_1179.param"
+
+1180-1180
+g_ctp_calib_filename ="DBASE/HMS/GEN/Fall_Comm_2017/calib_1180.param"
+
+1212-1212
+g_ctp_calib_filename ="DBASE/HMS/GEN/Fall_Comm_2017/calib_1212.param"
+
+1213-1213
+g_ctp_calib_filename ="DBASE/HMS/GEN/Fall_Comm_2017/calib_1213.param"
+
+1214-1214
+g_ctp_calib_filename ="DBASE/HMS/GEN/Fall_Comm_2017/calib_1214.param"
+
+1235-1235
+g_ctp_calib_filename ="DBASE/HMS/GEN/Fall_Comm_2017/calib_1235.param"
+
+1249-1249
+g_ctp_calib_filename ="DBASE/HMS/GEN/Fall_Comm_2017/calib_1249.param"
\ No newline at end of file
diff --git a/DBASE/SHMS/GEN/Fall_Comm_2017/calib_1583.param b/DBASE/SHMS/GEN/Fall_Comm_2017/calib_1583.param
new file mode 100644
index 00000000..9ffb7b13
--- /dev/null
+++ b/DBASE/SHMS/GEN/Fall_Comm_2017/calib_1583.param
@@ -0,0 +1,2 @@
+; SHMS calibration files for run 1583
+#include "/PARAM/SHMS/HGCER/CALIB/Fall_Comm_2017/phgcer_calib_1583.param"
\ No newline at end of file
diff --git a/DBASE/SHMS/GEN/Fall_Comm_2017/calib_1585.param b/DBASE/SHMS/GEN/Fall_Comm_2017/calib_1585.param
new file mode 100644
index 00000000..1db5a731
--- /dev/null
+++ b/DBASE/SHMS/GEN/Fall_Comm_2017/calib_1585.param
@@ -0,0 +1,3 @@
+; SHMS calibration files for run 1585
+#include "/PARAM/SHMS/AERO/CALIB/Fall_Comm_2017/paero_calib_1585.param"
+#include "/PARAM/SHMS/CAL/CALIB/Fall_Comm_2017/pcal_calib_1585.param"
\ No newline at end of file
diff --git a/DBASE/SHMS/GEN/Fall_Comm_2017/calib_1586.param b/DBASE/SHMS/GEN/Fall_Comm_2017/calib_1586.param
new file mode 100644
index 00000000..bbe4a6f8
--- /dev/null
+++ b/DBASE/SHMS/GEN/Fall_Comm_2017/calib_1586.param
@@ -0,0 +1,2 @@
+; SHMS calibration files for run 1586
+#include "/PARAM/SHMS/CAL/CALIB/Fall_Comm_2017/pcal_calib_1586.param"
\ No newline at end of file
diff --git a/DBASE/SHMS/GEN/Fall_Comm_2017/general.param b/DBASE/SHMS/GEN/Fall_Comm_2017/general.param
new file mode 100644
index 00000000..afff83d0
--- /dev/null
+++ b/DBASE/SHMS/GEN/Fall_Comm_2017/general.param
@@ -0,0 +1,43 @@
+#real raddeg
+raddeg=3.14159265/180
+#real cminch
+cminch=2.54
+
+; General Hall-C parameter files
+#include "PARAM/GEN/genflags.param"
+#include "PARAM/GEN/gdebug.param"
+#include "PARAM/GEN/gtarget.param"
+#include "PARAM/GEN/gbeam.param"
+#include "PARAM/GEN/gscalers.param"
+
+; General SHMS parameter files
+; Note: shmsflags.param includes spectrometer offsets and options.
+#include "PARAM/SHMS/GEN/pcana.param"
+#include "PARAM/SHMS/GEN/pdebug.param"
+#include "PARAM/SHMS/GEN/shmsflags.param"
+#include "PARAM/SHMS/GEN/ptracking.param"
+
+; SHMS default geometry parameter files
+#include "PARAM/SHMS/NGCER/GEOM/pngcer_geom.param"
+#include "PARAM/SHMS/DC/GEOM/pdc_geom.param"
+#include "PARAM/SHMS/HODO/GEOM/phodo_geom.param"
+#include "PARAM/SHMS/HGCER/GEOM/phgcer_geom.param"
+#include "PARAM/SHMS/AERO/GEOM/paero_geom.param"
+#include "PARAM/SHMS/CAL/GEOM/pcal_geom.param"
+
+; SHMS default cut parameter files
+#include "PARAM/SHMS/NGCER/CUTS/pngcer_cuts.param"
+#include "PARAM/SHMS/DC/CUTS/pdc_cuts.param"
+#include "PARAM/SHMS/HODO/CUTS/phodo_cuts.param"
+#include "PARAM/SHMS/HGCER/CUTS/phgcer_cuts.param"
+#include "PARAM/SHMS/AERO/CUTS/paero_cuts.param"
+#include "PARAM/SHMS/CAL/CUTS/pcal_cuts.param"
+
+; SHMS default calibration parameter files
+#include "PARAM/SHMS/NGCER/CALIB/pngcer_calib.param"
+#include "PARAM/SHMS/DC/CALIB/pdc_calib.param"
+#include "PARAM/SHMS/DC/CALIB/pdc_tzero_per_wire.param"
+#include "PARAM/SHMS/HODO/CALIB/phodo_calib.param"
+#include "PARAM/SHMS/HGCER/CALIB/phgcer_calib.param"
+#include "PARAM/SHMS/AERO/CALIB/paero_calib.param"
+#include "PARAM/SHMS/CAL/CALIB/pcal_calib.param"
diff --git a/DBASE/SHMS/STD/standard.database b/DBASE/SHMS/STD/standard.database
index 845519d7..1b2d3358 100644
--- a/DBASE/SHMS/STD/standard.database
+++ b/DBASE/SHMS/STD/standard.database
@@ -5,6 +5,7 @@ g_ctp_calib_filename ="DBASE/SHMS/GEN/default_det_calib_files.param"
 
 464-488
 g_ctp_parm_filename ="DBASE/SHMS/GEN/KPP_Spring_2017/general.param"
+
 464-464
 g_ctp_calib_filename ="DBASE/SHMS/GEN/KPP_Spring_2017/calib_464.param"
 
@@ -40,3 +41,15 @@ g_ctp_calib_filename ="DBASE/SHMS/GEN/KPP_Spring_2017/calib_487.param"
 
 488-488
 g_ctp_calib_filename ="DBASE/SHMS/GEN/KPP_Spring_2017/calib_488.param"
+
+1158-1704
+g_ctp_parm_filename ="DBASE/SHMS/GEN/Fall_Comm_2017/general.param"
+
+1583-1583
+g_ctp_calib_filename ="DBASE/SHMS/GEN/Fall_Comm_2017/calib_1583.param"
+
+1585-1585
+g_ctp_calib_filename ="DBASE/SHMS/GEN/Fall_Comm_2017/calib_1585.param"
+
+1586-1586
+g_ctp_calib_filename ="DBASE/SHMS/GEN/Fall_Comm_2017/calib_1586.param"
diff --git a/PARAM/HMS/CAL/CALIB/Fall_Comm_2017/hcal_calib_1136.param b/PARAM/HMS/CAL/CALIB/Fall_Comm_2017/hcal_calib_1136.param
new file mode 100644
index 00000000..7c265d67
--- /dev/null
+++ b/PARAM/HMS/CAL/CALIB/Fall_Comm_2017/hcal_calib_1136.param
@@ -0,0 +1,10 @@
+; Calibration constants for run 1136_100000, 39049 events processed
+
+hcal_pos_gain_cor=  0.00,  9.15, 10.44, 10.88, 10.86, 11.14, 12.93, 14.47, 10.02, 14.21, 12.72, 13.03,  0.00,
+                    9.44, 15.69, 10.67, 13.04, 11.65,  9.33, 10.58, 10.56,  9.76, 10.34, 10.30, 12.17,  0.00,
+                   23.63, 16.39, 17.25, 19.63, 17.38, 16.83, 19.07, 18.55, 18.51, 23.70, 18.56, 20.22,  0.00,
+                    0.00, 19.40, 21.71, 19.02, 19.86, 20.51, 24.60, 20.31, 19.73, 21.80, 18.53, 19.00,  0.00,
+hcal_neg_gain_cor=  0.00, 12.76, 13.46, 10.86, 12.85, 14.27, 11.70, 14.84, 13.87, 11.47, 12.57, 12.83,  0.00,
+                   29.74, 12.10, 13.64, 13.64, 13.63, 14.32, 16.45, 14.92, 17.14, 16.15, 17.72, 14.32,  0.00,
+                    0.00,  0.00,  0.00,  0.00,  0.00,  0.00,  0.00,  0.00,  0.00,  0.00,  0.00,  0.00,  0.00,
+                    0.00,  0.00,  0.00,  0.00,  0.00,  0.00,  0.00,  0.00,  0.00,  0.00,  0.00,  0.00,  0.00,
\ No newline at end of file
diff --git a/PARAM/HMS/CAL/CALIB/Fall_Comm_2017/hcal_calib_1235.param b/PARAM/HMS/CAL/CALIB/Fall_Comm_2017/hcal_calib_1235.param
new file mode 100644
index 00000000..8d9f075e
--- /dev/null
+++ b/PARAM/HMS/CAL/CALIB/Fall_Comm_2017/hcal_calib_1235.param
@@ -0,0 +1,10 @@
+; Calibration constants for run 1235_200000, 25267 events processed
+
+hcal_pos_gain_cor=  9.74, 10.65, 11.11,  9.31, 11.69,  9.46, 10.18, 15.49, 12.01, 13.14, 12.06,  9.32,  0.00,
+                   13.91, 20.12, 10.27, 11.75, 11.65, 10.53, 10.95, 10.69, 11.36, 10.18,  9.49, 12.24,  0.00,
+                   28.15, 14.77, 16.91, 18.90, 16.42, 16.87, 19.42, 17.40, 17.81, 22.50, 17.32, 18.72,  0.00,
+                    0.00, 25.35, 30.18, 25.58, 24.51, 23.24, 30.10, 24.59, 22.41, 26.53, 22.92, 25.45,  0.00,
+hcal_neg_gain_cor= 20.33, 11.87, 12.20, 12.71, 11.77, 16.24, 15.43, 13.69, 11.59, 12.92, 14.14, 16.85,  0.00,
+                    9.47,  7.17, 14.47, 15.39, 13.87, 12.94, 15.45, 14.88, 15.65, 16.67, 18.17, 15.53,  0.00,
+                    0.00,  0.00,  0.00,  0.00,  0.00,  0.00,  0.00,  0.00,  0.00,  0.00,  0.00,  0.00,  0.00,
+                    0.00,  0.00,  0.00,  0.00,  0.00,  0.00,  0.00,  0.00,  0.00,  0.00,  0.00,  0.00,  0.00,
\ No newline at end of file
diff --git a/PARAM/HMS/CAL/CALIB/Fall_Comm_2017/hcal_calib_1249.param b/PARAM/HMS/CAL/CALIB/Fall_Comm_2017/hcal_calib_1249.param
new file mode 100644
index 00000000..b4e4c557
--- /dev/null
+++ b/PARAM/HMS/CAL/CALIB/Fall_Comm_2017/hcal_calib_1249.param
@@ -0,0 +1,10 @@
+; Calibration constants for run 1249_200000, 78006 events processed
+
+hcal_pos_gain_cor=  7.20, 14.39, 14.23, 14.22, 15.07, 14.63, 15.87, 22.08, 13.26, 17.94, 17.44, 16.69,  0.00,
+                   13.39, 19.40, 16.50, 17.83, 15.40, 14.08, 17.24, 15.39, 16.85, 15.45, 13.96, 17.48,  0.00,
+                   29.26, 19.92, 20.23, 23.64, 20.64, 20.75, 23.38, 22.36, 22.10, 28.24, 21.46, 23.42,  0.00,
+                    0.00, 26.25, 31.65, 27.98, 29.46, 30.29, 34.00, 31.55, 29.35, 33.95, 28.08, 32.92,  0.00,
+hcal_neg_gain_cor= 29.48, 15.39, 17.31, 15.16, 16.63, 19.68, 17.94, 15.52, 19.04, 16.85, 17.30, 19.02,  0.00,
+                   24.27, 19.16, 16.95, 19.24, 19.62, 17.54, 18.57, 19.75, 19.65, 20.81, 23.76, 19.20,  0.00,
+                    0.00,  0.00,  0.00,  0.00,  0.00,  0.00,  0.00,  0.00,  0.00,  0.00,  0.00,  0.00,  0.00,
+                    0.00,  0.00,  0.00,  0.00,  0.00,  0.00,  0.00,  0.00,  0.00,  0.00,  0.00,  0.00,  0.00,
\ No newline at end of file
diff --git a/PARAM/HMS/CAL/CALIB/hcal_calib.param b/PARAM/HMS/CAL/CALIB/hcal_calib.param
deleted file mode 100644
index 2f363dec..00000000
--- a/PARAM/HMS/CAL/CALIB/hcal_calib.param
+++ /dev/null
@@ -1,10 +0,0 @@
-; Calibration constants for run 1136_100000, 39049 events processed
-
-hcal_pos_gain_cor=  0.00,  9.15, 10.44, 10.88, 10.86, 11.14, 12.93, 14.47, 10.02, 14.21, 12.72, 13.03,  0.00,
-                    9.44, 15.69, 10.67, 13.04, 11.65,  9.33, 10.58, 10.56,  9.76, 10.34, 10.30, 12.17,  0.00,
-                   23.63, 16.39, 17.25, 19.63, 17.38, 16.83, 19.07, 18.55, 18.51, 23.70, 18.56, 20.22,  0.00,
-                    0.00, 19.40, 21.71, 19.02, 19.86, 20.51, 24.60, 20.31, 19.73, 21.80, 18.53, 19.00,  0.00,
-hcal_neg_gain_cor=  0.00, 12.76, 13.46, 10.86, 12.85, 14.27, 11.70, 14.84, 13.87, 11.47, 12.57, 12.83,  0.00,
-                   29.74, 12.10, 13.64, 13.64, 13.63, 14.32, 16.45, 14.92, 17.14, 16.15, 17.72, 14.32,  0.00,
-                    0.00,  0.00,  0.00,  0.00,  0.00,  0.00,  0.00,  0.00,  0.00,  0.00,  0.00,  0.00,  0.00,
-                    0.00,  0.00,  0.00,  0.00,  0.00,  0.00,  0.00,  0.00,  0.00,  0.00,  0.00,  0.00,  0.00,
diff --git a/PARAM/HMS/CAL/CALIB/hcal_calib.param b/PARAM/HMS/CAL/CALIB/hcal_calib.param
new file mode 120000
index 00000000..aa4ff2bd
--- /dev/null
+++ b/PARAM/HMS/CAL/CALIB/hcal_calib.param
@@ -0,0 +1 @@
+Fall_Comm_2017/hcal_calib_1235.param
\ No newline at end of file
diff --git a/PARAM/HMS/CER/CALIB/Fall_Comm_2017/hcer_calib_1130.param b/PARAM/HMS/CER/CALIB/Fall_Comm_2017/hcer_calib_1130.param
index ab04e588..d8909e5d 100644
--- a/PARAM/HMS/CER/CALIB/Fall_Comm_2017/hcer_calib_1130.param
+++ b/PARAM/HMS/CER/CALIB/Fall_Comm_2017/hcer_calib_1130.param
@@ -1 +1 @@
-hcer_adc_to_npe = 6.556*0.04,5.224*0.04
\ No newline at end of file
+hcer_adc_to_npe = 1./6.556, 1./5.224
\ No newline at end of file
diff --git a/PARAM/HMS/CER/CALIB/Fall_Comm_2017/hcer_calib_1136.param b/PARAM/HMS/CER/CALIB/Fall_Comm_2017/hcer_calib_1136.param
index 2aec810e..2e8b9c20 100644
--- a/PARAM/HMS/CER/CALIB/Fall_Comm_2017/hcer_calib_1136.param
+++ b/PARAM/HMS/CER/CALIB/Fall_Comm_2017/hcer_calib_1136.param
@@ -1 +1 @@
-hcer_adc_to_npe = 6.638*0.04,5.242*0.04
\ No newline at end of file
+hcer_adc_to_npe = 1./6.638, 1./5.242
\ No newline at end of file
diff --git a/PARAM/HMS/CER/CALIB/Fall_Comm_2017/hcer_calib_1178.param b/PARAM/HMS/CER/CALIB/Fall_Comm_2017/hcer_calib_1178.param
index 31667aef..17202ac0 100644
--- a/PARAM/HMS/CER/CALIB/Fall_Comm_2017/hcer_calib_1178.param
+++ b/PARAM/HMS/CER/CALIB/Fall_Comm_2017/hcer_calib_1178.param
@@ -1 +1 @@
-hcer_adc_to_npe = 6.748*0.04,5.310*0.04
+hcer_adc_to_npe = 1./6.748, 1./5.310
diff --git a/PARAM/HMS/CER/CALIB/Fall_Comm_2017/hcer_calib_1179.param b/PARAM/HMS/CER/CALIB/Fall_Comm_2017/hcer_calib_1179.param
index 0b4d53b0..b54472e3 100644
--- a/PARAM/HMS/CER/CALIB/Fall_Comm_2017/hcer_calib_1179.param
+++ b/PARAM/HMS/CER/CALIB/Fall_Comm_2017/hcer_calib_1179.param
@@ -1 +1 @@
-hcer_adc_to_npe = 6.752*0.04,5.850*0.04
\ No newline at end of file
+hcer_adc_to_npe = 1./6.752, 1./5.850
\ No newline at end of file
diff --git a/PARAM/HMS/CER/CALIB/Fall_Comm_2017/hcer_calib_1180.param b/PARAM/HMS/CER/CALIB/Fall_Comm_2017/hcer_calib_1180.param
index 4b518876..665ff43f 100644
--- a/PARAM/HMS/CER/CALIB/Fall_Comm_2017/hcer_calib_1180.param
+++ b/PARAM/HMS/CER/CALIB/Fall_Comm_2017/hcer_calib_1180.param
@@ -1 +1 @@
-hcer_adc_to_npe = 6.732*0.04,5.985*0.04
\ No newline at end of file
+hcer_adc_to_npe = 1./6.732, 1./5.985
\ No newline at end of file
diff --git a/PARAM/HMS/CER/CALIB/Fall_Comm_2017/hcer_calib_1212.param b/PARAM/HMS/CER/CALIB/Fall_Comm_2017/hcer_calib_1212.param
index 617906d3..ca8cef45 100644
--- a/PARAM/HMS/CER/CALIB/Fall_Comm_2017/hcer_calib_1212.param
+++ b/PARAM/HMS/CER/CALIB/Fall_Comm_2017/hcer_calib_1212.param
@@ -1 +1 @@
-hcer_adc_to_npe = 5.735*0.04,5.741*0.04
\ No newline at end of file
+hcer_adc_to_npe = 1./5.735, 1./5.741
\ No newline at end of file
diff --git a/PARAM/HMS/CER/CALIB/Fall_Comm_2017/hcer_calib_1213.param b/PARAM/HMS/CER/CALIB/Fall_Comm_2017/hcer_calib_1213.param
index 7450b99b..786a5145 100644
--- a/PARAM/HMS/CER/CALIB/Fall_Comm_2017/hcer_calib_1213.param
+++ b/PARAM/HMS/CER/CALIB/Fall_Comm_2017/hcer_calib_1213.param
@@ -1 +1 @@
-hcer_adc_to_npe = 6.616*0.04,6.564*0.04
\ No newline at end of file
+hcer_adc_to_npe = 1./6.616, 1./6.564
\ No newline at end of file
diff --git a/PARAM/HMS/CER/CALIB/Fall_Comm_2017/hcer_calib_1214.param b/PARAM/HMS/CER/CALIB/Fall_Comm_2017/hcer_calib_1214.param
index d540d097..98c25af3 100644
--- a/PARAM/HMS/CER/CALIB/Fall_Comm_2017/hcer_calib_1214.param
+++ b/PARAM/HMS/CER/CALIB/Fall_Comm_2017/hcer_calib_1214.param
@@ -1 +1 @@
-hcer_adc_to_npe = 6.399*0.04,5.729*0.04
\ No newline at end of file
+hcer_adc_to_npe = 1./6.399, 1./5.729
\ No newline at end of file
diff --git a/PARAM/HMS/CER/CALIB/hcer_calib.param b/PARAM/HMS/CER/CALIB/hcer_calib.param
deleted file mode 100644
index 617906d3..00000000
--- a/PARAM/HMS/CER/CALIB/hcer_calib.param
+++ /dev/null
@@ -1 +0,0 @@
-hcer_adc_to_npe = 5.735*0.04,5.741*0.04
\ No newline at end of file
diff --git a/PARAM/HMS/CER/CALIB/hcer_calib.param b/PARAM/HMS/CER/CALIB/hcer_calib.param
new file mode 120000
index 00000000..ace5be07
--- /dev/null
+++ b/PARAM/HMS/CER/CALIB/hcer_calib.param
@@ -0,0 +1 @@
+Fall_Comm_2017/hcer_calib_1212.param
\ No newline at end of file
diff --git a/PARAM/SHMS/AERO/CALIB/Fall_Comm_2017/paero_calib_1585.param b/PARAM/SHMS/AERO/CALIB/Fall_Comm_2017/paero_calib_1585.param
new file mode 100644
index 00000000..f868fea9
--- /dev/null
+++ b/PARAM/SHMS/AERO/CALIB/Fall_Comm_2017/paero_calib_1585.param
@@ -0,0 +1,3 @@
+; SHMS aerogel gain factors from 0.5% C production run 1585
+paero_pos_gain = 1./7.56425, 1./10.3021, 1./11.0215, 1./13.746, 1./10.4022, 1./11.2585, 1./11.7267
+paero_neg_gain = 1./12.1112, 1./11.9825, 1./12.3054, 1./12.5971, 1./11.6322, 1./8.2361, 1./12.8493
\ No newline at end of file
diff --git a/PARAM/SHMS/AERO/CALIB/paero_calib.param b/PARAM/SHMS/AERO/CALIB/paero_calib.param
deleted file mode 100644
index f901b1f8..00000000
--- a/PARAM/SHMS/AERO/CALIB/paero_calib.param
+++ /dev/null
@@ -1,5 +0,0 @@
-; Positive aerogel gain factors
-paero_pos_gain = 1./496.7/0.0195, 1./467.5/0.0195, 1./554.3/0.0195, 1./766.1/0.0195, 1./412.1/0.0195, 1./517.9/0.0195, 1./435.6/0.0195
-
-; Negative aerogel gain factors
-paero_neg_gain = 1./586.8/0.0195, 1./536.5/0.0195, 1./690.5/0.0195, 1./563.1/0.0195, 1./574.4/0.0195, 1./432.7/0.0195, 1./601.5/0.0195
\ No newline at end of file
diff --git a/PARAM/SHMS/AERO/CALIB/paero_calib.param b/PARAM/SHMS/AERO/CALIB/paero_calib.param
new file mode 120000
index 00000000..4b55a5d9
--- /dev/null
+++ b/PARAM/SHMS/AERO/CALIB/paero_calib.param
@@ -0,0 +1 @@
+Fall_Comm_2017/paero_calib_1585.param
\ No newline at end of file
diff --git a/PARAM/SHMS/AERO/paero_calib.param b/PARAM/SHMS/AERO/paero_calib.param
deleted file mode 100644
index e974b17e..00000000
--- a/PARAM/SHMS/AERO/paero_calib.param
+++ /dev/null
@@ -1,18 +0,0 @@
-; Positive aerogel gain factors
-;paero_pos_gain = 1./496.7/0.0195, 1./467.5/0.0195, 1./554.3/0.0195, 1./766.1/0.0195, 1./412.1/0.0195, 1./517.9/0.0195, 1./435.6/0.0195
-;
-; Negative aerogel gain factors
-;paero_neg_gain = 1./586.8/0.0195, 1./536.5/0.0195, 1./690.5/0.0195, 1./563.1/0.0195, 1./574.4/0.0195, 1./432.7/0.0195, 1./601.5/0.0195
-;
-
-; From cosmic run 1438
-; Positive aerogel gain factors
-;paero_pos_gain = 1./7.72, 1./10.46, 1./11.06, 1./14.3, 1./10.5, 1./11.6, 1./12.3
-;
-; Negative aerogel gain factors
-;paero_neg_gain = 1./12.03, 1./12.03, 1./11.95, 1./12.44, 1./11.45, 1./6.75, 1./13.68
-;
-
-; From 0.5% C production run 1585
-paero_pos_gain = 1./7.56425, 1./10.3021, 1./11.0215, 1./13.746, 1./10.4022, 1./11.2585, 1./11.7267
-paero_neg_gain = 1./12.1112, 1./11.9825, 1./12.3054, 1./12.5971, 1./11.6322, 1./8.2361, 1./12.8493
\ No newline at end of file
diff --git a/PARAM/SHMS/CAL/pcal_calib.param b/PARAM/SHMS/CAL/CALIB/Fall_Comm_2017/pcal_calib_1585.param
similarity index 100%
rename from PARAM/SHMS/CAL/pcal_calib.param
rename to PARAM/SHMS/CAL/CALIB/Fall_Comm_2017/pcal_calib_1585.param
diff --git a/PARAM/SHMS/CAL/CALIB/Fall_Comm_2017/pcal_calib_1586.param b/PARAM/SHMS/CAL/CALIB/Fall_Comm_2017/pcal_calib_1586.param
new file mode 100644
index 00000000..682ab117
--- /dev/null
+++ b/PARAM/SHMS/CAL/CALIB/Fall_Comm_2017/pcal_calib_1586.param
@@ -0,0 +1,18 @@
+; Calibration constants for run 1586_500000, 36985 events processed
+
+pcal_neg_gain_cor =  0.00, 31.51, 28.13, 30.86, 32.42, 29.27, 32.86, 33.42, 35.00, 30.49, 30.49, 29.10,  0.00,  0.00,
+pcal_pos_gain_cor =  0.00, 28.80, 29.54, 31.20, 33.48, 36.21, 33.23, 26.37, 29.64, 28.06, 32.26, 28.24,  0.00,  0.00,
+pcal_arr_gain_cor =  0.00,  0.00,  0.00,  0.00,  0.00,  0.00,  0.00,  0.00,  0.00,  0.00,  0.00,  0.00,  0.00,  0.00,  0.00,  0.00,
+                    0.00,  0.00,  0.00,  0.00,  0.00,  0.00,  0.00,  0.00,  0.00,  0.00,  0.00,  0.00,  0.00,  0.00,  0.00,  0.00,
+                    0.00,  0.00,  0.00,  0.00,  0.00,  0.00,  0.00,  0.00,  0.00,  0.00,  0.00,  0.00,  0.00,  0.00,  0.00,  0.00,
+                    0.00,  0.00, 54.80, 46.82, 43.98, 36.03,  0.00,  0.00,  0.00,  0.00,  0.00,  0.00,  0.00,  0.00,  0.00,  0.00,
+                    0.00, 77.37, 30.65, 31.22, 67.97, 60.92, 49.36, 40.42,  0.00,  0.00,  0.00, 37.38, 41.68, 71.29,  0.00,  0.00,
+                    0.00, 47.40, 34.05, 75.12, 20.23, 45.25, 48.05, 60.94, 80.89, 34.90, 51.37, 56.13, 77.35, 20.30,  0.00,  0.00,
+                    0.00, 39.61, 58.86, 49.32, 27.50, 47.19, 61.69, 47.89, 43.02, 42.17, 36.82, 24.33, 43.74, 38.94,  0.00,  0.00,
+                    0.00, 10.36, 18.93, 15.62, 20.03, 14.50, 20.29, 24.44, 13.14, 19.73, 28.33, 22.92, 30.20, 18.36, 10.17,  0.00,
+                    0.00, 26.11, 33.75, 36.52, 54.50, 48.39, 27.74, 48.42, 71.14, 72.21, 31.29, 68.47, 30.96, 28.41,  0.00,  0.00,
+                    0.00,  0.00, 23.28, 45.52, 28.62, 63.17, 51.75,  0.00,  0.00,  0.00, 44.32, 43.23, 59.05, 36.97,  0.00,  0.00,
+                    0.00,  0.00,  0.00,  0.00,  0.00,  0.00,  0.00,  0.00,  0.00,  0.00,  0.00, 38.05, 39.57, 27.08,  0.00,  0.00,
+                    0.00,  0.00,  0.00,  0.00,  0.00,  0.00,  0.00,  0.00,  0.00,  0.00,  0.00,  0.00,  0.00,  0.00,  0.00,  0.00,
+                    0.00,  0.00,  0.00,  0.00,  0.00,  0.00,  0.00,  0.00,  0.00,  0.00,  0.00,  0.00,  0.00,  0.00,  0.00,  0.00,
+                    0.00,  0.00,  0.00,  0.00,  0.00,  0.00,  0.00,  0.00,  0.00,  0.00,  0.00,  0.00,  0.00,  0.00,  0.00,  0.00,
diff --git a/PARAM/SHMS/CAL/CALIB/pcal_calib.param b/PARAM/SHMS/CAL/CALIB/pcal_calib.param
deleted file mode 100644
index 682ab117..00000000
--- a/PARAM/SHMS/CAL/CALIB/pcal_calib.param
+++ /dev/null
@@ -1,18 +0,0 @@
-; Calibration constants for run 1586_500000, 36985 events processed
-
-pcal_neg_gain_cor =  0.00, 31.51, 28.13, 30.86, 32.42, 29.27, 32.86, 33.42, 35.00, 30.49, 30.49, 29.10,  0.00,  0.00,
-pcal_pos_gain_cor =  0.00, 28.80, 29.54, 31.20, 33.48, 36.21, 33.23, 26.37, 29.64, 28.06, 32.26, 28.24,  0.00,  0.00,
-pcal_arr_gain_cor =  0.00,  0.00,  0.00,  0.00,  0.00,  0.00,  0.00,  0.00,  0.00,  0.00,  0.00,  0.00,  0.00,  0.00,  0.00,  0.00,
-                    0.00,  0.00,  0.00,  0.00,  0.00,  0.00,  0.00,  0.00,  0.00,  0.00,  0.00,  0.00,  0.00,  0.00,  0.00,  0.00,
-                    0.00,  0.00,  0.00,  0.00,  0.00,  0.00,  0.00,  0.00,  0.00,  0.00,  0.00,  0.00,  0.00,  0.00,  0.00,  0.00,
-                    0.00,  0.00, 54.80, 46.82, 43.98, 36.03,  0.00,  0.00,  0.00,  0.00,  0.00,  0.00,  0.00,  0.00,  0.00,  0.00,
-                    0.00, 77.37, 30.65, 31.22, 67.97, 60.92, 49.36, 40.42,  0.00,  0.00,  0.00, 37.38, 41.68, 71.29,  0.00,  0.00,
-                    0.00, 47.40, 34.05, 75.12, 20.23, 45.25, 48.05, 60.94, 80.89, 34.90, 51.37, 56.13, 77.35, 20.30,  0.00,  0.00,
-                    0.00, 39.61, 58.86, 49.32, 27.50, 47.19, 61.69, 47.89, 43.02, 42.17, 36.82, 24.33, 43.74, 38.94,  0.00,  0.00,
-                    0.00, 10.36, 18.93, 15.62, 20.03, 14.50, 20.29, 24.44, 13.14, 19.73, 28.33, 22.92, 30.20, 18.36, 10.17,  0.00,
-                    0.00, 26.11, 33.75, 36.52, 54.50, 48.39, 27.74, 48.42, 71.14, 72.21, 31.29, 68.47, 30.96, 28.41,  0.00,  0.00,
-                    0.00,  0.00, 23.28, 45.52, 28.62, 63.17, 51.75,  0.00,  0.00,  0.00, 44.32, 43.23, 59.05, 36.97,  0.00,  0.00,
-                    0.00,  0.00,  0.00,  0.00,  0.00,  0.00,  0.00,  0.00,  0.00,  0.00,  0.00, 38.05, 39.57, 27.08,  0.00,  0.00,
-                    0.00,  0.00,  0.00,  0.00,  0.00,  0.00,  0.00,  0.00,  0.00,  0.00,  0.00,  0.00,  0.00,  0.00,  0.00,  0.00,
-                    0.00,  0.00,  0.00,  0.00,  0.00,  0.00,  0.00,  0.00,  0.00,  0.00,  0.00,  0.00,  0.00,  0.00,  0.00,  0.00,
-                    0.00,  0.00,  0.00,  0.00,  0.00,  0.00,  0.00,  0.00,  0.00,  0.00,  0.00,  0.00,  0.00,  0.00,  0.00,  0.00,
diff --git a/PARAM/SHMS/CAL/CALIB/pcal_calib.param b/PARAM/SHMS/CAL/CALIB/pcal_calib.param
new file mode 120000
index 00000000..b02968cc
--- /dev/null
+++ b/PARAM/SHMS/CAL/CALIB/pcal_calib.param
@@ -0,0 +1 @@
+Fall_Comm_2017/pcal_calib_1586.param
\ No newline at end of file
diff --git a/PARAM/SHMS/HGCER/CALIB/Fall_Comm_2017/phgcer_calib_1583.param b/PARAM/SHMS/HGCER/CALIB/Fall_Comm_2017/phgcer_calib_1583.param
new file mode 100644
index 00000000..46a2d429
--- /dev/null
+++ b/PARAM/SHMS/HGCER/CALIB/Fall_Comm_2017/phgcer_calib_1583.param
@@ -0,0 +1,2 @@
+; Garth H. gain calibration from Run 1583, Dec 14 2017
+phgcer_adc_to_npe = 1.0/6.587, 1.0/7.069, 1.0/6.507, 1.0/6.367
diff --git a/PARAM/SHMS/HGCER/CALIB/phgcer_calib.param b/PARAM/SHMS/HGCER/CALIB/phgcer_calib.param
deleted file mode 100644
index 46a2d429..00000000
--- a/PARAM/SHMS/HGCER/CALIB/phgcer_calib.param
+++ /dev/null
@@ -1,2 +0,0 @@
-; Garth H. gain calibration from Run 1583, Dec 14 2017
-phgcer_adc_to_npe = 1.0/6.587, 1.0/7.069, 1.0/6.507, 1.0/6.367
diff --git a/PARAM/SHMS/HGCER/CALIB/phgcer_calib.param b/PARAM/SHMS/HGCER/CALIB/phgcer_calib.param
new file mode 120000
index 00000000..32ba2c44
--- /dev/null
+++ b/PARAM/SHMS/HGCER/CALIB/phgcer_calib.param
@@ -0,0 +1 @@
+Fall_Comm_2017/phgcer_calib_1583.param
\ No newline at end of file
-- 
GitLab