From aa26667cc1b7c8c5586d132387e8cdd0bcd395ec Mon Sep 17 00:00:00 2001
From: "Stephen A. Wood" <saw@jlab.org>
Date: Fri, 28 Oct 2016 16:34:29 -0400
Subject: [PATCH] Set flags to dump info for TOF calibration in hodtest_daq07.C

---
 examples/PARAM/hdumptof.param | 6 ++++++
 examples/hodtest_daq07.C      | 2 ++
 2 files changed, 8 insertions(+)
 create mode 100644 examples/PARAM/hdumptof.param

diff --git a/examples/PARAM/hdumptof.param b/examples/PARAM/hdumptof.param
new file mode 100644
index 0000000..7d05479
--- /dev/null
+++ b/examples/PARAM/hdumptof.param
@@ -0,0 +1,6 @@
+# 
+# Load this file to have analyzer dump Time of Flight calibration
+# data for the HMS
+#
+hdumptof = 1
+hdumptof_filename = "htofcal.dump"
diff --git a/examples/hodtest_daq07.C b/examples/hodtest_daq07.C
index 7a9ee7b..400e711 100644
--- a/examples/hodtest_daq07.C
+++ b/examples/hodtest_daq07.C
@@ -21,6 +21,8 @@
   // configurable
   gHcParms->Load("PARAM/hcana.param");
 
+  gHcParms->Load("PARAM/hdumptof.param");  
+
   // Generate db_cratemap to correspond to map file contents
   char command[100];
   sprintf(command,"./make_cratemap.pl < %s > db_cratemap.dat",gHcParms->GetString("g_decode_map_filename"));
-- 
GitLab