mirror of
https://github.com/FairRootGroup/FairMQ.git
synced 2025-10-13 08:41:16 +00:00
.. | ||
CMakeLists.txt | ||
ex7-client.json | ||
FairMQExample7Client.cxx | ||
FairMQExample7Client.h | ||
FairMQExample7ContFact.cxx | ||
FairMQExample7ContFact.h | ||
FairMQExample7LinkDef.h | ||
FairMQExample7ParOne.cxx | ||
FairMQExample7ParOne.h | ||
fill_parameters.C | ||
read_parameters.C | ||
README.md | ||
runExample7Client.cxx |
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.