Back to home page

EIC code displayed by LXR

 
 

    


Warning, /panda-server/pandaserver/workflow/examples/scatter_sig_bg_comb_wfd.yaml is written in an unsupported language. File is not indexed.

0001 # scatter_sig_bg_comb_wfd.yaml
0002 # Scatter sub-workflow example (shape A): the referenced signal_background_combine_wfd.yaml
0003 # is instantiated once per scattered item. scatter_inputs maps the parent's signals/backgrounds
0004 # lists onto the sub-workflow's signal/background inputs, and scatter_mode: zip pairs them
0005 # element-wise (signals[i] with backgrounds[i]) -- so here two sub-workflow instances run.
0006 # Unlike an ordinary sub-workflow, the parent's scatter inputs replace the corresponding child
0007 # inputs per iteration. The merge step then combines all per-iteration outputs.
0008 name: scatter_sig_bg_comb
0009 
0010 inputs:
0011   signals:
0012     - mc16_valid:mc16_valid.900248.PG_singlepion_flatPt2to50.simul.HITS.e8312_s3238_tid26378578_00
0013       #- valid1.427080.Pythia8EvtGen_A14NNPDF23LO_flatpT_Zprime.simul.HITS.e5362_s3718_tid26356243_00
0014     - valid1.110910.Pythia8_AU2MSTW2008LO_zprime3000_tt.simul.HITS.e3365_s2112_tid04708744_00
0015   backgrounds:
0016     - mc16_5TeV.361238.Pythia8EvtGen_A3NNPDF23LO_minbias_inelastic_low.merge.HITS.e6446_s3238_s3250/
0017     - mc16_5TeV:mc16_5TeV.361239.Pythia8EvtGen_A3NNPDF23LO_minbias_inelastic_high.merge.HITS.e6446_s3238_s3250/
0018 
0019 outputs:
0020   final_result:
0021     from: merge/outDS
0022 
0023 steps:
0024   many_sig_bg_comb:
0025     type: workflow
0026     workflow_ref: signal_background_combine_wfd.yaml   # <-- path relative to sandbox root
0027     scatter_inputs:
0028       signal: signals
0029       background: backgrounds
0030     scatter_mode: zip
0031 
0032   merge:
0033     type: prun
0034     inDS: many_sig_bg_comb/outDS
0035       #args: --outputs merged.root
0036       #exec: "python merge.py --type aaa --level 3 %IN"
0037     args: --outputs merged.root
0038     exec: "merge.sh merged.root %IN"