$treeview $search $mathjax $extrastylesheet
artdaq_demo  v3_04_00
$projectbrief
$projectbrief
$searchbox

demo::MisbehaviorTest Class Reference

A test RoutingMasterPolicy which does various "bad" things, determined by configuration. More...

List of all members.

Public Member Functions

 MisbehaviorTest (fhicl::ParameterSet ps)
 MisbehaviorTest Constructor.
virtual ~MisbehaviorTest ()
 MisbehaviorTest default Destructor.
artdaq::detail::RoutingPacket GetCurrentTable () override
 Generate and return a Routing Table.

Detailed Description

A test RoutingMasterPolicy which does various "bad" things, determined by configuration.

Definition at line 12 of file MisbehaviorTest_policy.cc.


Constructor & Destructor Documentation

demo::MisbehaviorTest::MisbehaviorTest ( fhicl::ParameterSet  ps  )  [explicit]

MisbehaviorTest Constructor.

Parameters:
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.


Member Function Documentation

artdaq::detail::RoutingPacket demo::MisbehaviorTest::GetCurrentTable (  )  [override]

Generate and return a Routing Table.

Returns:
An artdaq::detail::RoutingPacket with the Routing Table information

Definition at line 66 of file MisbehaviorTest_policy.cc.


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

Generated on 7 Mar 2019 for artdaq_demo by  doxygen 1.6.1