You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: doc/ModulesDevelopment.md
+1-53Lines changed: 1 addition & 53 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -42,58 +42,6 @@ The main data flow is represented in blue. Data samples are selected by the Data
42
42
43
43
An example of a workflow definition which describes the processing steps (_Data Processors_), their inputs and their outputs can be seen in [runBasic.cxx](https://github.com/AliceO2Group/QualityControl/blob/master/Framework/runBasic.cxx). In the QC we define the workflows in files whose names are prefixed with `run`.
44
44
45
-
<!--
46
-
47
-
THIS IS OLD STUFF BELOW
48
-
49
-
Quality Control has been adapted to be used as Data Processor in
In [Framework/src/runTaskDPL.cxx](https://github.com/AliceO2Group/QualityControl/blob/master/Framework/src/runTaskDPL.cxx)
92
-
there is an exemplary DPL workflow with QC task. It is compiled to an
93
-
executable `taskDPL`.
94
-
95
-
-->
96
-
97
45
### Data Sampling
98
46
99
47
The Data Sampling provides the possibility to sample data in DPL workflows, based on certain conditions ( 5% randomly, when payload is greater than 4234 bytes, etc.). The job of passing the right data is done by a data processor called `Dispatcher`. A desired data stream is specified in the form of Data Sampling Policies, defined in the QC JSON configuration file. Please refer to the main [Data Sampling readme](https://github.com/AliceO2Group/AliceO2/blob/dev/Framework/Core/README.md#data-sampling) for more details.
@@ -245,7 +193,7 @@ You should see the QcTask at qcg-test.cern.ch with an object `Example` updating.
245
193
246
194
## Modification of a Task
247
195
248
-
Fill in the methods in RawDataQcTask.cxx. For example, make it send a second histogram.
196
+
Fill in the methods in RawDataQcTask.cxx. For example, make it publish a second histogram. Objects must be published only once and they will then be updated automatically every cycle (10 seconds for our example, 1 minute in general).
249
197
Once done, recompile it (see section above) and run it. You should see the second object published in the qcg.
0 commit comments