From 429d55f30b50b09c5a77397b2c5e5fe3f0cd82a9 Mon Sep 17 00:00:00 2001
From: Eric Pooser <pooser@jlab.org>
Date: Wed, 29 Mar 2017 16:18:22 -0400
Subject: [PATCH] Add tracking matching parameters to aerogel.

---
 PARAM/SHMS/AERO/paero.param   | 37 +++++++++++++++++++++++++++++++++++
 PARAM/SHMS/HGCER/phgcer.param |  2 +-
 2 files changed, 38 insertions(+), 1 deletion(-)

diff --git a/PARAM/SHMS/AERO/paero.param b/PARAM/SHMS/AERO/paero.param
index 6953b3c4..f77af975 100644
--- a/PARAM/SHMS/AERO/paero.param
+++ b/PARAM/SHMS/AERO/paero.param
@@ -7,3 +7,40 @@ paero_pos_gain = 1./496.7, 1./467.5, 1./554.3, 1./766.1, 1./412.1, 1./517.9, 1./
 ; Negative aerogel gain factors
 paero_neg_gain = 1./586.8, 1./536.5, 1./690.5, 1./563.1, 1./574.4, 1./432.7, 1./601.5
 
+paero_red_chi2_min = 0.0
+paero_red_chi2_max = 25.0
+
+paero_beta_min = 0.0
+paero_beta_max = 1.2
+
+paero_enorm_min = 0.0
+paero_enorm_max = 1.5
+
+paero_adcTimeWindowMin = 500.
+paero_adcTimeWindowMax = 2500.
+
+; Threshold for good hit (for measureing effic.)
+paero_npe_thresh = 0.5
+
+; Value cited by Hamlet M. 03/29/2017
+paero_diff_box_zpos = 231.0
+
+; Number of regions in which tracks can be matched to
+paero_num_regions = 1;
+
+; phgcer_region: 8 values for each region
+; central x,y,dx,dy values and x,y,dx,dy half widths.
+; Defined in clomuns, region 1, region 2, region 3, region 4...
+; Assumes rectangular volume with x = 103.0 cm and y = 113.0 cm
+; FIX ME! Waiting for numbers from detector
+paero_region =  0.0,
+                0.0,
+                0.0,
+                0.0,
+               51.5,
+               56.5,
+	       0.15,
+	        0.1
+
+paero_debug_adc = 1
+
diff --git a/PARAM/SHMS/HGCER/phgcer.param b/PARAM/SHMS/HGCER/phgcer.param
index c9cc78b4..2738bf76 100644
--- a/PARAM/SHMS/HGCER/phgcer.param
+++ b/PARAM/SHMS/HGCER/phgcer.param
@@ -36,4 +36,4 @@ phgcer_region =   27.5,    27.5,  -27.5,  -27.5,
                   27.5,    27.5,   27.5,   27.5,
                   25.0,    25.0,   25.0,   25.0,
 	          0.15,    0.15,   0.15,   0.15,
-	           0.1,     0.1,    0.1,    0.1
\ No newline at end of file
+	           0.1,     0.1,    0.1,    0.1
-- 
GitLab