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

#include <Misconfigure.h>

Inheritance diagram for WireCell::Gen::Misconfigure:
Collaboration diagram for WireCell::Gen::Misconfigure:

Public Member Functions

 Misconfigure ()
 
virtual ~Misconfigure ()
 
virtual bool operator() (const input_pointer &in, output_pointer &out)
 
virtual WireCell::Configuration default_configuration () const
 Optional, override to return a hard-coded default configuration. More...
 
virtual void configure (const WireCell::Configuration &cfg)
 Accept a 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 33 of file Misconfigure.h.

Constructor & Destructor Documentation

◆ Misconfigure()

Gen::Misconfigure::Misconfigure ( )

Definition at line 13 of file Misconfigure.cxx.

◆ ~Misconfigure()

Gen::Misconfigure::~Misconfigure ( )
virtual

Definition at line 17 of file Misconfigure.cxx.

Member Function Documentation

◆ configure()

void Gen::Misconfigure::configure ( const WireCell::Configuration config)
virtual

Accept a configuration.

Implements WireCell::IConfigurable.

Definition at line 53 of file Misconfigure.cxx.

Here is the call graph for this function:

◆ default_configuration()

WireCell::Configuration Gen::Misconfigure::default_configuration ( ) const
virtual

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

The number of samples of the response functions.

The period of sampling the response functions

If to truncate the misconfigured waveforms. The convolution used to apply the misconfiguring will extend the a trace's waveform by nsamples-1. Truncating will clip that much off so the waveform will remains the same length but some information may be lost. If not truncated, this longer waveform likely needs to be handled in some way by the user.

Reimplemented from WireCell::IConfigurable.

Definition at line 22 of file Misconfigure.cxx.

◆ operator()()

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

Definition at line 67 of file Misconfigure.cxx.

Here is the call graph for this function:

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