From 9ef531295e73fb089e3896c1150967d92da11586 Mon Sep 17 00:00:00 2001
From: hallc-online <hallconline@gmail.com>
Date: Tue, 10 Apr 2018 10:55:31 -0400
Subject: [PATCH] Fix typo in THcTrigDet.cxx

---
 src/THcTrigDet.cxx | 9 ++++-----
 1 file changed, 4 insertions(+), 5 deletions(-)

diff --git a/src/THcTrigDet.cxx b/src/THcTrigDet.cxx
index 2695938..b36fb16 100644
--- a/src/THcTrigDet.cxx
+++ b/src/THcTrigDet.cxx
@@ -173,9 +173,8 @@ THaAnalysisObject::EStatus THcTrigDet::Init(const TDatime& date) {
   if (status) {
     fStatus = status;
     return fStatus;
-  }
-
-
+  
+}
   // Fill in detector map.
   string EngineDID = string(GetApparatus()->GetName()).substr(0, 1) + GetName();
   std::transform(EngineDID.begin(), EngineDID.end(), EngineDID.begin(), ::toupper);
@@ -338,8 +337,8 @@ Int_t THcTrigDet::ReadDatabase(const TDatime& date) {
   DBRequest list2[]={
     {"_AdcTimeWindowMin", fAdcTimeWindowMin, kDouble,     (UInt_t) fNumAdc, 1},
     {"_AdcTimeWindowMax", fAdcTimeWindowMax, kDouble,     (UInt_t) fNumAdc, 1},
-    {"_TdcTimeWindowMin", fTdcTimeWindowMin, kDouble,     (UInt_t) fNumAdc, 1},
-    {"_TdcTimeWindowMax", fTdcTimeWindowMax, kDouble,     (UInt_t) fNumAdc, 1},
+    {"_TdcTimeWindowMin", fTdcTimeWindowMin, kDouble,     (UInt_t) fNumTdc, 1},
+    {"_TdcTimeWindowMax", fTdcTimeWindowMax, kDouble,     (UInt_t) fNumTdc, 1},
     {0}
   };
 
-- 
GitLab