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

#include <OmnibusPMTNoiseFilter.h>

Inheritance diagram for WireCell::SigProc::OmnibusPMTNoiseFilter:
Collaboration diagram for WireCell::SigProc::OmnibusPMTNoiseFilter:

Public Types

typedef std::vector< std::vector< int > > grouped_channels_t
 
- 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...
 

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

Detailed Description

Definition at line 14 of file OmnibusPMTNoiseFilter.h.

Member Typedef Documentation

◆ grouped_channels_t

typedef std::vector< std::vector<int> > WireCell::SigProc::OmnibusPMTNoiseFilter::grouped_channels_t

Definition at line 16 of file OmnibusPMTNoiseFilter.h.

Constructor & Destructor Documentation

◆ OmnibusPMTNoiseFilter()

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.

◆ ~OmnibusPMTNoiseFilter()

OmnibusPMTNoiseFilter::~OmnibusPMTNoiseFilter ( )
virtual

Definition at line 41 of file OmnibusPMTNoiseFilter.cxx.

Member Function Documentation

◆ configure()

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

IConfigurable interface.

Implements WireCell::IConfigurable.

Definition at line 45 of file OmnibusPMTNoiseFilter.cxx.

◆ default_configuration()

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

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

Reimplemented from WireCell::IConfigurable.

Definition at line 64 of file OmnibusPMTNoiseFilter.cxx.

◆ IDPMTSignalCollection()

void OmnibusPMTNoiseFilter::IDPMTSignalCollection ( Waveform::realseq_t signal,
double  rms,
int  ch 
)

Explicitly inject required services.

Definition at line 217 of file OmnibusPMTNoiseFilter.cxx.

Here is the call graph for this function:
Here is the caller graph for this function:

◆ IDPMTSignalInduction()

void OmnibusPMTNoiseFilter::IDPMTSignalInduction ( Waveform::realseq_t signal,
double  rms,
int  ch,
int  plane 
)

Definition at line 300 of file OmnibusPMTNoiseFilter.cxx.

Here is the call graph for this function:
Here is the caller graph for this function:

◆ operator()()

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

IFrameFilter interface.

Definition at line 81 of file OmnibusPMTNoiseFilter.cxx.

Here is the call graph for this function:

◆ RemovePMTSignal()

void OmnibusPMTNoiseFilter::RemovePMTSignal ( Waveform::realseq_t signal,
int  start_bin,
int  end_bin,
int  flag = 0 
)

Definition at line 338 of file OmnibusPMTNoiseFilter.cxx.

Here is the caller graph for this function:

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