Warning, /panda-server/pandaserver/workflow/examples/signal_background_combine_wfd.yaml is written in an unsupported language. File is not indexed.
0001 # Signal and background processing workflow translated from CWL.
0002 # Two independent branches (make_signal, make_background_1) feed into premix,
0003 # while a separate generate_some branch feeds make_background_2; all streams
0004 # are combined in the final combine step.
0005 #
0006 # Fill in the input dataset names before submitting.
0007
0008 name: signal_background_combine
0009
0010 inputs:
0011 signal: "mc16_valid:mc16_valid.900248.PG_singlepion_flatPt2to50.simul.HITS.e8312_s3238_tid26378578_00"
0012 background: "mc16_5TeV.361238.Pythia8EvtGen_A3NNPDF23LO_minbias_inelastic_low.merge.HITS.e6446_s3238_s3250/"
0013
0014 outputs:
0015 outDS:
0016 from: combine/outDS
0017 output_types:
0018 - aaa.root
0019
0020 steps:
0021 make_signal:
0022 type: prun
0023 inDS: "{signal}"
0024 containerImage: docker://busybox
0025 exec: "echo %IN > abc.dat; echo 123 > def.zip"
0026 args: "--outputs abc.dat,def.zip --nFilesPerJob 5"
0027
0028 make_background_1:
0029 type: prun
0030 inDS: "{background}"
0031 exec: "echo %IN > opq.root; echo %IN > xyz.pool"
0032 args: "--outputs opq.root,xyz.pool --nGBPerJob 10"
0033
0034 generate_some:
0035 type: prun
0036 exec: "echo %RNDM:10 > gen.root"
0037 args: "--outputs gen.root --nJobs 10"
0038
0039 premix:
0040 type: prun
0041 inDS: make_signal/outDS
0042 inDsType: def.zip
0043 secondaryDSs:
0044 - make_background_1/outDS
0045 secondaryDsTypes:
0046 - xyz.pool
0047 exec: "echo %IN %IN2 > klm.root"
0048 args: "--outputs klm.root --secondaryDSs IN2:13:%{SECDS1}"
0049
0050 make_background_2:
0051 type: prun
0052 inDS: "{background}"
0053 containerImage: docker://alpine
0054 secondaryDSs:
0055 - generate_some/outDS
0056 secondaryDsTypes:
0057 - gen.root
0058 exec: "echo %IN > ooo.root; echo %IN2 > jjj.txt"
0059 args: "--outputs ooo.root,jjj.txt --secondaryDSs IN2:10:%{SECDS1}"
0060
0061 combine:
0062 type: prun
0063 inDS: make_signal/outDS
0064 inDsType: abc.dat
0065 secondaryDSs:
0066 - premix/outDS
0067 - make_background_2/outDS
0068 secondaryDsTypes:
0069 - klm.root
0070 - ooo.root
0071 exec: "echo %IN %IN2 %IN3 > aaa.root"
0072 args: "--outputs aaa.root --secondaryDSs IN2:2:%{SECDS1},IN3:5:%{SECDS2}"