#include <ElecResponse.h>
Public Member Functions | |
ElecResponse (int nticks=10000, double t0=0, double gain=14.0 *units::mV/units::fC, double shaping=2 *units::us, double postgain=1.0, double tick=0.5 *units::us) | |
virtual void | configure (const WireCell::Configuration &cfg) |
Accept a configuration. More... | |
virtual WireCell::Configuration | default_configuration () const |
Optional, override to return a hard-coded default configuration. More... | |
virtual double | waveform_start () const |
virtual double | waveform_period () const |
virtual const sequence_type & | waveform_samples () const |
Public Member Functions inherited from WireCell::IWaveform | |
virtual | ~IWaveform () |
Public Member Functions inherited from WireCell::IConfigurable | |
virtual | ~IConfigurable () |
Public Member Functions inherited from WireCell::IComponent< IConfigurable > | |
virtual | ~IComponent () |
Public Member Functions inherited from WireCell::Interface | |
virtual | ~Interface () |
Private Attributes | |
Configuration | m_cfg |
sequence_type | m_wave |
Additional Inherited Members | |
Public Types inherited from WireCell::IWaveform | |
typedef std::vector< float > | sequence_type |
Public Types inherited from WireCell::IComponent< IConfigurable > | |
typedef std::shared_ptr< IConfigurable > | pointer |
Access subclass facet by pointer. More... | |
typedef std::vector< pointer > | vector |
Vector of shared pointers. More... | |
Public Types inherited from WireCell::Interface | |
typedef std::shared_ptr< Interface > | pointer |
Definition at line 15 of file ElecResponse.h.
Gen::ElecResponse::ElecResponse | ( | int | nticks = 10000 , |
double | t0 = 0 , |
||
double | gain = 14.0*units::mV/units::fC , |
||
double | shaping = 2*units::us , |
||
double | postgain = 1.0 , |
||
double | tick = 0.5*units::us |
||
) |
Definition at line 14 of file ElecResponse.cxx.
|
virtual |
Accept a configuration.
Implements WireCell::IConfigurable.
Definition at line 27 of file ElecResponse.cxx.
|
virtual |
Optional, override to return a hard-coded default configuration.
Reimplemented from WireCell::IConfigurable.
Definition at line 23 of file ElecResponse.cxx.
|
virtual |
|
virtual |
|
virtual |
|
private |
Definition at line 34 of file ElecResponse.h.
|
private |
Definition at line 35 of file ElecResponse.h.