Skip to content

Commit 8472762

Browse files
nburmasosawenzel
authored andcommitted
Add event selection QA to sim workflow
1 parent 3190f34 commit 8472762

File tree

2 files changed

+43
-0
lines changed

2 files changed

+43
-0
lines changed

MC/bin/o2dpg_sim_workflow.py

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1018,6 +1018,10 @@ def addAnalysisTask(tag, cmd, output=None, needs=[AOD_merge_task['name']],
10181018
# weak decay tutorial task (no complex workflow / piping required atm), NOTE: produces no output
10191019
addAnalysisTask(tag="WeakDecayTutorial", cmd='o2-analysistutorial-weak-decay-iteration')
10201020

1021+
# Event selection QA
1022+
addAnalysisTask(tag="EventSelectionQA",
1023+
cmd='o2-analysis-timestamp --configuration json://${O2DPG_ROOT}/MC/config/QC/json/event-selection-qa.json | o2-analysis-event-selection --configuration json://${O2DPG_ROOT}/MC/config/QC/json/event-selection-qa.json | o2-analysis-event-selection-qa --configuration json://${O2DPG_ROOT}/MC/config/QC/json/event-selection-qa.json', output="AnalysisResults.root")
1024+
10211025
dump_workflow(workflow["stages"], args.o)
10221026

10231027
exit (0)
Lines changed: 39 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,39 @@
1+
{
2+
"internal-dpl-aod-index-builder": "",
3+
"internal-dpl-aod-reader": {
4+
"time-limit": "0",
5+
"orbit-offset-enumeration": "0",
6+
"orbit-multiplier-enumeration": "0",
7+
"start-value-enumeration": "0",
8+
"end-value-enumeration": "-1",
9+
"step-value-enumeration": "1",
10+
"aod-file": "../AO2D.root"
11+
},
12+
"internal-dpl-aod-spawner": "",
13+
"timestamp-task": {
14+
"verbose": "false",
15+
"rct-path": "RCT\/RunInformation\/",
16+
"start-orbit-path": "GRP\/StartOrbit",
17+
"ccdb-url": "http:\/\/alice-ccdb.cern.ch",
18+
"isRun2MC": "false"
19+
},
20+
"bc-selection-task": {
21+
"processRun2": "false",
22+
"processRun3": "true"
23+
},
24+
"event-selection-task": {
25+
"syst": "pp",
26+
"muonSelection": "0",
27+
"customDeltaBC": "300",
28+
"isMC": "true",
29+
"processRun2": "false",
30+
"processRun3": "true"
31+
},
32+
"event-selection-qa-task": {
33+
"isMC": "true",
34+
"processRun2": "false",
35+
"processRun3": "true"
36+
},
37+
"internal-dpl-injected-dummy-sink": "",
38+
"internal-dpl-aod-global-analysis-file-sink": ""
39+
}

0 commit comments

Comments
 (0)