artdaq_demo
v3_04_00
|
An example RoutingMasterPolicy which redirects every Nth event to a desginated destination. Other events are Round-Robin'ed to the other configured destinations. More...
Public Member Functions | |
NthEventPolicy (fhicl::ParameterSet ps) | |
NthEventPolicy Constructor. More... | |
detail::RoutingPacket | GetCurrentTable () override |
Construct a Routing Table using the current tokens. More... | |
An example RoutingMasterPolicy which redirects every Nth event to a desginated destination. Other events are Round-Robin'ed to the other configured destinations.
Definition at line 13 of file NthEvent_policy.cc.
|
explicit |
NthEventPolicy Constructor.
ps | ParameterSet used to configure the NthEventPolicy |
* NthEventPolicy accepts the following Parameters: * "nth_event" (REQUIRED): Every event where sequence_id % nth == 0 will be sent to * "target_receiver" (REQUIRED): Recevier to which the nth_event will be sent *
Definition at line 36 of file NthEvent_policy.cc.
|
overridevirtual |
Construct a Routing Table using the current tokens.
Implements artdaq::RoutingMasterPolicy.
Definition at line 50 of file NthEvent_policy.cc.