forked from reanahub/reana-demo-cms-h4l
-
Notifications
You must be signed in to change notification settings - Fork 0
/
step2.cwl
43 lines (37 loc) · 907 Bytes
/
step2.cwl
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
cwlVersion: v1.0
class: CommandLineTool
baseCommand: /bin/zsh
requirements:
DockerRequirement:
dockerPull:
clelange/cmssw:5_3_32
InitialWorkDirRequirement:
listing:
- $(inputs.code)
- $(inputs.data)
inputs:
data:
type: Directory
code:
type: Directory
DoubleMuParked2012C_10000_Higgs:
type: File
Higgs4L1file:
type: File
stdout: step2.log
outputs:
step2.log:
type: stdout
mass4l_combine_userlvl3.pdf:
type: File
outputBinding:
glob: "outputs/mass4l_combine_userlvl3.pdf"
arguments:
- prefix: -c
valueFrom: |
cp -r ../../code/HiggsExample20112012 .; \
cd ../../code/HiggsExample20112012/Level3; \
mkdir -p ../../../outputs; \
cp $(inputs.DoubleMuParked2012C_10000_Higgs.path) ../../../outputs; \
cp $(inputs.Higgs4L1file.path) ../../../outputs; \
root -b -l -q ./M4Lnormdatall_lvl3.cc