From 4e405e11e686e49ee52a7c145c84703b71f37d8f Mon Sep 17 00:00:00 2001
From: Holly Szumila <hszumila@jlab.org>
Date: Wed, 1 Nov 2017 17:13:25 -0400
Subject: [PATCH] updated dc param

---
 PARAM/HMS/DC/GEOM/hdc_geom.param  | 11 +++++++----
 PARAM/SHMS/DC/GEOM/pdc_geom.param | 11 +++++++----
 2 files changed, 14 insertions(+), 8 deletions(-)

diff --git a/PARAM/HMS/DC/GEOM/hdc_geom.param b/PARAM/HMS/DC/GEOM/hdc_geom.param
index 09e887df..6947435b 100644
--- a/PARAM/HMS/DC/GEOM/hdc_geom.param
+++ b/PARAM/HMS/DC/GEOM/hdc_geom.param
@@ -1,5 +1,8 @@
 ; Geometrical parameters
 
+; Chamber version
+ hdc_version = 1
+
 ; Conversion factor from TDC clicks to ns.
 hdc_tdc_time_per_channel = -0.10
 
@@ -31,10 +34,10 @@ hdc_central_time   = 0, 0, 0, 0, 0, 0  ; -not used in new HMS chambers
 hdc_drifttime_sign = 0, 0, 0, 0, 0, 0  ; -not used in new HMS chambers
                      0, 0, 0, 0, 0, 0
 
-hdc_readoutLR = 1.0, -1.0, 1.0, 1.0, 1.0, -1.0
-                -1.0, 1.0, 1.0, 1.0, -1.0, 1.0
-hdc_readoutTB = -1.0, 1.0, -1.0, 1.0, 1.0, -1.0
-                -1.0, 1.0, 1.0, -1.0, 1.0, -1.0             
+hdc_readoutLR = 1, -1, 1, 1, 1, -1
+                -1, 1, 1, 1, -1, 1
+hdc_readoutTB = -1, 1, -1, 1, 1, -1
+                -1, 1, 1, -1, 1, -1             
 
 ; CHAMBER POSITION PARAMETERS
 
diff --git a/PARAM/SHMS/DC/GEOM/pdc_geom.param b/PARAM/SHMS/DC/GEOM/pdc_geom.param
index 9c9467c8..cd05a5be 100644
--- a/PARAM/SHMS/DC/GEOM/pdc_geom.param
+++ b/PARAM/SHMS/DC/GEOM/pdc_geom.param
@@ -1,5 +1,8 @@
 ; Geometrical parameters
 
+; Chamber version
+ pdc_version = 2
+
 ; Conversion factor from TDC clicks to ns.
 pdc_tdc_time_per_channel = -0.10
 
@@ -32,10 +35,10 @@ pdc_central_time   = 0, 0, 0, 0, 0, 0  ; -not used in new SHMS chambers
 pdc_drifttime_sign = 0, 0, 0, 0, 0, 0  ; -not used in new SHMS chambers
                      0, 0, 0, 0, 0, 0
 
-pdc_readoutLR = -1.0, 1.0, -1.0, -1.0, 1.0, -1.0
-                 1.0, -1.0, 1.0, 1.0, -1.0, 1.0
-pdc_readoutTB = 1.0, -1.0, 1.0, -1.0, 1.0, -1.0
-                -1.0, 1.0, -1.0, 1.0, -1.0, 1.0             
+pdc_readoutLR = -1, 1, -1, -1, 1, -1
+                 1, -1, 1, 1, -1, 1
+pdc_readoutTB = 1, -1, 1, -1, 1, -1
+                -1, 1, -1, 1, -1, 1             
 
 ; CHAMBER POSITION PARAMETERS
 
-- 
GitLab