#include <TimeGatedDepos.h>
Public Member Functions | |
TimeGatedDepos () | |
virtual | ~TimeGatedDepos () |
virtual bool | operator() (const input_pointer &depo, output_queue &outq) |
The calling signature: More... | |
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... | |
![]() | |
virtual | ~IDrifter () |
virtual std::string | signature () |
![]() | |
virtual | ~IQueuedoutNode () |
virtual bool | operator() (const boost::any &anyin, queuedany &outanyq) |
The calling signature: More... | |
virtual std::vector< std::string > | input_types () |
virtual std::vector< std::string > | output_types () |
![]() | |
virtual | ~IQueuedoutNodeBase () |
virtual NodeCategory | category () |
Return the behavior category type. More... | |
virtual int | concurrency () |
By default assume all subclasses maintain state. More... | |
![]() | |
virtual | ~INode () |
virtual void | reset () |
![]() | |
virtual | ~IComponent () |
![]() | |
virtual | ~Interface () |
![]() | |
virtual | ~IConfigurable () |
![]() | |
virtual | ~IComponent () |
Private Attributes | |
bool | m_accept |
double | m_period |
double | m_start |
double | m_duration |
Additional Inherited Members | |
![]() | |
typedef std::shared_ptr< IDrifter > | pointer |
![]() | |
typedef std::shared_ptr< IQueuedoutNodeBase > | pointer |
typedef IDepo | input_type |
typedef IDepo | output_type |
typedef std::shared_ptr< const IDepo > | input_pointer |
typedef std::shared_ptr< const IDepo > | output_pointer |
typedef std::deque< output_pointer > | output_queue |
![]() | |
typedef std::shared_ptr< IQueuedoutNodeBase > | pointer |
typedef std::deque< boost::any > | queuedany |
![]() | |
enum | NodeCategory { unknown, sourceNode, sinkNode, functionNode, queuedoutNode, joinNode, splitNode, faninNode, fanoutNode, multioutNode, hydraNode } |
![]() | |
typedef std::shared_ptr< INode > | pointer |
Access subclass facet by pointer. More... | |
typedef std::vector< pointer > | vector |
Vector of shared pointers. More... | |
![]() | |
typedef std::shared_ptr< Interface > | pointer |
![]() | |
typedef std::shared_ptr< IConfigurable > | pointer |
Access subclass facet by pointer. More... | |
typedef std::vector< pointer > | vector |
Vector of shared pointers. More... | |
TimeGatedDepos outputs depos which pass a time based selection.
The selection is defined as a time gate expressed as a start time and a duration.
If a period is provided than the time gate is advanced by the configured period each time an EOS is received.
It operates in one of accept or reject modes. To be output in the former mode depos must have times within the gate, in the latter they must not.
The gate is half inclusive. Depo landing exactly at the end of the gate is considered outside the gate.
Definition at line 33 of file TimeGatedDepos.h.
Gen::TimeGatedDepos::TimeGatedDepos | ( | ) |
Definition at line 36 of file TimeGatedDepos.cxx.
|
virtual |
Definition at line 44 of file TimeGatedDepos.cxx.
|
virtual |
Accept a configuration.
Implements WireCell::IConfigurable.
Definition at line 64 of file TimeGatedDepos.cxx.
|
virtual |
Optional, override to return a hard-coded default configuration.
Reimplemented from WireCell::IConfigurable.
Definition at line 24 of file TimeGatedDepos.cxx.
|
virtual |
The calling signature:
Implements WireCell::IQueuedoutNode< IDepo, IDepo >.
Definition at line 48 of file TimeGatedDepos.cxx.
|
private |
Definition at line 42 of file TimeGatedDepos.h.
|
private |
Definition at line 45 of file TimeGatedDepos.h.
|
private |
Definition at line 43 of file TimeGatedDepos.h.
|
private |
Definition at line 44 of file TimeGatedDepos.h.