From bf4162139ce38198d065e08e3ba71ec8c6adbefd Mon Sep 17 00:00:00 2001
From: Carlos Yero <aasatury@jlab.org>
Date: Sat, 25 Nov 2017 12:46:19 -0500
Subject: [PATCH] modified hms hodo cuts param and htracking param files

---
 PARAM/HMS/DC/CUTS/hdc_cuts.param     | 4 ++--
 PARAM/HMS/GEN/htracking.param        | 3 ++-
 PARAM/HMS/HODO/CUTS/hhodo_cuts.param | 4 ++--
 3 files changed, 6 insertions(+), 5 deletions(-)

diff --git a/PARAM/HMS/DC/CUTS/hdc_cuts.param b/PARAM/HMS/DC/CUTS/hdc_cuts.param
index 0fff3666..a112653e 100644
--- a/PARAM/HMS/DC/CUTS/hdc_cuts.param
+++ b/PARAM/HMS/DC/CUTS/hdc_cuts.param
@@ -20,5 +20,5 @@ hdc_fix_propcorr = 1 ; do propagation along wire each time hit appeears
 
 
 ; Zero time correction for each plane in ns that is added to TDC time.
-  hdc_plane_time_zero = 1350.0,1350.0,1350.0,1350.0,1350.0,1350.0,
-   		       	 1350.0,1350.0,1350.0,1350.0,1350.0,1350.0
+  hdc_plane_time_zero = 1366.0,1366.0,1366.0,1366.0,1366.0,1366.0,
+   		       	 1366.0,1366.0,1366.0,1366.0,1366.0,1366.0
diff --git a/PARAM/HMS/GEN/htracking.param b/PARAM/HMS/GEN/htracking.param
index aebe974d..c2c0eb5d 100644
--- a/PARAM/HMS/GEN/htracking.param
+++ b/PARAM/HMS/GEN/htracking.param
@@ -30,7 +30,8 @@ hstub_max_xpdiff = .05
 ; recommended value for hspace_point_criterion ( based on meeting
 ; Feb 2003) 
        hxt_track_criterion  = 10.
-       hyt_track_criterion  = 4.
+      ;hyt_track_criterion  = 4.
+       hyt_track_criterion  = 20.     ;for cosmics
        hxpt_track_criterion = 0.2
        hypt_track_criterion = 0.5
 ;
diff --git a/PARAM/HMS/HODO/CUTS/hhodo_cuts.param b/PARAM/HMS/HODO/CUTS/hhodo_cuts.param
index cae48924..437adb86 100644
--- a/PARAM/HMS/HODO/CUTS/hhodo_cuts.param
+++ b/PARAM/HMS/HODO/CUTS/hhodo_cuts.param
@@ -1,7 +1,7 @@
 ; HMS Hodo Cuts parameters
 
 ; Cosmic flag for beta calculation
-hcosmicflag=0
+hcosmicflag=1
 
 ; for now manually set hte FADC mode
 ;  1 == Use the pulse int - pulse ped
@@ -12,7 +12,7 @@ hhodo_adc_mode=1
 ; 
 ; hhodo_tdc_offset is array of time offsets for all paddles in a plane
 ;   to move the tdc to between 0 and 4000 channels.
-  hhodo_tdc_offset = 1120, 1120, 1120, 1120
+  hhodo_tdc_offset = 1280, 1280, 1280, 1280
 ;  hhodo_tdc_offset = 1000, 1000, 1000, 1000
 
 ; hhodo set min and max fADC time window for all paddles in a plane in units of ns
-- 
GitLab