WireCellToolkit
Wire Cell Simulation, Signal Process and Reconstruction Toolki for Liquid Argon Detectors
WireCell::Gen::StaticChannelStatus Class Reference

#include <StaticChannelStatus.h>

Inheritance diagram for WireCell::Gen::StaticChannelStatus:
Collaboration diagram for WireCell::Gen::StaticChannelStatus:

Classes

struct  ChannelStatus
 

Public Types

typedef std::unordered_map< int, ChannelStatuschannel_status_map_t
 
- Public Types inherited from WireCell::IComponent< IChannelStatus >
typedef std::shared_ptr< IChannelStatuspointer
 Access subclass facet by pointer. More...
 
typedef std::vector< pointervector
 Vector of shared pointers. More...
 
- Public Types inherited from WireCell::Interface
typedef std::shared_ptr< Interfacepointer
 
- Public Types inherited from WireCell::IComponent< IConfigurable >
typedef std::shared_ptr< IConfigurablepointer
 Access subclass facet by pointer. More...
 
typedef std::vector< pointervector
 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 ()
 

Detailed Description

Definition at line 18 of file StaticChannelStatus.h.

Member Typedef Documentation

◆ channel_status_map_t

Definition at line 26 of file StaticChannelStatus.h.

Constructor & Destructor Documentation

◆ StaticChannelStatus()

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.

◆ ~StaticChannelStatus()

Gen::StaticChannelStatus::~StaticChannelStatus ( )
virtual

Definition at line 20 of file StaticChannelStatus.cxx.

Member Function Documentation

◆ configure()

void Gen::StaticChannelStatus::configure ( const WireCell::Configuration config)
virtual

Accept a configuration.

Implements WireCell::IConfigurable.

Definition at line 42 of file StaticChannelStatus.cxx.

◆ default_configuration()

WireCell::Configuration Gen::StaticChannelStatus::default_configuration ( ) const
virtual

Optional, override to return a hard-coded default configuration.

Reimplemented from WireCell::IConfigurable.

Definition at line 25 of file StaticChannelStatus.cxx.

◆ preamp_gain()

double Gen::StaticChannelStatus::preamp_gain ( int  chid) const
virtual

Return the current gain for the preamplifier in units of [voltage]/[charge].

Implements WireCell::IChannelStatus.

Definition at line 62 of file StaticChannelStatus.cxx.

◆ preamp_shaping()

double Gen::StaticChannelStatus::preamp_shaping ( int  chid) const
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.


The documentation for this class was generated from the following files: