From b0ac8d02cabd3a156b1cdabc5ac643010080b5ab Mon Sep 17 00:00:00 2001
From: Eric Pooser <pooser@jlab.org>
Date: Wed, 22 Mar 2017 10:21:10 -0400
Subject: [PATCH] Rid of pedestal parameters and move npair param to more
 appropriate location

---
 PARAM/HMS/AERO/haero.param  | 15 ++++++---------
 PARAM/HMS/GEN/hcana.param   |  2 --
 PARAM/HMS/GEN/hdebug.param  |  1 -
 PARAM/SHMS/AERO/paero.param |  7 ++-----
 4 files changed, 8 insertions(+), 17 deletions(-)

diff --git a/PARAM/HMS/AERO/haero.param b/PARAM/HMS/AERO/haero.param
index 8490a84f..d7c7917e 100644
--- a/PARAM/HMS/AERO/haero.param
+++ b/PARAM/HMS/AERO/haero.param
@@ -1,11 +1,8 @@
-     haero_pos_gain   = 1./168.3, 1./233.9, 1./181.3, 1./169.2, 1./177.6, 1./155.0, 1./169.5, 1./149.7,
+; Number of aerogel pairs of pmt's
+haero_num_pairs = 8
 
-     haero_neg_gain   = 1./248.8, 1./186.4, 1./236.4, 1./172.0,
-                        1./205.3, 1./198.1, 1./227.9, 1./229.2,
-
-     haero_pos_ped_limit =  1000., 1000., 1000., 1000.,
-                            1000., 1000., 1000., 1000.,
-
-     haero_neg_ped_limit =  1000., 1000., 1000., 1000.,
-                            1000., 1000., 1000., 1000.,
+; Positive aerogel gain factors
+haero_pos_gain   = 1./168.3, 1./233.9, 1./181.3, 1./169.2, 1./177.6, 1./155.0, 1./169.5, 1./149.7
 
+; Negative aerogel gain factors
+haero_neg_gain   = 1./248.8, 1./186.4, 1./236.4, 1./172.0, 1./205.3, 1./198.1, 1./227.9, 1./229.2
\ No newline at end of file
diff --git a/PARAM/HMS/GEN/hcana.param b/PARAM/HMS/GEN/hcana.param
index da2f2c65..781c1916 100644
--- a/PARAM/HMS/GEN/hcana.param
+++ b/PARAM/HMS/GEN/hcana.param
@@ -23,7 +23,5 @@ hcal_d_cor =  1.66,  1.66
 
 hcal_layer_names = "1pr 2ta 3ta 4ta"
 
-haero_num_pairs = 8
-
 # The following were defined in REPLAY.PARAM
 h_recon_coeff_filename =    'DATFILES/hms_recon_coeff.dat'  ;hms optics matrix
diff --git a/PARAM/HMS/GEN/hdebug.param b/PARAM/HMS/GEN/hdebug.param
index 5049718c..f059c4d1 100644
--- a/PARAM/HMS/GEN/hdebug.param
+++ b/PARAM/HMS/GEN/hdebug.param
@@ -12,7 +12,6 @@
   hhodo_min_peds = 500
   hcal_min_peds  = 500
   hcer_min_peds  = 500
-  haero_min_peds  = 500
   hmisc_min_peds  = 500
 
 ; DEBUGGING OUTPUT FLAGS
diff --git a/PARAM/SHMS/AERO/paero.param b/PARAM/SHMS/AERO/paero.param
index a3485e05..6953b3c4 100644
--- a/PARAM/SHMS/AERO/paero.param
+++ b/PARAM/SHMS/AERO/paero.param
@@ -1,12 +1,9 @@
 ; Number of aerogel pairs of pmt's
 paero_num_pairs = 7
 
-
+; Positive aerogel gain factors
 paero_pos_gain = 1./496.7, 1./467.5, 1./554.3, 1./766.1, 1./412.1, 1./517.9, 1./435.6
 
+; 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_pos_ped_limit =  1000, 1000, 1000, 1000, 1000, 1000, 1000
-
-paero_neg_ped_limit =  1000, 1000, 1000, 1000, 1000, 1000, 1000
-
-- 
GitLab