QualityControl  1.5.1
O2 Data Quality Control Framework
runReadoutForDataDump.cxx File Reference

This is a simplistic executable to be able to sample Readout data towards a non-DPL FairMQ device. More...

#include <DataSampling/DataSampling.h>
#include <Framework/runDataProcessing.h>
#include <DataSampling/DataSamplingReadoutAdapter.h>
#include "QualityControl/QcInfoLogger.h"
#include <string>
Include dependency graph for runReadoutForDataDump.cxx:

Functions

void customize (std::vector< CompletionPolicy > &policies)
 
void customize (std::vector< ChannelConfigurationPolicy > &policies)
 
WorkflowSpec defineDataProcessing (ConfigContext const &)
 

Detailed Description

This is a simplistic executable to be able to sample Readout data towards a non-DPL FairMQ device.

Author
Piotr Konopka, Barthelemy von Haller

It uses a config file located at ${QUALITYCONTROL_ROOT}/etc/readoutForDataDump.json or Framework/readoutForDataDump.json (original one). The only thing that might have to be changed is the port (default : 26525) on which the data is sent.

1 > "channelConfig": "name=fairReadoutRawOut,type=pub,method=bind,address=tcp://127.0.0.1:26525,rateLogging=1"

To launch it, build the project, load the environment and run the executable:

1 > aliBuild build QualityControl --defaults o2
2 > alienv enter QualityControl/latest
3 > runReadoutDataSampling

If you have glfw installed, you should see a window with the workflow visualization and sub-windows for each Data Processor where their logs can be seen. The processing will continue until the main window is closed. Regardless of glfw being installed or not, in the terminal all the logs will be shown as well.