From e6b273a641af83ce8c9966e6723f0504085a2acb Mon Sep 17 00:00:00 2001
From: hallc-online <hallconline@gmail.com>
Date: Tue, 10 Apr 2018 09:43:43 -0400
Subject: [PATCH] Add HMS ref time correlation plot to online diagnostics

---
 DEF-files/HMS/PRODUCTION/TRIG/htrig_histos.def          | 6 ++++++
 onlineGUI/CONFIG/HMS/PRODUCTION/hms_coin_production.cfg | 4 ++++
 onlineGUI/CONFIG/HMS/TEST_STANDS/DC/hdc_wireeff.cfg     | 2 +-
 3 files changed, 11 insertions(+), 1 deletion(-)

diff --git a/DEF-files/HMS/PRODUCTION/TRIG/htrig_histos.def b/DEF-files/HMS/PRODUCTION/TRIG/htrig_histos.def
index c47b7c88..b25ce2f2 100644
--- a/DEF-files/HMS/PRODUCTION/TRIG/htrig_histos.def
+++ b/DEF-files/HMS/PRODUCTION/TRIG/htrig_histos.def
@@ -48,6 +48,12 @@ TH2D htrig3rate_vs_time 'HMS Trig3 Rate vs. Time; 1 MHz Clock Time (s); hTRIG3 R
 TH2D htrig4rate_vs_time 'HMS Trig4 Rate vs. Time; 1 MHz Clock Time (s); hTRIG4 Rate (Hz)' H.1Mhz.scalerTime H.hTRIG4.scalerRate 350 0 7000 500 0 200000 
 TH2D htrig6rate_vs_time 'HMS Trig6 Rate vs. Time; 1 MHz Clock Time (s); hTRIG6 Rate (Hz)' H.1Mhz.scalerTime H.hTRIG6.scalerRate 350 0 7000 500 0 200000 
 
+#--------------------------------------
+# HMS DC Ref time vs Hodo Ref time
+#--------------------------------------
+
+
+TH2D dcref_vs_hodoref 'HMS HODO REF vs. DC REF; HODO REF time; DC REF time' T.hms.hT1_tdcTimeRaw T.hms.hDCREF2_tdcTimeRaw 100 1400 2600 100 14800 16000 
 
 #--------------------------------
 #HMS Trigger ADC Pulse pedestals
diff --git a/onlineGUI/CONFIG/HMS/PRODUCTION/hms_coin_production.cfg b/onlineGUI/CONFIG/HMS/PRODUCTION/hms_coin_production.cfg
index 508e78d9..bad76054 100644
--- a/onlineGUI/CONFIG/HMS/PRODUCTION/hms_coin_production.cfg
+++ b/onlineGUI/CONFIG/HMS/PRODUCTION/hms_coin_production.cfg
@@ -190,3 +190,7 @@ htrig2rate_vs_time -nostat
 htrig3rate_vs_time -nostat
 htrig4rate_vs_time -nostat
 htrig6rate_vs_time -nostat
+
+newpage 1 1 linxy
+title HMS DC_REF vs HODO_REF
+dcref_vs_hodoref -nostat -type box
\ No newline at end of file
diff --git a/onlineGUI/CONFIG/HMS/TEST_STANDS/DC/hdc_wireeff.cfg b/onlineGUI/CONFIG/HMS/TEST_STANDS/DC/hdc_wireeff.cfg
index 10698236..57f9c2c9 100644
--- a/onlineGUI/CONFIG/HMS/TEST_STANDS/DC/hdc_wireeff.cfg
+++ b/onlineGUI/CONFIG/HMS/TEST_STANDS/DC/hdc_wireeff.cfg
@@ -1,4 +1,4 @@
-protorootfile ../ROOTfiles/hms_replay_production_XXXXX_100000.root
+protorootfile ../ROOTfiles/hms_coin_replay_production_XXXXX_latest.root
 guicolor lightblue
 canvassize 800 800
 newpage 2 3
-- 
GitLab