|
WireCellToolkit
Wire Cell Simulation, Signal Process and Reconstruction Toolki for Liquid Argon Detectors
|
#include <EmpiricalNoiseModel.h>


Classes | |
| struct | NoiseSpectrum |
Public Member Functions | |
| EmpiricalNoiseModel (const std::string &spectra_file="", const int nsamples=10000, const double period=0.5 *units::us, const double wire_length_scale=1.0 *units::cm, const std::string anode_tn="AnodePlane", const std::string chanstat_tn="StaticChannelStatus") | |
| virtual | ~EmpiricalNoiseModel () |
| virtual const amplitude_t & | operator() (int chid) const |
| IChannelSpectrum. More... | |
| virtual const std::vector< float > & | freq () const |
| virtual const double | gain (int chid) const |
| virtual const double | shaping_time (int chid) const |
| virtual void | configure (const WireCell::Configuration &config) |
| IConfigurable. More... | |
| virtual WireCell::Configuration | default_configuration () const |
| Optional, override to return a hard-coded default configuration. More... | |
| void | resample (NoiseSpectrum &spectrum) const |
| void | gen_elec_resp_default () |
| amplitude_t | interpolate (int plane, double wire_length) const |
| int | get_nsamples () |
Public Member Functions inherited from WireCell::IChannelSpectrum | |
| virtual | ~IChannelSpectrum () |
Public Member Functions inherited from WireCell::IComponent< IChannelSpectrum > | |
| 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 () |
Additional Inherited Members | |
Public Types inherited from WireCell::IChannelSpectrum | |
| typedef std::vector< float > | amplitude_t |
Public Types inherited from WireCell::IComponent< IChannelSpectrum > | |
| typedef std::shared_ptr< IChannelSpectrum > | 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... | |
Definition at line 31 of file EmpiricalNoiseModel.h.
| Gen::EmpiricalNoiseModel::EmpiricalNoiseModel | ( | const std::string & | spectra_file = "", |
| const int | nsamples = 10000, |
||
| const double | period = 0.5*units::us, |
||
| const double | wire_length_scale = 1.0*units::cm, |
||
| const std::string | anode_tn = "AnodePlane", |
||
| const std::string | chanstat_tn = "StaticChannelStatus" |
||
| ) |
|
virtual |
Definition at line 48 of file EmpiricalNoiseModel.cxx.
|
virtual |
Implements WireCell::IConfigurable.
Definition at line 150 of file EmpiricalNoiseModel.cxx.

|
virtual |
Optional, override to return a hard-coded default configuration.
The file holding the spectral data
Reimplemented from WireCell::IConfigurable.
Definition at line 80 of file EmpiricalNoiseModel.cxx.
|
virtual |
Definition at line 266 of file EmpiricalNoiseModel.cxx.
|
virtual |
| void Gen::EmpiricalNoiseModel::gen_elec_resp_default | ( | ) |
|
inline |
Definition at line 87 of file EmpiricalNoiseModel.h.
| IChannelSpectrum::amplitude_t Gen::EmpiricalNoiseModel::interpolate | ( | int | plane, |
| double | wire_length | ||
| ) | const |
|
virtual |
Implements WireCell::IChannelSpectrum.
Definition at line 295 of file EmpiricalNoiseModel.cxx.

| void Gen::EmpiricalNoiseModel::resample | ( | NoiseSpectrum & | spectrum | ) | const |
Definition at line 97 of file EmpiricalNoiseModel.cxx.


|
virtual |