Back to home page

EIC code displayed by LXR

 
 

    


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

0001 sim:backward:
0002   extends: .det_benchmark
0003   stage: simulate
0004   script:
0005     - ddsim --runType batch --numberOfEvents 100 --filter.tracker edep0 --compactFile ${DETECTOR_PATH}/${DETECTOR_CONFIG}.xml --enableGun --gun.energy "5*GeV" --gun.particle "${PARTICLE}" --gun.thetaMin 130*deg --gun.thetaMax 177*deg --gun.distribution "cos(theta)" --outputFile sim_output/sim_pid_backward_${PARTICLE}_5GeV.edm4hep.root
0006     - rootls -t sim_output/sim_pid_backward_${PARTICLE}_5GeV.edm4hep.root
0007   parallel:
0008     matrix:
0009       - PARTICLE: ["e-", "pi+", "proton"]
0010 
0011 sim:forward:
0012   extends: .det_benchmark
0013   stage: simulate
0014   script:
0015     - ddsim --runType batch --numberOfEvents 100 --filter.tracker edep0 --compactFile ${DETECTOR_PATH}/${DETECTOR_CONFIG}.xml --enableGun --gun.energy "5*GeV" --gun.particle "${PARTICLE}" --gun.thetaMin 3*deg --gun.thetaMax 50*deg --gun.distribution "cos(theta)" --outputFile sim_output/sim_pid_forward_${PARTICLE}_5GeV.edm4hep.root
0016     - rootls -t sim_output/sim_pid_forward_${PARTICLE}_5GeV.edm4hep.root
0017   parallel:
0018     matrix:
0019       - PARTICLE: ["e-", "pi+", "proton"]
0020 
0021 bench:mrich:
0022   extends: .det_benchmark
0023   stage: benchmarks
0024   needs: ["sim:backward"]
0025   script:
0026     - |
0027       if [[ ${DETECTOR_VERSION} =~ acadia ]]; then
0028         echo "Performing MRICH benchmarks for acadia"
0029         mkdir -p results/pid/backward/mrich/
0030         root -t -x -q -b "benchmarks/pid/scripts/mrich_analysis.cxx+(\"sim_output/sim_pid_backward_${PARTICLE}_5GeV.edm4hep.root\", \"${PARTICLE}\")"
0031       else
0032         echo "Skipping MRICH Benchmarks for non-acadia detector version ${DETECTOR_VERSION}"
0033       fi
0034   parallel:
0035     matrix:
0036       - PARTICLE: ["e-", "pi+", "proton"]
0037 
0038 bench:drich:
0039   extends: .det_benchmark
0040   stage: benchmarks
0041   needs: ["sim:forward"]
0042   script:
0043     - |
0044       mkdir -p results/pid/forward/drich/
0045       root -t -x -q -b "benchmarks/pid/scripts/drich_analysis.cxx+(\"sim_output/sim_pid_forward_${PARTICLE}_5GeV.edm4hep.root\", \"${PARTICLE}\")"
0046   parallel:
0047     matrix:
0048       - PARTICLE: ["e-", "pi+", "proton"]
0049 
0050 bench:erich:
0051   extends: .det_benchmark
0052   stage: benchmarks
0053   needs: ["sim:backward"]
0054   script:
0055     - |
0056       if [[ ${DETECTOR_VERSION} =~ acadia ]]; then
0057         echo "Skipping ERICH benchmarks for acadia"
0058       else
0059         echo "Doing MRICH Benchmarks for ${DETECTOR_VERSION}"
0060         echo "FIXME: needs implementing"
0061       fi
0062   parallel:
0063     matrix:
0064       - PARTICLE: ["e-", "pi+", "proton"]
0065 
0066 collect_results:pid:
0067   extends: .det_benchmark
0068   stage: collect
0069   #needs: 
0070   script:
0071     - ls -lrht
0072