-
Notifications
You must be signed in to change notification settings - Fork 33
/
steps.yml
54 lines (50 loc) · 1.76 KB
/
steps.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
eventselection:
process:
process_type: interpolated-script-cmd
interpreter: bash
script: |
source /home/atlas/release_setup.sh
source /analysis/build/x86*/setup.sh
cat << 'EOF' > recast_xsecs.txt
id/I:name/C:xsec/F:kfac/F:eff/F:relunc/F
{did} {name} {xsec_in_pb} 1.0 1.0 1.0
EOF
echo {dxaod_file} > recast_inputs.txt
myEventSelection {submitDir} recast_inputs.txt recast_xsecs.txt {lumi_in_ifb}
publisher:
publisher_type: interpolated-pub
publish:
histfile: '{submitDir}/hist-sample.root'
environment:
environment_type: 'docker-encapsulated'
image: docker.io/reanahub/reana-demo-atlas-recast-eventselection
imagetag: '1.0'
resources:
- kubernetes_memory_limit: '256Mi'
- kubernetes_uid: 500
statanalysis:
process:
process_type: interpolated-script-cmd
interpreter: bash
script: |
source /home/atlas/release_setup.sh
python /code/make_ws.py {data_file} {signal_file} {background_file}
mkdir -p {resultdir}
python /code/plot.py results/meas_combined_meas_model.root {resultdir}/pre.png {resultdir}/post.png
python /code/set_limit.py results/meas_combined_meas_model.root \
{resultdir}/limit.png {resultdir}/limit_data.json \
{resultdir}/limit_data_nomsignal.json
publisher:
publisher_type: interpolated-pub
publish:
pre: '{resultdir}/pre.png'
post: '{resultdir}/post.png'
limit: '{resultdir}/limit_data.json'
nomsig: '{resultdir}/limit_data_nomsignal.json'
environment:
environment_type: 'docker-encapsulated'
image: docker.io/reanahub/reana-demo-atlas-recast-statanalysis
imagetag: '1.0'
resources:
- kubernetes_memory_limit: '256Mi'
- kubernetes_uid: 500