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

#include <ElecResponse.h>

Inheritance diagram for WireCell::Gen::ElecResponse:
Collaboration diagram for WireCell::Gen::ElecResponse:

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_typewaveform_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 ()
 

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< IConfigurablepointer
 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
 

Detailed Description

Definition at line 15 of file ElecResponse.h.

Constructor & Destructor Documentation

◆ ElecResponse()

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.

Member Function Documentation

◆ configure()

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

Accept a configuration.

Implements WireCell::IConfigurable.

Definition at line 27 of file ElecResponse.cxx.

Here is the call graph for this function:

◆ default_configuration()

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

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

Reimplemented from WireCell::IConfigurable.

Definition at line 23 of file ElecResponse.cxx.

◆ waveform_period()

double Gen::ElecResponse::waveform_period ( ) const
virtual

Implements WireCell::IWaveform.

Definition at line 45 of file ElecResponse.cxx.

◆ waveform_samples()

const IWaveform::sequence_type & Gen::ElecResponse::waveform_samples ( ) const
virtual

Implements WireCell::IWaveform.

Definition at line 50 of file ElecResponse.cxx.

◆ waveform_start()

double Gen::ElecResponse::waveform_start ( ) const
virtual

Implements WireCell::IWaveform.

Definition at line 40 of file ElecResponse.cxx.


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