From adc235f7b27b82be4b81f9930b134b2ebccd7fe0 Mon Sep 17 00:00:00 2001
From: Mark Jones <jones@jlab.org>
Date: Sat, 2 Dec 2017 16:54:59 -0500
Subject: [PATCH] Update SHMS KPP hodo

---
 DBASE/SHMS/GEN/KPP_Spring_2017/general.param  |  43 ++
 DBASE/SHMS/STD/standard.database              |   2 +
 PARAM/SHMS/HODO/CALIB/phodo_calib.param       | 422 ++++++------------
 .../CUTS/KPP_Spring_2017/phodo_cuts.param     |  46 ++
 4 files changed, 236 insertions(+), 277 deletions(-)
 create mode 100644 DBASE/SHMS/GEN/KPP_Spring_2017/general.param
 create mode 100644 PARAM/SHMS/HODO/CUTS/KPP_Spring_2017/phodo_cuts.param

diff --git a/DBASE/SHMS/GEN/KPP_Spring_2017/general.param b/DBASE/SHMS/GEN/KPP_Spring_2017/general.param
new file mode 100644
index 00000000..efb31a6c
--- /dev/null
+++ b/DBASE/SHMS/GEN/KPP_Spring_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/KPP_Spring_2017/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 bef4909a..845519d7 100644
--- a/DBASE/SHMS/STD/standard.database
+++ b/DBASE/SHMS/STD/standard.database
@@ -3,6 +3,8 @@ g_ctp_parm_filename ="DBASE/SHMS/GEN/general.param"
 g_ctp_kinematics_filename ="DBASE/SHMS/STD/standard.kinematics"
 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"
 
diff --git a/PARAM/SHMS/HODO/CALIB/phodo_calib.param b/PARAM/SHMS/HODO/CALIB/phodo_calib.param
index cd0a8cc0..f4b0e125 100644
--- a/PARAM/SHMS/HODO/CALIB/phodo_calib.param
+++ b/PARAM/SHMS/HODO/CALIB/phodo_calib.param
@@ -1,94 +1,51 @@
 
-phodo_pos_invadc_offset =   -5.0000,   -5.0000,  0.000,   0.000
-			    -5.0000,   -2.0000,  0.000,   0.000
-			    -5.0000,   -2.0000,  +10.000,   0.000
-			    -5.0000,   -4.0000,  0.000,   0.000
-			    -5.0000,   -4.0000,  +10.000,   0.000
-			    -5.0000,   -5.0000,  0.000,   0.000
-			    -5.0000,   -6.0000,  0.000,   -14.000
-			    -5.0000,   -4.0000,  0.000,   -14.000
-			    -5.0000,   -5.0000,  0.000,   -14.000
-			    -5.0000,   +6.0000,  0.000,   -14.000
-			    -5.0000,   0.0000,  0.000,   -14.000
-			    -5.0000,   +5.0000,  0.000,   -14.000
-			    -5.0000,   -7.0000,  0.000,   -14.000
-			    0.000,   0.0000,  0.000,   -14.000
-			    0.000,   0.0000,  0.000,   0.000
-			    0.000,   0.0000,  0.000,   0.000
+phodo_pos_invadc_offset =   -7.00,   -0.00,   -3.09,   -0.00
+                            -7.00,   -8.32,   -3.90,   -0.00
+                            -7.00,   -7.08,    8.54,   -0.00
+                            -7.00,   -7.38,   -3.29,   -0.00
+                            -7.00,   -8.80,    5.79,   -0.00
+                            -7.00,   -9.25,   -3.73,   -0.00
+                            -7.00,   -7.19,   -2.98,   -0.00
+                            -7.00,   -7.16,   -3.32,   -0.00
+                            -7.00,   -7.84,   -2.80,   -0.00
+                            -7.00,    1.25,   -2.34,   -0.00
+                            -7.00,   -7.97,   -4.11,   -0.00
+                            -7.00,    6.79,   -1.52,   -0.00
+                            -0.00,   -0.00,   -0.71,   -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.000,   0.0000,  0.000,   0.000
 			    0.000,   0.0000,  0.000,   0.000
 			    0.000,   0.0000,  0.000,   0.000
 			    0.000,   0.0000,  0.000,   0.000
 			    0.000,   0.0000,  0.000,   0.000
 
