QualityControl
1.5.1
O2 Data Quality Control Framework
|
This is an executable with a basic histogram producer in the Data Processing Layer. More...
#include <vector>
#include <Framework/ConfigParamSpec.h>
#include <iostream>
#include <Framework/runDataProcessing.h>
#include "QualityControl/HistoProducer.h"
Functions | |
void | customize (std::vector< ConfigParamSpec > &workflowOptions) |
WorkflowSpec | defineDataProcessing (const ConfigContext &config) |
This is an executable with a basic histogram producer in the Data Processing Layer.
This is an executable with a histogram producer in the Data Processing Layer. It does not serve a real purpose on its own, but it can be used as an external data (TObjArray of histograms) source for QC development. For example, one can do:
Histograms have 100 bins between -3 and 3 and filled+published randomly (incremental) every 2 seconds. They are encapsulated in a TObjArray and named histo_<index>
. In case, there is no encapsulation, the histogram is named histo
.
The option producers
specifies how many producers to spawn. The option histograms
specifies how many histograms to publish in each producer. The option no-tobjarray
is only valid if histograms=1 and will prevent the producer from embedding the histogram in a TObjArray. The option printer
adds a printer attached to the first producer.