#include <Protodune.h>
Public Member Functions | |
| StickyCodeMitig (const std::string &anode_tn="AnodePlane", const std::string &noisedb="OmniChannelNoiseDB", float stky_sig_like_val=15.0, float stky_sig_like_rms=2.0, int stky_max_len=5) | |
| virtual | ~StickyCodeMitig () |
| virtual WireCell::Waveform::ChannelMaskMap | apply (int channel, signal_t &sig) const |
| virtual WireCell::Waveform::ChannelMaskMap | apply (channel_signals_t &chansig) 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::IChannelFilter | |
| virtual | ~IChannelFilter () |
Public Member Functions inherited from WireCell::IComponent< IChannelFilter > | |
| 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 | |
| std::string | m_anode_tn |
| std::string | m_noisedb_tn |
| IAnodePlane::pointer | m_anode |
| IChannelNoiseDatabase::pointer | m_noisedb |
| std::map< int, std::vector< short int > > | m_extra_stky |
| float | m_stky_sig_like_val |
| float | m_stky_sig_like_rms |
| int | m_stky_max_len |
Additional Inherited Members | |
Public Types inherited from WireCell::IChannelFilter | |
| typedef Waveform::realseq_t | signal_t |
| typedef std::map< int, signal_t > | channel_signals_t |
Public Types inherited from WireCell::IComponent< IChannelFilter > | |
| typedef std::shared_ptr< IChannelFilter > | 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... | |
Microboone/ProtoDUNE style noise subtraction.
Fixme: in principle, this class could be general purpose for other detectors. However, it uses the functions above which hard code microboone-isms. If those microboone/protodune-specific parameters can be pulled out to a higher layer then this class can become generic and move outside of this file.
Definition at line 61 of file Protodune.h.
| Protodune::StickyCodeMitig::StickyCodeMitig | ( | const std::string & | anode_tn = "AnodePlane", |
| const std::string & | noisedb = "OmniChannelNoiseDB", |
||
| float | stky_sig_like_val = 15.0, |
||
| float | stky_sig_like_rms = 2.0, |
||
| int | stky_max_len = 5 |
||
| ) |
Definition at line 621 of file Protodune.cxx.
|
virtual |
Definition at line 631 of file Protodune.cxx.
|
virtual |
Filter in place the signal sig from given channel.
Implements WireCell::IChannelFilter.
|
virtual |
Filter in place a group of signals together.
Implements WireCell::IChannelFilter.
|
virtual |
Accept a configuration.
Implements WireCell::IConfigurable.
Definition at line 635 of file Protodune.cxx.
|
virtual |
Optional, override to return a hard-coded default configuration.
Reimplemented from WireCell::IConfigurable.
Definition at line 675 of file Protodune.cxx.
|
private |
Definition at line 85 of file Protodune.h.
|
private |
Definition at line 84 of file Protodune.h.
|
private |
Definition at line 88 of file Protodune.h.
|
private |
Definition at line 86 of file Protodune.h.
|
private |
Definition at line 84 of file Protodune.h.
|
private |
Definition at line 91 of file Protodune.h.
|
private |
Definition at line 90 of file Protodune.h.
|
private |
Definition at line 89 of file Protodune.h.
1.8.11