-phodo_neg_invadc_offset =   0.000,   0.0000,  0.000,   0.000
-			    0.000,   0.0000,  0.000,   0.000
-			    0.000,   0.0000,  +10.000,   0.000
-			    0.000,   0.0000,  0.000,   0.000
-			    0.000,   0.0000,  +10.000,   0.000
-			    0.000,   0.0000,  0.000,   0.000
-			    0.000,   0.0000,  0.000,   -14.000
-			    0.000,   0.0000,  0.000,   -14.000
-			    0.000,   0.0000,  0.000,   -14.000
-			    0.000,   +10.0000,  0.000,   -14.000
-			    0.000,   0.0000,  0.000,   -14.000
-			    0.000,   +10.0000,  0.000,   -14.000
-			    0.000,   0.0000,  0.000,   -14.000
-			    0.000,   0.0000,  0.000,  -14.000
-			    0.000,   0.0000,  0.000,   0.000
-			    0.000,   0.0000,  0.000,   0.000
+phodo_neg_invadc_offset =   -0.00,   -0.00,   -8.86,   -0.00
+                             0.00,   -6.26,   -9.29,   -0.00
+                           0.00,   -7.70,   11.43,   -0.00
+                           0.0,   -7.24,   -9.88,   -0.00
+                            0.0,   -7.54,    6.51,   -0.00
+                           0.0,   -6.81,  -10.98,   -0.00
+                            0.0,   -6.22,   -9.73,   -0.00
+                            0.0,   -8.00,   -9.11,   -0.00
+                            0.0,   -7.29,  -11.90,   -0.00
+                            0.0,    3.57,  -10.90,   -0.00
+                            0.0,   -8.00,   -8.37,   -0.00
+                           -0.0,    5.63,   -8.41,   -0.00
+                            -0.00,   -0.00,   -9.78,   -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.000,   0.0000,  0.000,   0.000
 			    0.000,   0.0000,  0.000,   0.000
 			    0.000,   0.0000,  0.000,   0.000
 			    0.000,   0.0000,  0.000,   0.000
 			    0.000,   0.0000,  0.000,   0.000
 
-phodo_pos_invadc_linear =   15.0,   15.0,   15.0,   15.0        
-			    15.0,   15.0,   15.0,   15.0      
-			    15.0,   15.0,   15.0,   15.0      
-			    15.0,   15.0,   15.0,   15.0   
-			    15.0,   15.0,   15.0,   15.0   
-			    15.0,   15.0,   15.0,   15.0  
-			    15.0,   15.0,   15.0,   15.0  
-			    15.0,   15.0,   15.0,   15.0
-			    15.0,   15.0,   15.0,   15.0 
-			    15.0,   15.0,   15.0,   15.0 
-			    15.0,   15.0,   15.0,   15.0
-			    15.0,   15.0,   15.0,   15.0
-			    15.0,   15.0,   15.0,   15.0
-			    15.0,   15.0,   15.0,   15.0
-			    15.0,   15.0,   15.0,   15.0  
-			    15.0,   15.0,   15.0,   15.0  
-			    15.0,   15.0,   15.0,   15.0
-			    15.0,   15.0,   15.0,   15.0
-			    15.0,   15.0,   15.0,   15.0
-			    15.0,   15.0,   15.0,   15.0  
-			    15.0,   15.0,   15.0,   15.0  
-
-phodo_neg_invadc_linear =   15.0,   15.0,   15.0,   15.0        
-                            15.0,   15.0,   15.0,   15.0      
-                            15.0,   15.0,   15.0,   15.0      
-                            15.0,   15.0,   15.0,   15.0   
-                            15.0,   15.0,   15.0,   15.0   
-                            15.0,   15.0,   15.0,   15.0  
-                            15.0,   15.0,   15.0,   15.0  
-                            15.0,   15.0,   15.0,   15.0
-                            15.0,   15.0,   15.0,   15.0 
-                            15.0,   15.0,   15.0,   15.0 
-                            15.0,   15.0,   15.0,   15.0
-                            15.0,   15.0,   15.0,   15.0
-                            15.0,   15.0,   15.0,   15.0
-                            15.0,   15.0,   15.0,   15.0
-                            15.0,   15.0,   15.0,   15.0  
-                            15.0,   15.0,   15.0,   15.0  
-                            15.0,   15.0,   15.0,   15.0
-                            15.0,   15.0,   15.0,   15.0
-                            15.0,   15.0,   15.0,   15.0
-                            15.0,   15.0,   15.0,   15.0  
-                            15.0,   15.0,   15.0,   15.0  
  
