14 m_cfg[
"nticks"] =
tick;
15 m_cfg[
"start"] = start;
18 m_cfg[
"time_smear"] = time_smear;
19 m_cfg[
"offset"] = offset;
29 const double tick = waveform_period();
30 const double offset = m_cfg[
"offset"].asDouble();
31 const double sigma = m_cfg[
"time_smear"].asDouble();
34 m_cfg[
"magnitude"].asDouble(),
39 const int nbins = m_cfg[
"nticks"].asInt();
40 const double start = waveform_start();
45 double Gen::ResponseSys::waveform_start()
const 47 return m_cfg[
"start"].asDouble();
50 double Gen::ResponseSys::waveform_period()
const 52 return m_cfg[
"tick"].asDouble();
Binning tbins(nticks, t0, t0+readout_time)
WireCell::Waveform::realseq_t generate(const WireCell::Waveform::Domain &domain, int nsamples)
FIXME: eradicate Domain in favor of Binning.
WIRECELL_FACTORY(ResponseSys, WireCell::Gen::ResponseSys, WireCell::IWaveform, WireCell::IConfigurable) using namespace WireCell
Json::Value Configuration