#include <StaticChannelStatus.h>
Classes | |
struct | ChannelStatus |
Public Types | |
typedef std::unordered_map< int, ChannelStatus > | channel_status_map_t |
Public Types inherited from WireCell::IComponent< IChannelStatus > | |
typedef std::shared_ptr< IChannelStatus > | 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 |
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 Member Functions | |
StaticChannelStatus (double nominal_gain=14.0 *units::mV/units::fC, double nominal_shaping=2.0 *units::us, channel_status_map_t deviants=channel_status_map_t()) | |
virtual | ~StaticChannelStatus () |
virtual double | preamp_gain (int chid) const |
virtual double | preamp_shaping (int chid) const |
virtual void | configure (const WireCell::Configuration &config) |
Accept a configuration. More... | |
virtual WireCell::Configuration | default_configuration () const |
Optional, override to return a hard-coded default configuration. More... | |
Public Member Functions inherited from WireCell::IChannelStatus | |
virtual | ~IChannelStatus () |
Public Member Functions inherited from WireCell::IComponent< IChannelStatus > | |
virtual | ~IComponent () |
Public Member Functions inherited from WireCell::Interface | |
virtual | ~Interface () |
Public Member Functions inherited from WireCell::IConfigurable | |
virtual | ~IConfigurable () |
Public Member Functions inherited from WireCell::IComponent< IConfigurable > | |
virtual | ~IComponent () |
Private Attributes | |
double | m_nominal_gain |
double | m_nominal_shaping |
channel_status_map_t | m_deviants |
Definition at line 18 of file StaticChannelStatus.h.
typedef std::unordered_map<int, ChannelStatus> WireCell::Gen::StaticChannelStatus::channel_status_map_t |
Definition at line 26 of file StaticChannelStatus.h.
Gen::StaticChannelStatus::StaticChannelStatus | ( | double | nominal_gain = 14.0*units::mV/units::fC , |
double | nominal_shaping = 2.0*units::us , |
||
channel_status_map_t | deviants = channel_status_map_t() |
||
) |
Definition at line 11 of file StaticChannelStatus.cxx.
|
virtual |
Definition at line 20 of file StaticChannelStatus.cxx.
|
virtual |
Accept a configuration.
Implements WireCell::IConfigurable.
Definition at line 42 of file StaticChannelStatus.cxx.
|
virtual |
Optional, override to return a hard-coded default configuration.
Reimplemented from WireCell::IConfigurable.
Definition at line 25 of file StaticChannelStatus.cxx.
|
virtual |
Return the current gain for the preamplifier in units of [voltage]/[charge].
Implements WireCell::IChannelStatus.
Definition at line 62 of file StaticChannelStatus.cxx.
|
virtual |
Return the current shaping time of the preamplifier for the given channel in units of [time].
Implements WireCell::IChannelStatus.
Definition at line 70 of file StaticChannelStatus.cxx.
|
private |
Definition at line 43 of file StaticChannelStatus.h.
|
private |
Definition at line 42 of file StaticChannelStatus.h.
|
private |
Definition at line 42 of file StaticChannelStatus.h.