-phodo_pos_invadc_adc =   0.000,   0.0000,  0.000,   0.000
-		     	 0.000,   0.0000,  0.000,   0.000
+phodo_pos_invadc_adc=    0.000,   0.0000,  0.000,   0.000
+			 0.000,   0.0000,  0.000,   0.000
 			 0.000,   0.0000,  0.000,   0.000
 			 0.000,   0.0000,  0.000,   0.000
 			 0.000,   0.0000,  0.000,   0.000
@@ -109,8 +66,7 @@ phodo_pos_invadc_adc =   0.000,   0.0000,  0.000,   0.000
 			 0.000,   0.0000,  0.000,   0.000
 			 0.000,   0.0000,  0.000,   0.000
 
-phodo_neg_invadc_adc =   0.000,   0.0000,  0.000,   0.000
- 		     	 0.000,   0.0000,  0.000,   0.000
+phodo_neg_invadc_adc=    0.000,   0.0000,  0.000,   0.000
 			 0.000,   0.0000,  0.000,   0.000
 			 0.000,   0.0000,  0.000,   0.000
 			 0.000,   0.0000,  0.000,   0.000
@@ -130,72 +86,119 @@ phodo_neg_invadc_adc =   0.000,   0.0000,  0.000,   0.000
 			 0.000,   0.0000,  0.000,   0.000
 			 0.000,   0.0000,  0.000,   0.000
 			 0.000,   0.0000,  0.000,   0.000
+			 0.000,   0.0000,  0.000,   0.000
+
+
                                                                                
