#include <AddNoise.h>
Public Member Functions | |
AddNoise (const std::string &model="", const std::string &rng="Random") | |
virtual | ~AddNoise () |
virtual bool | operator() (const input_pointer &inframe, output_pointer &outframe) |
IFrameFilter. More... | |
virtual void | configure (const WireCell::Configuration &config) |
IConfigurable. 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 Attributes | |
IRandom::pointer | m_rng |
IChannelSpectrum::pointer | m_model |
std::string | m_model_tn |
std::string | m_rng_tn |
int | m_nsamples |
double | m_rep_percent |
Log::logptr_t | log |
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 22 of file AddNoise.h.
Gen::AddNoise::AddNoise | ( | const std::string & | model = "" , |
const std::string & | rng = "Random" |
||
) |
Definition at line 19 of file AddNoise.cxx.
|
virtual |
Definition at line 29 of file AddNoise.cxx.
|
virtual |
|
virtual |
Optional, override to return a hard-coded default configuration.
Reimplemented from WireCell::IConfigurable.
Definition at line 33 of file AddNoise.cxx.
|
virtual |
Implements WireCell::IFunctionNode< IFrame, IFrame >.
Definition at line 61 of file AddNoise.cxx.
|
private |
Definition at line 44 of file AddNoise.h.
|
private |
Definition at line 38 of file AddNoise.h.
|
private |
Definition at line 40 of file AddNoise.h.
|
private |
Definition at line 41 of file AddNoise.h.
|
private |
Definition at line 42 of file AddNoise.h.
|
private |
Definition at line 37 of file AddNoise.h.
|
private |
Definition at line 40 of file AddNoise.h.