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/PostProcessing.md
+18Lines changed: 18 additions & 0 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -164,6 +164,7 @@ Each of the three methods can be invoked by one or more triggers. Below are list
164
164
pass and run.
165
165
* `"once"` - Once - triggers only first time it is checked
166
166
* `"always"` - Always - triggers each time it is checked
167
+
* `"userorcontrol"` - triggers when upon corresponding START and STOP state transitions. This is the recommended trigger for `initTrigger` and `stopTrigger`.
167
168
168
169
#### Using different databases
169
170
@@ -189,6 +190,23 @@ The destination repository is always the global one defined in the global config
189
190
}
190
191
```
191
192
193
+
#### Output object validity
194
+
195
+
By default, the objects published by post-processing tasks use narrowest validity which contains all past triggers (except of `userorcontrol`).
196
+
In other words, a trend's validity covers all of the input objects' validity.
197
+
198
+
If a post-processing task is not used for trending, but e.g. to decorate or correlate some moving window objects while preserving their validity, one can set the `validityFromLastTriggerOnly` parameter:
199
+
200
+
```
201
+
"postprocessing": {
202
+
"MyPostProcessingTaskID": {
203
+
...
204
+
"validityFromLastTriggerOnly": "true", "": "false by default"
205
+
...
206
+
}
207
+
...
208
+
```
209
+
192
210
### Running it
193
211
194
212
The post-processing tasks can be run in three ways. First uses the usual `o2-qc` executable which relies on DPL and
0 commit comments