17 m_cfg[
"width"] =
width;
33 const int nbins = m_cfg[
"nticks"].asInt();
34 const double t0 = waveform_start();
35 const double tick = waveform_period();
36 Binning bins(nbins, t0, t0+nbins*tick);
40 double Gen::RCResponse::waveform_start()
const 42 return m_cfg[
"start"].asDouble();
45 double Gen::RCResponse::waveform_period()
const 47 return m_cfg[
"tick"].asDouble();
code to link reconstructed objects back to the MC truth information
WIRECELL_FACTORY(RCResponse, WireCell::Gen::RCResponse, WireCell::IWaveform, WireCell::IConfigurable) using namespace WireCell
WireCell::Waveform::realseq_t generate(const WireCell::Waveform::Domain &domain, int nsamples)
FIXME: eradicate Domain in favor of Binning.
Json::Value Configuration