From fdba7cce4ff508116c0d8bd615c0585eea971c2d Mon Sep 17 00:00:00 2001
From: Eric Pooser <pooser@jlab.org>
Date: Fri, 24 Aug 2018 15:59:02 -0400
Subject: [PATCH] address bug in which the adcTdcOffset was incorrectly
 assigned to tdcOffset

---
 src/THcTrigDet.cxx | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/src/THcTrigDet.cxx b/src/THcTrigDet.cxx
index f86b5c4..0d690f5 100644
--- a/src/THcTrigDet.cxx
+++ b/src/THcTrigDet.cxx
@@ -325,7 +325,7 @@ Int_t THcTrigDet::ReadDatabase(const TDatime& date) {
     {"_adcNames", &adcNames, kString},  // Names of ADC channels.
     {"_tdcNames", &tdcNames, kString},  // Names of TDC channels.
     {"_tdcoffset", &fTdcOffset, kDouble,0,1},  // Offset of tdc channels
-    {"_adc_tdc_offset", &fTdcOffset, kDouble,0,1},  // Offset of Adc Pulse time (ns)
+    {"_adc_tdc_offset", &fAdcTdcOffset, kDouble,0,1},  // Offset of Adc Pulse time (ns)
     {"_tdcchanperns", &fTdcChanperNS, kDouble,0,1},  // Convert channesl to ns
     {"_trig_tdcrefcut", &fTDC_RefTimeCut, kInt, 0, 1},
     {"_trig_adcrefcut", &fADC_RefTimeCut, kInt, 0, 1},
-- 
GitLab