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
6. Delete the files generated by the workflow during step 2 and run the `O2DPG_pp_minbias_multiple_tf_qc.sh` script again.
71
71
Verify that the QC Task succeeds.
72
-
Log are available under task names in their working directories: tf<n> when processing TFs and QC during finalization.
72
+
You can run only the parts of the workflow which are required to reach your QC task by adding `-tt <task_name>_finalize` to `o2_dpg_workflow_runner.py`.
73
+
Logs are available under task names in their working directories: tf<n> when processing TFs and QC during finalization.
73
74
74
75
7. Ask Catalin to add the file with QC results to the list of merged files on Grid productions. The file has the same name as `taskName`, but with the `.root` suffix. If you update the task name, also please let Catalin know.
76
+
77
+
## Adding QC post-processing tasks to the simulation script
78
+
79
+
One can execute a QC post-processing workflow as the last stage of QC.
80
+
To do that, please follow the points below.
81
+
82
+
1. Similarly to the points 1-3 in the previous chapter, verify that you can run the workflow before making changes.
83
+
Prepare the QC config file, putting correct values in the `Activity` section.
84
+
Pay attention to set applicable triggers in the post-processing task, see the [QC doc](https://github.com/AliceO2Group/QualityControl/blob/master/doc/PostProcessing.md#more-examples) for relevant examples.
85
+
Most likely, you will need to use either `ForEachObject` or `ForEachLatest` triggers.
86
+
87
+
2. In `o2dpg_qc_finalization_workflow.py`, find the `include_all_QC_finalization` function.
88
+
89
+
Add your QC post-processing workflow there using the `add_QC_postprocessing` function.
90
+
See its in-code documentation for argument explanation and follow the existing examples.
91
+
Please make sure to set the correct `needs`, so the post-processing workflow is executed only when the required QC objects are already in the QCDB.
92
+
93
+
3. Delete the files generated by the workflow during the previous steps and run the `O2DPG_pp_minbias_multiple_tf_qc.sh` script again.
94
+
Verify that the QC post-processing workflow succeeds.
95
+
You can run only the parts of the workflow which are required to reach your QC task by adding `-tt <task_name>_finalize` to `o2_dpg_workflow_runner.py`.
96
+
Relevant logs are available under task names in the `QC` directory.
0 commit comments