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

#include <OmnibusSigProc.h>

Inheritance diagram for WireCell::SigProc::OmnibusSigProc:
Collaboration diagram for WireCell::SigProc::OmnibusSigProc:

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")
 
virtual ~OmnibusSigProc ()
 
virtual bool operator() (const input_pointer &in, output_pointer &out)
 
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 bool operator() (const input_pointer &in, output_pointer &out)=0
 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 ()
 

Additional Inherited Members

- Public Types inherited from WireCell::IFrameFilter
typedef std::shared_ptr< IFrameFilterpointer
 
- Public Types inherited from WireCell::IFunctionNode< IFrame, IFrame >
typedef IFrame input_type
 
typedef IFrame output_type
 
typedef std::shared_ptr< const IFrameinput_pointer
 
typedef std::shared_ptr< const IFrameoutput_pointer
 
typedef IFunctionNode< IFrame, IFramesignature_type
 
- Public Types inherited from WireCell::IFunctionNodeBase
typedef std::shared_ptr< IFunctionNodeBasepointer
 
- 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< INodepointer
 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

Definition at line 13 of file OmnibusSigProc.h.

Constructor & Destructor Documentation

◆ OmnibusSigProc()

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

Definition at line 28 of file OmnibusSigProc.cxx.

◆ ~OmnibusSigProc()

OmnibusSigProc::~OmnibusSigProc ( )
virtual

Definition at line 114 of file OmnibusSigProc.cxx.

Member Function Documentation

◆ configure()

void OmnibusSigProc::configure ( const WireCell::Configuration config)
virtual

Accept a configuration.

Implements WireCell::IConfigurable.

Definition at line 126 of file OmnibusSigProc.cxx.

◆ default_configuration()

WireCell::Configuration OmnibusSigProc::default_configuration ( ) const
virtual

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

Reimplemented from WireCell::IConfigurable.

Definition at line 236 of file OmnibusSigProc.cxx.

◆ operator()()

bool OmnibusSigProc::operator() ( const input_pointer in,
output_pointer out 
)
virtual

Definition at line 1010 of file OmnibusSigProc.cxx.


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