artdaq_mpich_plugin
v1_00_08
|
The RoutingMasterTest class runs the routing_master test. More...
Public Member Functions | |
RoutingMasterTest (int argc, char *argv[]) | |
RoutingMasterTest Constructor. More... | |
void | go () |
Start the test, using the role assigned. | |
void | generate_tokens () |
Generate tokens and send them to the Routing Master. | |
void | routing_master () |
Load a RoutingMasterCore instance, receive tokens from the token generators, and send table updates to the table receivers. | |
void | table_receiver () |
Receive Routing Tables from the Routing Master and send acknowledgement packets back. | |
fhicl::ParameterSet | getPset (int argc, char *argv[]) const |
Parse the command line arguments and load a configuration FHiCL file. More... | |
Public Member Functions inherited from MPIProg | |
MPIProg (int argc, char **argv) | |
MPIProg Constructor. More... | |
~MPIProg () | |
MPIProg destructor. | |
Additional Inherited Members | |
Public Attributes inherited from MPIProg | |
int | procs_ |
Number of processes in MPI cluster. | |
The RoutingMasterTest class runs the routing_master test.
Definition at line 42 of file routing_master_t.cc.
RoutingMasterTest::RoutingMasterTest | ( | int | argc, |
char * | argv[] | ||
) |
RoutingMasterTest Constructor.
argc | Number of arguments |
argv | Array of argument strings |
The configuration file should contains the following Parameters: "daq" (REQUIRED): DAQ configuration "policy" (REQUIRED): The RoutingMasterPolicy configuration "receiver_ranks" (REQUIRED): Ranks of the Table Receivers "token_count" (Default: 1000): Number of tokens to generate "token_interval_us" (Default: 5000): Delay between tokens
The configuration file is also passed to RoutingMasterCore, see that class for required configuration parameters
Definition at line 114 of file routing_master_t.cc.
fhicl::ParameterSet RoutingMasterTest::getPset | ( | int | argc, |
char * | argv[] | ||
) | const |
Parse the command line arguments and load a configuration FHiCL file.
argc | Number of arguments |
argv | Array of argument strings |
Definition at line 144 of file routing_master_t.cc.