-phodo_vel_light =  15.0,   15.0,   15.0,   15.0                                     
-                   15.0,   15.0,   15.0,   15.0                                     
-                   15.0,   15.0,   15.0,   15.0                                     
-                   15.0,   15.0,   15.0,   15.0                                     
-                   15.0,   15.0,   15.0,   15.0                                     
-                   15.0,   15.0,   15.0,   15.0                                     
-                   15.0,   15.0,   15.0,   15.0                                     
-                   15.0,   15.0,   15.0,   15.0                                     
-                   15.0,   15.0,   15.0,   15.0                                     
-                   15.0,   15.0,   15.0,   15.0                                     
-                   15.0,   15.0,   15.0,   15.0                                     
-                   15.0,   15.0,   15.0,   15.0                                     
-                   15.0,   15.0,   15.0,   15.0                                     
-                   15.0,   15.0,   15.0,   15.0                                     
-                   15.0,   15.0,   15.0,   15.0                                     
-                   15.0,   15.0,   15.0,   15.0                                     
-                   15.0,   15.0,   15.0,   15.0                                     
-                   15.0,   15.0,   15.0,   15.0                                     
-                   15.0,   15.0,   15.0,   15.0                                     
-                   15.0,   15.0,   15.0,   15.0                                     
-                   15.0,   15.0,   15.0,   15.0                                     
+phodo_vel_light =  11.0,   11.0,   11.0,   11.0    
+                   11.0,   11.0,   11.0,   11.0 
+                   11.0,   11.0,   11.0,   11.0 
+                   11.0,   11.0,   11.0,   11.0 
+                   11.0,   11.0,   11.0,   11.0   
+                   11.0,   11.0,   11.0,   11.0    
+                   11.0,   11.0,   11.0,   11.0
+                   11.0,   11.0,   11.0,   11.0     
+                   11.0,   11.0,   11.0,   11.0 
+                   11.0,   11.0,   11.0,   11.0   
+                   11.0,   11.0,   11.0,   11.0 
+                   11.0,   11.0,   11.0,   11.0 
+                   11.0,   11.0,   11.0,   11.0 
+                   11.0,   11.0,   11.0,   11.0
+                   11.0,   11.0,   11.0,   11.0 
+                   11.0,   11.0,   11.0,   11.0 
+                   11.0,   11.0,   11.0,   11.0 
+                   11.0,   11.0,   11.0,   11.0 
+                   11.0,   11.0,   11.0,   11.0 
+                   11.0,   11.0,   11.0,   11.0 
+                   11.0,   11.0,   11.0,   11.0 
+
+phodo_pos_invadc_linear =  11.0,   11.0,   11.0,   11.0    
+                   11.0,   11.0,   11.0,   11.0 
+                   11.0,   11.0,   11.0,   11.0 
+                   11.0,   11.0,   11.0,   11.0 
+                   11.0,   11.0,   11.0,   11.0   
+                   11.0,   11.0,   11.0,   11.0    
+                   11.0,   11.0,   11.0,   11.0
+                   11.0,   11.0,   11.0,   11.0     
+                   11.0,   11.0,   11.0,   11.0 
+                   11.0,   11.0,   11.0,   11.0   
+                   11.0,   11.0,   11.0,   11.0 
+                   11.0,   11.0,   11.0,   11.0 
+                   11.0,   11.0,   11.0,   11.0 
+                   11.0,   11.0,   11.0,   11.0
+                   11.0,   11.0,   11.0,   11.0 
+                   11.0,   11.0,   11.0,   11.0 
+                   11.0,   11.0,   11.0,   11.0 
+                   11.0,   11.0,   11.0,   11.0 
+                   11.0,   11.0,   11.0,   11.0 
+                   11.0,   11.0,   11.0,   11.0 
+                   11.0,   11.0,   11.0,   11.0 
+
+phodo_neg_invadc_linear =  11.0,   11.0,   11.0,   11.0    
+                   11.0,   11.0,   11.0,   11.0 
+                   11.0,   11.0,   11.0,   11.0 
+                   11.0,   11.0,   11.0,   11.0 
+                   11.0,   11.0,   11.0,   11.0   
+                   11.0,   11.0,   11.0,   11.0    
+                   11.0,   11.0,   11.0,   11.0
+                   11.0,   11.0,   11.0,   11.0     
+                   11.0,   11.0,   11.0,   11.0 
+                   11.0,   11.0,   11.0,   11.0   
+                   11.0,   11.0,   11.0,   11.0 
+                   11.0,   11.0,   11.0,   11.0 
+                   11.0,   11.0,   11.0,   11.0 
+                   11.0,   11.0,   11.0,   11.0
+                   11.0,   11.0,   11.0,   11.0 
+                   11.0,   11.0,   11.0,   11.0 
+                   11.0,   11.0,   11.0,   11.0 
+                   11.0,   11.0,   11.0,   11.0 
+                   11.0,   11.0,   11.0,   11.0 
+                   11.0,   11.0,   11.0,   11.0 
+                   11.0,   11.0,   11.0,   11.0 
                                                                                
