#include <OmnibusPMTNoiseFilter.h>
Public Types | |
typedef std::vector< std::vector< int > > | grouped_channels_t |
Public Types inherited from WireCell::IFrameFilter | |
typedef std::shared_ptr< IFrameFilter > | pointer |
Public Types inherited from WireCell::IFunctionNode< IFrame, IFrame > | |
typedef IFrame | input_type |
typedef IFrame | output_type |
typedef std::shared_ptr< const IFrame > | input_pointer |
typedef std::shared_ptr< const IFrame > | output_pointer |
typedef IFunctionNode< IFrame, IFrame > | signature_type |
Public Types inherited from WireCell::IFunctionNodeBase | |
typedef std::shared_ptr< IFunctionNodeBase > | pointer |
Public Types inherited from WireCell::INode | |
enum | NodeCategory { unknown, sourceNode, sinkNode, functionNode, queuedoutNode, joinNode, splitNode, faninNode, fanoutNode, multioutNode, hydraNode } |
Public Types inherited from WireCell::IComponent< INode > | |
typedef std::shared_ptr< INode > | 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... | |
Public Member Functions | |
OmnibusPMTNoiseFilter (const std::string anode_tn="AnodePlane", int pad_window=5, int min_window_length=4, int threshold=4, float rms_threshold=0.5, int sort_wires=4, float ind_th1=2.0, float ind_th2=0.5, int nwire_pmt_col_th=6) | |
Create an OmnibusPMTNoiseFilter. More... | |
virtual | ~OmnibusPMTNoiseFilter () |
virtual bool | operator() (const input_pointer &in, output_pointer &out) |
IFrameFilter interface. More... | |
virtual void | configure (const WireCell::Configuration &config) |
IConfigurable interface. More... | |
virtual WireCell::Configuration | default_configuration () const |
Optional, override to return a hard-coded default configuration. More... | |
void | IDPMTSignalCollection (Waveform::realseq_t &signal, double rms, int ch) |
Explicitly inject required services. More... | |
void | IDPMTSignalInduction (Waveform::realseq_t &signal, double rms, int ch, int plane) |
void | RemovePMTSignal (Waveform::realseq_t &signal, int start_bin, int end_bin, int flag=0) |
Public Member Functions inherited from WireCell::IFrameFilter | |
virtual | ~IFrameFilter () |
virtual std::string | signature () |
Set the signature for all subclasses. More... | |
Public Member Functions inherited from WireCell::IFunctionNode< IFrame, IFrame > | |
virtual | ~IFunctionNode () |
virtual bool | operator() (const boost::any &anyin, boost::any &anyout) |
The calling signature: More... | |
virtual std::vector< std::string > | input_types () |
virtual std::vector< std::string > | output_types () |
Public Member Functions inherited from WireCell::IFunctionNodeBase | |
virtual | ~IFunctionNodeBase () |
virtual NodeCategory | category () |
Return the behavior category type. More... | |
virtual int | concurrency () |
By default assume all subclasses are stateless. More... | |
Public Member Functions inherited from WireCell::INode | |
virtual | ~INode () |
virtual void | reset () |
Public Member Functions inherited from WireCell::IComponent< INode > | |
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_intag |
std::string | m_outtag |
std::string | m_anode_tn |
IAnodePlane::pointer | m_anode |
int | m_pad_window |
int | m_min_window_length |
int | m_threshold |
float | m_rms_threshold |
int | m_sort_wires |
float | m_ind_th1 |
float | m_ind_th2 |
int | m_nwire_pmt_col_th |
Definition at line 14 of file OmnibusPMTNoiseFilter.h.
typedef std::vector< std::vector<int> > WireCell::SigProc::OmnibusPMTNoiseFilter::grouped_channels_t |
Definition at line 16 of file OmnibusPMTNoiseFilter.h.
OmnibusPMTNoiseFilter::OmnibusPMTNoiseFilter | ( | const std::string | anode_tn = "AnodePlane" , |
int | pad_window = 5 , |
||
int | min_window_length = 4 , |
||
int | threshold = 4 , |
||
float | rms_threshold = 0.5 , |
||
int | sort_wires = 4 , |
||
float | ind_th1 = 2.0 , |
||
float | ind_th2 = 0.5 , |
||
int | nwire_pmt_col_th = 6 |
||
) |
Create an OmnibusPMTNoiseFilter.
Definition at line 29 of file OmnibusPMTNoiseFilter.cxx.
|
virtual |
Definition at line 41 of file OmnibusPMTNoiseFilter.cxx.
|
virtual |
IConfigurable interface.
Implements WireCell::IConfigurable.
Definition at line 45 of file OmnibusPMTNoiseFilter.cxx.
|
virtual |
Optional, override to return a hard-coded default configuration.
Reimplemented from WireCell::IConfigurable.
Definition at line 64 of file OmnibusPMTNoiseFilter.cxx.
void OmnibusPMTNoiseFilter::IDPMTSignalCollection | ( | Waveform::realseq_t & | signal, |
double | rms, | ||
int | ch | ||
) |
Explicitly inject required services.
Definition at line 217 of file OmnibusPMTNoiseFilter.cxx.
void OmnibusPMTNoiseFilter::IDPMTSignalInduction | ( | Waveform::realseq_t & | signal, |
double | rms, | ||
int | ch, | ||
int | plane | ||
) |
Definition at line 300 of file OmnibusPMTNoiseFilter.cxx.
|
virtual |
IFrameFilter interface.
Implements WireCell::IFunctionNode< IFrame, IFrame >.
Definition at line 81 of file OmnibusPMTNoiseFilter.cxx.
void OmnibusPMTNoiseFilter::RemovePMTSignal | ( | Waveform::realseq_t & | signal, |
int | start_bin, | ||
int | end_bin, | ||
int | flag = 0 |
||
) |
Definition at line 338 of file OmnibusPMTNoiseFilter.cxx.
|
private |
Definition at line 38 of file OmnibusPMTNoiseFilter.h.
|
private |
Definition at line 37 of file OmnibusPMTNoiseFilter.h.
|
private |
Definition at line 46 of file OmnibusPMTNoiseFilter.h.
|
private |
Definition at line 47 of file OmnibusPMTNoiseFilter.h.
|
private |
Definition at line 36 of file OmnibusPMTNoiseFilter.h.
|
private |
Definition at line 41 of file OmnibusPMTNoiseFilter.h.
|
private |
Definition at line 48 of file OmnibusPMTNoiseFilter.h.
|
private |
Definition at line 36 of file OmnibusPMTNoiseFilter.h.
|
private |
Definition at line 40 of file OmnibusPMTNoiseFilter.h.
|
private |
Definition at line 43 of file OmnibusPMTNoiseFilter.h.
|
private |
Definition at line 45 of file OmnibusPMTNoiseFilter.h.
|
private |
Definition at line 42 of file OmnibusPMTNoiseFilter.h.