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

#include <ChannelSelector.h>

Inheritance diagram for WireCell::SigProc::ChannelSelector:
Collaboration diagram for WireCell::SigProc::ChannelSelector:

Public Member Functions

 ChannelSelector ()
 
virtual ~ChannelSelector ()
 
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...
 
- 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 ()
 

Protected Member Functions

virtual void set_channels (const std::vector< int > &channels)
 

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 20 of file ChannelSelector.h.

Constructor & Destructor Documentation

◆ ChannelSelector()

ChannelSelector::ChannelSelector ( )

Definition at line 15 of file ChannelSelector.cxx.

◆ ~ChannelSelector()

ChannelSelector::~ChannelSelector ( )
virtual

Definition at line 20 of file ChannelSelector.cxx.

Member Function Documentation

◆ configure()

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

IConfigurable interface.

Implements WireCell::IConfigurable.

Reimplemented in WireCell::SigProc::DBChannelSelector.

Definition at line 39 of file ChannelSelector.cxx.

◆ default_configuration()

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

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

Only traces with channels in this array will be in the output.

Only traces with these tags will be in the output. If no tags are given then tags are not considered.

Reimplemented from WireCell::IConfigurable.

Reimplemented in WireCell::SigProc::DBChannelSelector.

Definition at line 25 of file ChannelSelector.cxx.

◆ operator()()

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

IFrameFilter interface.

Reimplemented in WireCell::SigProc::DBChannelSelector.

Definition at line 65 of file ChannelSelector.cxx.

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

◆ set_channels()

void ChannelSelector::set_channels ( const std::vector< int > &  channels)
protectedvirtual

Definition at line 56 of file ChannelSelector.cxx.

Here is the caller graph for this function:

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