Warning, /detector_benchmarks/benchmarks/backwards_ecal/config.yml is written in an unsupported language. File is not indexed.
0001 sim:backwards_ecal:
0002 extends: .det_benchmark
0003 stage: simulate
0004 parallel:
0005 matrix:
0006 - PARTICLE: ["e-", "pi-"]
0007 MOMENTUM: [
0008 "100MeV",
0009 "200MeV",
0010 "500MeV",
0011 "1GeV",
0012 "2GeV",
0013 "5GeV",
0014 "10GeV",
0015 "20GeV",
0016 ]
0017 script:
0018 - |
0019 snakemake --cache --cores 5 sim_output/backwards_ecal/${DETECTOR_CONFIG}/${PARTICLE}/${MOMENTUM}/130to177deg/flag
0020
0021 bench:backwards_ecal:
0022 extends: .det_benchmark
0023 stage: benchmarks
0024 needs:
0025 - ["sim:backwards_ecal"]
0026 script:
0027 - export PYTHONUSERBASE=$LOCAL_DATA_PATH/deps
0028 - pip install -r benchmarks/backwards_ecal/requirements.txt
0029 - snakemake --cores 1 backwards_ecal
0030
0031 collect_results:backwards_ecal:
0032 extends: .det_benchmark
0033 stage: collect
0034 needs:
0035 - "bench:backwards_ecal"
0036 script:
0037 - ls -lrht
0038 - mv results{,_save}/ # move results directory out of the way to preserve it
0039 - snakemake --cores 1 --delete-all-output backwards_ecal
0040 - mv results{_save,}/