From a3a20a16c2bbb59c87bd8f884a8fbe82b2faed74 Mon Sep 17 00:00:00 2001
From: hallc-online <hallc-online@jlab.org>
Date: Tue, 16 May 2017 15:53:35 -0400
Subject: [PATCH] added fadc debug parameter file for shms calorimeter

---
 PARAM/SHMS/GEN/p_fadc_debug.param     | 3 ++-
 SCRIPTS/SHMS/replay_pcal_test_stand.C | 1 +
 2 files changed, 3 insertions(+), 1 deletion(-)

diff --git a/PARAM/SHMS/GEN/p_fadc_debug.param b/PARAM/SHMS/GEN/p_fadc_debug.param
index eeb2851f..7be35b06 100644
--- a/PARAM/SHMS/GEN/p_fadc_debug.param
+++ b/PARAM/SHMS/GEN/p_fadc_debug.param
@@ -1,3 +1,4 @@
 phgcer_debug_adc = 1
 pngcer_debug_adc = 1
-paero_debug_adc = 1
\ No newline at end of file
+paero_debug_adc = 1
+pcal_debug_adc = 1
\ No newline at end of file
diff --git a/SCRIPTS/SHMS/replay_pcal_test_stand.C b/SCRIPTS/SHMS/replay_pcal_test_stand.C
index 278a8e54..f3f4abad 100644
--- a/SCRIPTS/SHMS/replay_pcal_test_stand.C
+++ b/SCRIPTS/SHMS/replay_pcal_test_stand.C
@@ -32,6 +32,7 @@ void replay_pcal_test_stand(Int_t RunNumber=0, Int_t MaxEvent=0) {
   // Load the Hall C style detector map
   gHcDetectorMap = new THcDetectorMap();
   gHcDetectorMap->Load("MAPS/SHMS/DETEC/pcal.map");
+  gHcParms->Load("PARAM/SHMS/GEN/p_fadc_debug.param");
 
   // Set up the equipment to be analyzed.
   THaApparatus* SHMS = new THcHallCSpectrometer("P", "SHMS");
-- 
GitLab