From 96967d30fb3950027ee4dda351a48d095b9d2e10 Mon Sep 17 00:00:00 2001
From: hallc-online <hallconline@gmail.com>
Date: Tue, 10 Apr 2018 09:33:27 -0400
Subject: [PATCH] Update parameters for latest SHMS optics matrix

---
 PARAM/SHMS/DC/pdc_geom.param   | 2 +-
 PARAM/SHMS/GEN/pcana.param     | 4 ++--
 PARAM/SHMS/GEN/shmsflags.param | 2 +-
 3 files changed, 4 insertions(+), 4 deletions(-)

diff --git a/PARAM/SHMS/DC/pdc_geom.param b/PARAM/SHMS/DC/pdc_geom.param
index 80ec5ff9..c125c616 100644
--- a/PARAM/SHMS/DC/pdc_geom.param
+++ b/PARAM/SHMS/DC/pdc_geom.param
@@ -45,7 +45,7 @@ pdc_readoutTB = 1, -1, 1, -1, 1, -1
 ; x, y and z position of center for each wire chamber in cm.
 ; From survey C1771.
 pdc_xcenter = -0.036, 0.008;
-pdc_ycenter = 0.019-0.613, 0.013-0.613 ;
+pdc_ycenter = 0.019-0.43, 0.013-0.43 ;
 
 pdc_1_zpos = -40 - 0.656 ;
 pdc_2_zpos =  40 - 0.668 ;
diff --git a/PARAM/SHMS/GEN/pcana.param b/PARAM/SHMS/GEN/pcana.param
index 02ebf970..be41756d 100644
--- a/PARAM/SHMS/GEN/pcana.param
+++ b/PARAM/SHMS/GEN/pcana.param
@@ -3,6 +3,6 @@
 ;p_recon_coeff_filename = "DATFILES/shms-2011-26cm-monte_q2_p20_rec.dat"
 ;p_recon_coeff_filename = "DATFILES/shms-2011-26cm-monte_q2_m015_rec.dat"
 ;p_recon_coeff_filename = "DATFILES/shms_dipole_2plow.dat"
-p_recon_coeff_filename = "DATFILES/shms-2017-optimized.dat"
-
+;p_recon_coeff_filename = "DATFILES/shms-2017-optimized.dat"
+p_recon_coeff_filename = "DATFILES/shms-2017-optimized_2plow.dat"
 
diff --git a/PARAM/SHMS/GEN/shmsflags.param b/PARAM/SHMS/GEN/shmsflags.param
index 84b2dcfc..134d1ddb 100644
--- a/PARAM/SHMS/GEN/shmsflags.param
+++ b/PARAM/SHMS/GEN/shmsflags.param
@@ -13,7 +13,7 @@
 
 pdelta_offset = 0.0
 ptheta_offset = 0.0
-pphi_offset = 4.83E-4
+pphi_offset = -8.681269905E-4
 
 ; The following offsets are applied to the central kinematic variables
 ; These might be modified by an experiment
-- 
GitLab