#include <OmnibusSigProc.h>
Classes | |
struct | OspChan |
Public Member Functions | |
OmnibusSigProc (const std::string &anode_tn="AnodePlane", const std::string &per_chan_resp_tn="PerChannelResponse", const std::string &field_response="FieldResponse", double fine_time_offset=0.0 *units::microsecond, double coarse_time_offset=-8.0 *units::microsecond, double gain=14.0 *units::mV/units::fC, double shaping_time=2.2 *units::microsecond, double inter_gain=1.2, double ADC_mV=4096/(2000.*units::mV), float th_factor_ind=3, float th_factor_col=5, int pad=5, float asy=0.1, int rebin=6, double l_factor=3.5, double l_max_th=10000, double l_factor1=0.7, int l_short_length=3, int l_jump_one_bin=0, double r_th_factor=3.0, double r_fake_signal_low_th=500, double r_fake_signal_high_th=1000, double r_fake_signal_low_th_ind_factor=1.0, double r_fake_signal_high_th_ind_factor=1.0, int r_pad=5, int r_break_roi_loop=2, double r_th_peak=3.0, double r_sep_peak=6.0, double r_low_peak_sep_threshold_pre=1200, int r_max_npeaks=200, double r_sigma=2.0, double r_th_percent=0.1, int charge_ch_offset=10000, const std::string &wiener_tag="wiener", const std::string &wiener_threshold_tag="threshold", const std::string &gauss_tag="gauss", bool use_roi_debug_mode=false, const std::string &tight_lf_tag="tight_lf", const std::string &loose_lf_tag="loose_lf", const std::string &cleanup_roi_tag="cleanup_roi", const std::string &break_roi_loop1_tag="break_roi_1st", const std::string &break_roi_loop2_tag="break_roi_2nd", const std::string &shrink_roi_tag="shrink_roi", const std::string &extend_roi_tag="extend_roi") | |
virtual | ~OmnibusSigProc () |
virtual bool | operator() (const input_pointer &in, output_pointer &out) |
The calling signature: More... | |
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::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 Member Functions | |
void | load_data (const input_pointer &in, int plane) |
void | decon_2D_init (int plane) |
void | decon_2D_ROI_refine (int plane) |
void | decon_2D_tightROI (int plane) |
void | decon_2D_tighterROI (int plane) |
void | decon_2D_looseROI (int plane) |
void | decon_2D_hits (int plane) |
void | decon_2D_charge (int plane) |
void | decon_2D_looseROI_debug_mode (int plane) |
void | save_data (ITrace::vector &itraces, IFrame::trace_list_t &indices, int plane, const std::vector< float > &perwire_rmses, IFrame::trace_summary_t &threshold) |
void | save_roi (ITrace::vector &itraces, IFrame::trace_list_t &indices, int plane, std::vector< std::list< SignalROI * > > &roi_channel_list) |
void | init_overall_response (IFrame::pointer frame) |
void | restore_baseline (WireCell::Array::array_xxf &arr) |
bool | masked_neighbors (const std::string &cmname, OspChan &ochan, int nnn) |
Additional Inherited Members | |
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... | |
Definition at line 17 of file OmnibusSigProc.h.
OmnibusSigProc::OmnibusSigProc | ( | const std::string & | anode_tn = "AnodePlane" , |
const std::string & | per_chan_resp_tn = "PerChannelResponse" , |
||
const std::string & | field_response = "FieldResponse" , |
||
double | fine_time_offset = 0.0 * units::microsecond , |
||
double | coarse_time_offset = -8.0 * units::microsecond , |
||
double | gain = 14.0 * units::mV/units::fC , |
||
double | shaping_time = 2.2 * units::microsecond , |
||
double | inter_gain = 1.2 , |
||
double | ADC_mV = 4096/(2000.*units::mV) , |
||
float | th_factor_ind = 3 , |
||
float | th_factor_col = 5 , |
||
int | pad = 5 , |
||
float | asy = 0.1 , |
||
int | rebin = 6 , |
||
double | l_factor = 3.5 , |
||
double | l_max_th = 10000 , |
||
double | l_factor1 = 0.7 , |
||
int | l_short_length = 3 , |
||
int | l_jump_one_bin = 0 , |
||
double | r_th_factor = 3.0 , |
||
double | r_fake_signal_low_th = 500 , |
||
double | r_fake_signal_high_th = 1000 , |
||
double | r_fake_signal_low_th_ind_factor = 1.0 , |
||
double | r_fake_signal_high_th_ind_factor = 1.0 , |
||
int | r_pad = 5 , |
||
int | r_break_roi_loop = 2 , |
||
double | r_th_peak = 3.0 , |
||
double | r_sep_peak = 6.0 , |
||
double | r_low_peak_sep_threshold_pre = 1200 , |
||
int | r_max_npeaks = 200 , |
||
double | r_sigma = 2.0 , |
||
double | r_th_percent = 0.1 , |
||
int | charge_ch_offset = 10000 , |
||
const std::string & | wiener_tag = "wiener" , |
||
const std::string & | wiener_threshold_tag = "threshold" , |
||
const std::string & | gauss_tag = "gauss" , |
||
bool | use_roi_debug_mode = false , |
||
const std::string & | tight_lf_tag = "tight_lf" , |
||
const std::string & | loose_lf_tag = "loose_lf" , |
||
const std::string & | cleanup_roi_tag = "cleanup_roi" , |
||
const std::string & | break_roi_loop1_tag = "break_roi_1st" , |
||
const std::string & | break_roi_loop2_tag = "break_roi_2nd" , |
||
const std::string & | shrink_roi_tag = "shrink_roi" , |
||
const std::string & | extend_roi_tag = "extend_roi" |
||
) |
Definition at line 28 of file OmnibusSigProc.cxx.
|
virtual |
Definition at line 130 of file OmnibusSigProc.cxx.
|
virtual |
Accept a configuration.
Implements WireCell::IConfigurable.
Definition at line 142 of file OmnibusSigProc.cxx.
|
private |
Definition at line 1135 of file OmnibusSigProc.cxx.
|
private |
Definition at line 1105 of file OmnibusSigProc.cxx.
|
private |
Definition at line 728 of file OmnibusSigProc.cxx.
|
private |
Definition at line 955 of file OmnibusSigProc.cxx.
|
private |
Definition at line 1032 of file OmnibusSigProc.cxx.
|
private |
Definition at line 851 of file OmnibusSigProc.cxx.
|
private |
Definition at line 914 of file OmnibusSigProc.cxx.
|
private |
Definition at line 874 of file OmnibusSigProc.cxx.
|
virtual |
Optional, override to return a hard-coded default configuration.
Reimplemented from WireCell::IConfigurable.
Definition at line 260 of file OmnibusSigProc.cxx.
|
private |
Definition at line 536 of file OmnibusSigProc.cxx.
|
private |
Definition at line 327 of file OmnibusSigProc.cxx.
|
private |
Definition at line 1076 of file OmnibusSigProc.cxx.
|
virtual |
The calling signature:
Implements WireCell::IFunctionNode< IFrame, IFrame >.
Definition at line 1166 of file OmnibusSigProc.cxx.
|
private |
Definition at line 694 of file OmnibusSigProc.cxx.
|
private |
Definition at line 375 of file OmnibusSigProc.cxx.
|
private |
Definition at line 458 of file OmnibusSigProc.cxx.
|
private |
Definition at line 226 of file OmnibusSigProc.h.
|
private |
Definition at line 138 of file OmnibusSigProc.h.
|
private |
Definition at line 119 of file OmnibusSigProc.h.
|
private |
Definition at line 118 of file OmnibusSigProc.h.
|
private |
Definition at line 144 of file OmnibusSigProc.h.
|
private |
Definition at line 216 of file OmnibusSigProc.h.
|
private |
Definition at line 217 of file OmnibusSigProc.h.
|
private |
Definition at line 201 of file OmnibusSigProc.h.
|
private |
Definition at line 187 of file OmnibusSigProc.h.
|
private |
Definition at line 190 of file OmnibusSigProc.h.
|
private |
Definition at line 170 of file OmnibusSigProc.h.
|
private |
Definition at line 215 of file OmnibusSigProc.h.
|
private |
Definition at line 196 of file OmnibusSigProc.h.
|
private |
Definition at line 125 of file OmnibusSigProc.h.
|
private |
Definition at line 219 of file OmnibusSigProc.h.
|
private |
Definition at line 132 of file OmnibusSigProc.h.
|
private |
Definition at line 134 of file OmnibusSigProc.h.
|
private |
Definition at line 133 of file OmnibusSigProc.h.
|
private |
Definition at line 121 of file OmnibusSigProc.h.
|
private |
Definition at line 124 of file OmnibusSigProc.h.
|
private |
Definition at line 210 of file OmnibusSigProc.h.
|
private |
Definition at line 137 of file OmnibusSigProc.h.
|
private |
Definition at line 209 of file OmnibusSigProc.h.
|
private |
Definition at line 138 of file OmnibusSigProc.h.
|
private |
Definition at line 126 of file OmnibusSigProc.h.
|
private |
Definition at line 146 of file OmnibusSigProc.h.
|
private |
Definition at line 148 of file OmnibusSigProc.h.
|
private |
Definition at line 150 of file OmnibusSigProc.h.
|
private |
Definition at line 147 of file OmnibusSigProc.h.
|
private |
Definition at line 149 of file OmnibusSigProc.h.
|
private |
Definition at line 214 of file OmnibusSigProc.h.
|
private |
Definition at line 131 of file OmnibusSigProc.h.
|
private |
Definition at line 184 of file OmnibusSigProc.h.
|
private |
Definition at line 143 of file OmnibusSigProc.h.
|
private |
Definition at line 134 of file OmnibusSigProc.h.
|
private |
Definition at line 133 of file OmnibusSigProc.h.
|
private |
Definition at line 120 of file OmnibusSigProc.h.
|
private |
Definition at line 130 of file OmnibusSigProc.h.
|
private |
Definition at line 160 of file OmnibusSigProc.h.
|
private |
Definition at line 200 of file OmnibusSigProc.h.
|
private |
Definition at line 156 of file OmnibusSigProc.h.
|
private |
Definition at line 158 of file OmnibusSigProc.h.
|
private |
Definition at line 155 of file OmnibusSigProc.h.
|
private |
Definition at line 157 of file OmnibusSigProc.h.
|
private |
Definition at line 163 of file OmnibusSigProc.h.
|
private |
Definition at line 164 of file OmnibusSigProc.h.
|
private |
Definition at line 159 of file OmnibusSigProc.h.
|
private |
Definition at line 162 of file OmnibusSigProc.h.
|
private |
Definition at line 165 of file OmnibusSigProc.h.
|
private |
Definition at line 154 of file OmnibusSigProc.h.
|
private |
Definition at line 161 of file OmnibusSigProc.h.
|
private |
Definition at line 166 of file OmnibusSigProc.h.
|
private |
Definition at line 145 of file OmnibusSigProc.h.
|
private |
Definition at line 137 of file OmnibusSigProc.h.
|
private |
Definition at line 218 of file OmnibusSigProc.h.
|
private |
Definition at line 224 of file OmnibusSigProc.h.
|
private |
Definition at line 142 of file OmnibusSigProc.h.
|
private |
Definition at line 141 of file OmnibusSigProc.h.
|
private |
Definition at line 213 of file OmnibusSigProc.h.
|
private |
Definition at line 212 of file OmnibusSigProc.h.
|
private |
Definition at line 207 of file OmnibusSigProc.h.
|
private |
Definition at line 208 of file OmnibusSigProc.h.
|
private |
Definition at line 127 of file OmnibusSigProc.h.
|
private |
Definition at line 204 of file OmnibusSigProc.h.