-phodo_pos_sigma = .3,   .3,   .3,   .3,   
-                  .3,   .3,   .3,   .3,                                    
-                  .3,   .3,   .3,   .3,   
-                  .3,   .3,   .3,   .3,                                    
-                  .3,   .3,   .3,   .3,   
-                  .3,   .3,   .3,   .3,                                    
-                  .3,   .3,   .3,   .3,   
-                  .3,   .3,   .3,   .3,                                    
-                  .3,   .3,   .3,   .3,   
-                  .3,   .3,   .3,   .3,                                    
-                  .3,   .3,   .3,   .3,   
-                  .3,   .3,   .3,   .3,                                    
-                  .3,   .3,   .3,   .3,   
-                  .3,   .3,   .3,   .3,                                    
-                  .3,   .3,   .3,   .3,   
-                  .3,   .3,   .3,   .3,                                    
-                  .3,   .3,   .3,   .3,                                    
-                  .3,   .3,   .3,   .3,                                    
-                  .3,   .3,   .3,   .3,                                    
-                  .3,   .3,   .3,   .3,                                    
-                  .3,   .3,   .3,   .3,                                 
+phodo_pos_sigma = .5,   .5,   .5,   .5,   
+                  .5,   .5,   .5,   .5,                                    
+                  .5,   .5,   .5,   .5,   
+                  .5,   .5,   .5,   .5,                                    
+                  .5,   .5,   .5,   .5,   
+                  .5,   .5,   .5,   .5,                                    
+                  .5,   .5,   .5,   .5,   
+                  .5,   .5,   .5,   .5,                                    
+                  .5,   .5,   .5,   .5,   
+                  .5,   .5,   .5,   .5,                                    
+                  .5,   .5,   .5,   .5,   
+                  .5,   .5,   .5,   .5,                                    
+                  .5,   .5,   .5,   .5,   
+                  .5,   .5,   .5,   .5,                                    
+                  .5,   .5,   .5,   .5,   
+                  .5,   .5,   .5,   .5,                                    
+                  .5,   .5,   .5,   .5,                                    
+                  .5,   .5,   .5,   .5,                                    
+                  .5,   .5,   .5,   .5,                                    
+                  .5,   .5,   .5,   .5,                                    
+                  .5,   .5,   .5,   .5,                                 
                                                                                
-phodo_neg_sigma = .3,   .3,   .3,   .3,   
-                  .3,   .3,   .3,   .3,                                    
-                  .3,   .3,   .3,   .3,   
-                  .3,   .3,   .3,   .3,                                    
-                  .3,   .3,   .3,   .3,   
-                  .3,   .3,   .3,   .3,                                    
-                  .3,   .3,   .3,   .3,   
-                  .3,   .3,   .3,   .3,                                    
-                  .3,   .3,   .3,   .3,   
-                  .3,   .3,   .3,   .3,                                    
-                  .3,   .3,   .3,   .3,   
-                  .3,   .3,   .3,   .3,                                    
-                  .3,   .3,   .3,   .3,   
-                  .3,   .3,   .3,   .3,                                    
-                  .3,   .3,   .3,   .3,   
-                  .3,   .3,   .3,   .3,                                    
-                  .3,   .3,   .3,   .3,                                    
-                  .3,   .3,   .3,   .3,                                    
-                  .3,   .3,   .3,   .3,                                    
-                  .3,   .3,   .3,   .3,                                    
-                  .3,   .3,   .3,   .3,                                 
+phodo_neg_sigma = .5,   .5,   .5,   .5,   
+                  .5,   .5,   .5,   .5,                                    
+                  .5,   .5,   .5,   .5,   
+                  .5,   .5,   .5,   .5,                                    
+                  .5,   .5,   .5,   .5,   
+                  .5,   .5,   .5,   .5,                                    
+                  .5,   .5,   .5,   .5,   
+                  .5,   .5,   .5,   .5,                                    
+                  .5,   .5,   .5,   .5,   
+                  .5,   .5,   .5,   .5,                                    
+                  .5,   .5,   .5,   .5,   
+                  .5,   .5,   .5,   .5,                                    
+                  .5,   .5,   .5,   .5,   
+                  .5,   .5,   .5,   .5,                                    
+                  .5,   .5,   .5,   .5,   
+                  .5,   .5,   .5,   .5,                                    
+                  .5,   .5,   .5,   .5,                                    
+                  .5,   .5,   .5,   .5,                                    
+                  .5,   .5,   .5,   .5,                                    
+                  .5,   .5,   .5,   .5,                                    
+                  .5,   .5,   .5,   .5,                                 
 
 phodo_pos_ped_limit = 1000,   1000,   1000,   1000 
                       1000,   1000,   1000,   1000                   
