Back to home page

EIC code displayed by LXR

 
 

    


Warning, /detector_benchmarks/benchmarks/zdc_neutron/config.yml is written in an unsupported language. File is not indexed.

0001 sim:zdc_neutron:
0002   extends: .det_benchmark
0003   stage: simulate
0004   script:
0005     - snakemake $SNAKEMAKE_FLAGS --cores 5 sim_output/zdc_neutron/epic_craterlake/fwd_neutrons.edm4eic.root
0006   retry:
0007     max: 2
0008     when:
0009       - runner_system_failure
0010 
0011 bench:zdc_neutron:
0012   extends: .det_benchmark
0013   stage: benchmarks
0014   needs:
0015     - ["sim:zdc_neutron"]
0016   script:
0017     - snakemake $SNAKEMAKE_FLAGS --cores 1 results/zdc_neutron/epic_craterlake/fwd_neutrons_geant.pdf
0018 
0019 collect_results:zdc_neutron:
0020   extends: .det_benchmark
0021   stage: collect
0022   needs:
0023     - "bench:zdc_neutron"
0024   script:
0025     - ls -lrht
0026     - mv results{,_save}/ # move results directory out of the way to preserve it
0027     - snakemake $SNAKEMAKE_FLAGS --cores 1 --delete-all-output results/zdc_neutron/epic_craterlake/fwd_neutrons_geant.pdf
0028     - mv results{_save,}/
0029     # convert to png
0030     - |
0031       gs -sDEVICE=pngalpha -dUseCropBox -r144 \
0032         -o 'results/zdc_neutron/epic_craterlake/geant_plots_%03d.png' \
0033         results/zdc_neutron/epic_craterlake/fwd_neutrons_geant.pdf
0034     - |
0035       gs -sDEVICE=pngalpha -dUseCropBox -r144 \
0036         -o 'results/zdc_neutron/epic_craterlake/recon_plots_%03d.png' \
0037         results/zdc_neutron/epic_craterlake/fwd_neutrons_recon.pdf
0038