17 m_cfg[
"shaping"] = shaping;
18 m_cfg[
"postgain"] = postgain;
35 Binning bins(nbins, t0, t0+nbins*tick);
42 return m_cfg[
"start"].asDouble();
47 return m_cfg[
"tick"].asDouble();
code to link reconstructed objects back to the MC truth information
virtual double waveform_period() const
A functional object caching gain and shape.
virtual void configure(const WireCell::Configuration &cfg)
Accept a configuration.
WIRECELL_FACTORY(ElecResponse, WireCell::Gen::ElecResponse, WireCell::IWaveform, WireCell::IConfigurable) using namespace std
WireCell::Waveform::realseq_t generate(const WireCell::Waveform::Domain &domain, int nsamples)
FIXME: eradicate Domain in favor of Binning.
virtual double waveform_start() const
virtual const sequence_type & waveform_samples() const
Json::Value Configuration