@@ -242,138 +245,3 @@ phodo_neg_ped_limit = 1000,   1000,   1000,   1000
                       1000,   1000,   1000,   1000                   
                                                                                
 
-phodo_pos_invadc_offset =   -0.00,   -0.00,    0.59,   -0.00
-                            -6.26,   -4.09,    0.45,   -0.00
-                            -2.48,   -1.94,   12.41,   -0.00
-                             1.98,   -2.95,    0.44,   -0.00
-                            -1.71,   -4.57,    9.75,   -0.00
-                            -2.48,   -5.36,    0.15,   -0.00
-                             0.39,   -3.34,    0.75,   -0.00
-                            -7.06,   -3.12,    0.21,   -0.00
-                            -1.75,   -3.79,    1.52,   -0.00
-                            -0.00,    5.02,    1.58,   -0.00
-                            -3.67,   -3.57,    0.80,   -0.00
-                             0.76,   11.15,    2.28,   -0.00
-                            -0.00,   -0.00,    3.28,   -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
-
-phodo_neg_invadc_offset =   -0.00,   -0.00,   -5.36,   -0.00
-                            -7.60,   -2.32,   -5.24,   -0.00
-                             0.62,   -3.65,   15.02,   -0.00
-                            -4.07,   -3.42,   -6.21,   -0.00
-                            -2.60,   -3.61,   10.43,   -0.00
-                            -5.70,   -2.98,   -7.00,   -0.00
-                             1.23,   -2.53,   -5.65,   -0.00
-                            -2.39,   -4.13,   -5.78,   -0.00
-                            -1.38,   -3.39,   -7.54,   -0.00
-                            -2.56,    7.05,   -5.93,   -0.00
-                             1.84,   -4.38,   -3.91,   -0.00
-                            -3.23,    9.84,   -3.06,   -0.00
-                            -0.00,   -0.00,   -5.95,   -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
-
-phodo_pos_invadc_linear =   15.00,   15.00,   15.00,   15.00
-                            15.00,   15.00,   14.97,   15.00
-                            14.28,   13.33,   15.00,   15.00
-                            15.00,   15.00,   15.00,   15.00
-                            15.00,   15.00,   15.00,   15.00
-                            15.00,   15.00,   15.00,   15.00
-                            15.00,   15.00,   15.00,   15.00
-                            15.00,   15.00,   15.00,   15.00
-                            14.76,   15.00,   15.00,   15.00
-                            15.00,   15.00,   15.00,   15.00
-                            15.00,   15.00,   15.00,   15.00
-                            15.00,   15.00,   15.00,   15.00
-                            15.00,   15.00,   15.00,   15.00
-                            15.00,   15.00,   15.00,   15.00
-                            15.00,   15.00,   15.00,   15.00
-                            15.00,   15.00,   15.00,   15.00
-
-phodo_neg_invadc_linear =   15.00,   15.00,   15.00,   15.00
-                            13.91,   14.43,   15.00,   15.00
-                            14.52,   14.76,   15.00,   15.00
-                            14.68,   14.14,   15.00,   15.00
-                            14.94,   14.70,   15.00,   15.00
-                            14.34,   14.14,   15.00,   15.00
-                            14.82,   13.94,   15.00,   15.00
-                            15.00,   14.33,   15.00,   15.00
-                            14.77,   13.76,   15.00,   15.00
-                            15.00,   14.75,   14.42,   15.00
-                            15.00,   13.69,   13.56,   15.00
-                            13.75,   13.13,   13.73,   15.00
-                            15.00,   15.00,   15.00,   15.00
-                            15.00,   15.00,   15.00,   15.00
-                            15.00,   15.00,   15.00,   15.00
-                            15.00,   15.00,   15.00,   15.00
-
-phodo_pos_invadc_adc =  -0.00*.14,    -0.00*.14,   112.14*.14,    -0.00
-                        85.63*.14,   100.91*.14,    83.19*.14,    -0.00
-                        96.42*.14,    36.41*.14,   116.39*.14,    -0.00
-                       121.38*.14,    90.00*.14,   118.14*.14,    -0.00
-                       114.06*.14,    92.90*.14,   100.01*.14,    -0.00
-                       110.24*.14,    92.14*.14,   103.32*.14,    -0.00
-                       125.76*.14,    84.99*.14,   122.10*.14,    -0.00
-                        92.38*.14,    91.90*.14,   130.47*.14,    -0.00
-                       116.53*.14,    85.91*.14,    98.54*.14,    -0.00
-                       122.36*.14,   111.70*.14,   113.37*.14,    -0.00
-                       104.33*.14,    74.85*.14,    80.05*.14,    -0.00
-                       122.25*.14,   100.68*.14,   145.77*.14,    -0.00
-                        -0.00*.14,    -0.00*.14,   134.86*.14,    -0.00
-                        -0.00*.14,    -0.00*.14,    -0.00*.14,    -0.00
-                        -0.00*.14,    -0.00*.14,    -0.00*.14,    -0.00
-                        -0.00*.14,    -0.00*.14,    -0.00*.14,    -0.00
-
-phodo_neg_invadc_adc =  -0.00*.14,    -0.00*.14,   115.40*.14,    -0.00
-                       100.70*.14,    83.97*.14,   103.44*.14,    -0.00
-                       112.43*.14,    84.04*.14,   158.78*.14,    -0.00
-                       119.43*.14,    89.05*.14,   118.05*.14,    -0.00
-                       101.78*.14,    89.03*.14,   123.62*.14,    -0.00
-                        97.26*.14,    87.19*.14,   108.87*.14,    -0.00
-                       121.57*.14,    78.91*.14,   104.65*.14,    -0.00
-                       110.95*.14,    85.20*.14,   170.10*.14,    -0.00
-                       109.62*.14,    78.24*.14,   104.81*.14,    -0.00
-                       113.38*.14,   111.82*.14,    60.35*.14,    -0.00
-                       126.61*.14,    78.83*.14,    62.49*.14,    -0.00
-                        91.82*.14,    87.61*.14,    62.81*.14,    -0.00
-                        -0.00*.14,    -0.00*.14,   155.93*.14,    -0.00
-                        -0.00*.14,    -0.00*.14,    -0.00*.14,    -0.00
-                        -0.00*.14,    -0.00*.14,    -0.00*.14,    -0.00
-                        -0.00*.14,    -0.00*.14,    -0.00*.14,    -0.00
-
-phodo_pos_sigma =  100.00,  100.00,    0.67,  100.00
-                     0.60,    0.57,    0.84,  100.00
-                     0.49,    0.64,    0.64,  100.00
-                     0.61,    0.50,    0.65,  100.00
-                     0.59,    0.63,    0.82,  100.00
-                     0.72,    0.56,    0.62,  100.00
-                     0.51,    0.52,    0.68,  100.00
-                     0.65,    0.56,    0.92,  100.00
-                     0.69,    0.49,    0.67,  100.00
-                     0.66,    0.60,    1.69,  100.00
-                     0.56,    0.54,    1.72,  100.00
-                     0.57,    0.51,    1.49,  100.00
-                   100.00,  100.00,    2.01,  100.00
-                   100.00,  100.00,  100.00,  100.00
-                   100.00,  100.00,  100.00,  100.00
-                   100.00,  100.00,  100.00,  100.00
-
-phodo_neg_sigma =  100.00,  100.00,    0.58,  100.00
-                     0.66,    0.61,    0.74,  100.00
-                     0.53,    0.61,    0.60,  100.00
-                     0.57,    0.46,    0.91,  100.00
-                     0.55,    0.62,    0.85,  100.00
-                     0.65,    0.51,    0.67,  100.00
-                     0.49,    0.53,    0.62,  100.00
-                     0.64,    0.54,    0.85,  100.00
-                     0.65,    0.54,    0.67,  100.00
-                     0.71,    0.62,    1.27,  100.00
-                     0.75,    0.53,    1.67,  100.00
-                     0.51,    0.57,    1.33,  100.00
-                   100.00,  100.00,    2.07,  100.00
-                   100.00,  100.00,  100.00,  100.00
-                   100.00,  100.00,  100.00,  100.00
-                   100.00,  100.00,  100.00,  100.00
diff --git a/PARAM/SHMS/HODO/CUTS/KPP_Spring_2017/phodo_cuts.param b/PARAM/SHMS/HODO/CUTS/KPP_Spring_2017/phodo_cuts.param
new file mode 100644
index 00000000..e1ffeb79
--- /dev/null
+++ b/PARAM/SHMS/HODO/CUTS/KPP_Spring_2017/phodo_cuts.param
@@ -0,0 +1,46 @@
+; Cosmic flag for beta calculation
+
+pcosmicflag=0
+
+; for now manually set hte FADC mode
+;  1 == Use the pulse int - pulse ped
+;  2 == Use the sample integral - known ped
+;  3 == Use the sample integral - sample ped
+; if not set then defaults to use the raw pulse integral
+phodo_adc_mode=1
+
+phodo_adc_tdc_offset = 200., 200., 200., 200.
+; phodo_tdc_offset is array of time offsets for all paddles in a plane
+;   to move the tdc to between 0 and 4000 channels.
+phodo_tdc_offset = 1860, 2000, 2060, 2000
+
+; phodo set min and max fADC time window for all paddles in a plane in 'Channel' units
+;   the conversion is 0.0625 ns / channel for flash ADC 250
+phodo_AdcTimeWindowMin = -10000.,-10000., -10000., -10000.
+phodo_AdcTimeWindowMax = 10000., 10000., 10000., 10000.
+
+; pstart_time_center  center of allowed time window                             
+pstart_time_center = 32.                                                     
+
+; hstart_time_slop    1/2 width of time window                                  
+pstart_time_slop = 100.                                                       
+
+; pscin_tdc_min       minimum tdc value in hms scin                             
+pscin_tdc_min = -500                                                           
+
+; pscin_tdc_max       maximum allowed tdc value                                 
+pscin_tdc_max = 1000                                                        
+
+; pscin_tdc_to_time   scin tdc time per channel                                 
+pscin_tdc_to_time = 0.1                                                   
+
+; tof and you figured out good values
+ptof_tolerance = 100.0
+                                                                               
+; shms_tof_params                                                              
+; pnum_scin_counters, phodo_zpos, phodo_center_coord, phodo_width               
+; are all calculated within p_init_scin                                         
+;    phodo_pos_coord and phodo_neg_coord are not yet used                                                                                                    
+phodo_slop = 2.,  2.,  4.,  4.    
+
+ptofusinginvadc=1
-- 
GitLab