WireCellToolkit
Wire Cell Simulation, Signal Process and Reconstruction Toolki for Liquid Argon Detectors
WireCell::SigProc::Protodune::StickyCodeMitig Class Reference

#include <Protodune.h>

Inheritance diagram for WireCell::SigProc::Protodune::StickyCodeMitig:
Collaboration diagram for WireCell::SigProc::Protodune::StickyCodeMitig:

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

Additional Inherited Members

- Public Types inherited from WireCell::IChannelFilter
typedef Waveform::realseq_t signal_t
 
typedef std::map< int, signal_tchannel_signals_t
 
- Public Types inherited from WireCell::IComponent< IChannelFilter >
typedef std::shared_ptr< IChannelFilterpointer
 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...
 

Detailed Description

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.

Constructor & Destructor Documentation

◆ StickyCodeMitig()

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 619 of file Protodune.cxx.

◆ ~StickyCodeMitig()

Protodune::StickyCodeMitig::~StickyCodeMitig ( )
virtual

Definition at line 629 of file Protodune.cxx.

Member Function Documentation

◆ apply() [1/2]

virtual WireCell::Waveform::ChannelMaskMap WireCell::SigProc::Protodune::StickyCodeMitig::apply ( int  channel,
signal_t sig 
) const
virtual

Filter in place the signal sig from given channel.

Implements WireCell::IChannelFilter.

Here is the caller graph for this function:

◆ apply() [2/2]

WireCell::Waveform::ChannelMaskMap Protodune::StickyCodeMitig::apply ( channel_signals_t chansig) const
virtual

Filter in place a group of signals together.

Implements WireCell::IChannelFilter.

Definition at line 768 of file Protodune.cxx.

◆ configure()

void Protodune::StickyCodeMitig::configure ( const WireCell::Configuration config)
virtual

Accept a configuration.

Implements WireCell::IConfigurable.

Definition at line 633 of file Protodune.cxx.

◆ default_configuration()

WireCell::Configuration Protodune::StickyCodeMitig::default_configuration ( ) const
virtual

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

Reimplemented from WireCell::IConfigurable.

Definition at line 673 of file Protodune.cxx.

Here is the call graph for this function:

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