diff --git a/src/THcTrigDet.cxx b/src/THcTrigDet.cxx index 2695938e345cdfbbd47f4cd8c3accbfafe3f7313..b36fb16fd5c25f3f31c5df80950e95647f8ee1ca 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} };