artdaq_demo
v3_06_01
|
A test RoutingMasterPolicy which does various "bad" things, determined by configuration. More...
Public Member Functions | |
MisbehaviorTest (fhicl::ParameterSet ps) | |
MisbehaviorTest Constructor. More... | |
virtual | ~MisbehaviorTest ()=default |
MisbehaviorTest default Destructor. | |
artdaq::detail::RoutingPacket | GetCurrentTable () override |
Generate and return a Routing Table. More... | |
A test RoutingMasterPolicy which does various "bad" things, determined by configuration.
Definition at line 11 of file MisbehaviorTest_policy.cc.
|
explicit |
MisbehaviorTest Constructor.
ps | ParameterSet used to configure MisbehaviorTest |
* Note that only one misbehavior can be configured at a time. MisbehaviorTest will work like NoOp_policy when not * misbehaving MisbehaviorTest accepts the following Parameters: "misbehave_after_n_events" (Default: 1000): The * threshold after which it will start misbehaving "misbehave_pause_time_ms" (Default: 0): If greater than 0, will * pause this long before sending out table updates "misbehave_send_confliting_table_data" (Default: false): If * true, will send a table that contains the same sequence ID being sent to two different EventBuilders * "misbehave_send_corrupt_table_data" (Default: false): If true, will send a table that contains an entry created * using rand(), rand() "misbehave_overload_event_builder" (Default: false): If true, will send a large number of * events to one EventBuilder
Definition at line 49 of file MisbehaviorTest_policy.cc.
|
override |
Generate and return a Routing Table.
Definition at line 67 of file MisbehaviorTest_policy.cc.