From 96fa894d670550a7d7e66846e14225573ec35772 Mon Sep 17 00:00:00 2001 From: Fernando Araiza Gonzalez <faraiza@ifarm1401.jlab.org> Date: Wed, 6 Jun 2018 12:44:33 -0400 Subject: [PATCH] Change to make new parameters optional in DBRequest list --- src/THcShower.cxx | 4 ++-- src/THcShowerArray.cxx | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/src/THcShower.cxx b/src/THcShower.cxx index f970f67..88987ca 100644 --- a/src/THcShower.cxx +++ b/src/THcShower.cxx @@ -382,8 +382,8 @@ Int_t THcShower::ReadDatabase( const TDatime& date ) {"cal_neg_cal_const", hcal_neg_cal_const, kDouble, fNTotBlocks}, {"cal_neg_ped_limit", fShNegPedLimit, kInt, fNTotBlocks,1}, {"cal_neg_gain_cor", hcal_neg_gain_cor, kDouble, fNTotBlocks}, - {"cal_AdcTimeWindowMin", fAdcTimeWindowMin, kDouble, static_cast<UInt_t>(fNTotBlocks)}, - {"cal_AdcTimeWindowMax", fAdcTimeWindowMax, kDouble, static_cast<UInt_t>(fNTotBlocks)}, + {"cal_AdcTimeWindowMin", fAdcTimeWindowMin, kDouble, static_cast<UInt_t>(fNTotBlocks),1}, + {"cal_AdcTimeWindowMax", fAdcTimeWindowMax, kDouble, static_cast<UInt_t>(fNTotBlocks),1}, {"cal_min_peds", &fShMinPeds, kInt,0,1}, {0} }; diff --git a/src/THcShowerArray.cxx b/src/THcShowerArray.cxx index 88f53cb..eb212e1 100644 --- a/src/THcShowerArray.cxx +++ b/src/THcShowerArray.cxx @@ -276,8 +276,8 @@ Int_t THcShowerArray::ReadDatabase( const TDatime& date ) {"cal_arr_ped_limit", fPedLimit, kInt, static_cast<UInt_t>(fNelem),1}, {"cal_arr_cal_const", cal_arr_cal_const, kDouble, static_cast<UInt_t>(fNelem)}, {"cal_arr_gain_cor", cal_arr_gain_cor, kDouble, static_cast<UInt_t>(fNelem)}, - {"cal_arr_AdcTimeWindowMin", fAdcTimeWindowMin, kDouble, static_cast<UInt_t>(fNelem)}, - {"cal_arr_AdcTimeWindowMax", fAdcTimeWindowMax, kDouble, static_cast<UInt_t>(fNelem)}, + {"cal_arr_AdcTimeWindowMin", fAdcTimeWindowMin, kDouble, static_cast<UInt_t>(fNelem),1}, + {"cal_arr_AdcTimeWindowMax", fAdcTimeWindowMax, kDouble, static_cast<UInt_t>(fNelem),1}, {0} }; -- GitLab