From 682fde9f4b0d95e54c211ad3c4156ebcf51e238b Mon Sep 17 00:00:00 2001
From: Eric Pooser <pooser@jlab.org>
Date: Fri, 27 Jan 2017 17:26:40 -0500
Subject: [PATCH] Modify general param files to include SHMS Cherenkov
 detectors

---
 DBASE/general.param            |  2 ++
 PARAM/SHMS/GEN/pcana.param     |  8 +++++++-
 PARAM/SHMS/GEN/ptracking.param | 12 ++++++++----
 3 files changed, 17 insertions(+), 5 deletions(-)

diff --git a/DBASE/general.param b/DBASE/general.param
index fed1a220..af66ade0 100644
--- a/DBASE/general.param
+++ b/DBASE/general.param
@@ -36,6 +36,8 @@ raddeg=3.14159265/180
 ; SHMS detector specific paramter files
 #include "PARAM/SHMS/AERO/paero.param"
 #include "PARAM/SHMS/CAL/pcal.param"
+#include "PARAM/SHMS/HGCER/phgcer.param"
+#include "PARAM/SHMS/NGCER/pngcer.param"
 #include "PARAM/SHMS/DC/pdc.pos"
 #include "PARAM/SHMS/DC/pdc.param"
 #include "PARAM/SHMS/DC/pdriftmap.param"
diff --git a/PARAM/SHMS/GEN/pcana.param b/PARAM/SHMS/GEN/pcana.param
index 2ba415b0..9113f5bc 100644
--- a/PARAM/SHMS/GEN/pcana.param
+++ b/PARAM/SHMS/GEN/pcana.param
@@ -21,4 +21,10 @@ pdc_fix_propcorr = 1 ; do propagation along wire each time hit appeears
                      ; in a space point
 
 ; Number of aerogel pairs of pmt's
-paero_num_pairs = 7
\ No newline at end of file
+paero_num_pairs = 7
+
+; Number of heavy gas Cherenkov PMT's
+phgcer_tot_pmts = 4
+
+; Number of noble gas Cherenkov PMT's
+pngcer_tot_pmts = 4
\ No newline at end of file
diff --git a/PARAM/SHMS/GEN/ptracking.param b/PARAM/SHMS/GEN/ptracking.param
index 9851a156..21bdaafd 100644
--- a/PARAM/SHMS/GEN/ptracking.param
+++ b/PARAM/SHMS/GEN/ptracking.param
@@ -66,10 +66,14 @@ pntracks_max_fp = 10
   pstat_cal_maxchisq = 10.
 ; pstat_cal_slop          distance from center of block to count as expecting hit
   pstat_cal_slop = 2.
-; pcer_min_eff            warning level for cerenkov effic.
-  pcer_min_eff = .98
-; pcer_threshold          threshold for good hit (for measureing effic.)
-  pcer_threshold = 0.5
+; phgcer_min_eff            warning level for cerenkov effic.
+  phgcer_min_eff = .98
+; phgcer_threshold          threshold for good hit (for measureing effic.)
+  phgcer_threshold = 0.5
+; pngcer_min_eff            warning level for cerenkov effic.
+  pngcer_min_eff = .98
+; pngcer_threshold          threshold for good hit (for measureing effic.)
+  pngcer_threshold = 0.5
 ; pdc_min_eff             warning level for dc raw effic.(1 per plane)
   pdc_min_eff = .96,.98,.96,.98,.98,.94
                 .96,.98,.98,.98,.98,.96
-- 
GitLab