mirror of
https://github.com/FairRootGroup/FairMQ.git
synced 2025-10-13 16:46:47 +00:00
11 lines
689 B
Markdown
11 lines
689 B
Markdown
Example 7: Communicating with ParameterMQServer
|
|
===============
|
|
|
|
This example shows how to communicate with the ParameterMQServer, that retrieves parameters from FairRuntimeDb.
|
|
|
|
The `fill_parameters.C` ROOT macro can be used to generate the parameter file for the server to read from. The generated file will contain paramters with the name `FairMQExample7ParOne` for run IDs 2000-2099.
|
|
|
|
FairMQExample7Client device requests parameter data from ParameterMQServer via REQ-REP pattern. The request contains parameter name and run ID.
|
|
|
|
The parameter name can be configured via command line (`--parameter-name`, default is `FairMQExample7ParOne`) and the run ID is hardcoded for this example.
|