diff --git a/benchmarks/calorimeters/calorimeters_config.yml b/benchmarks/calorimeters/calorimeters_config.yml deleted file mode 100644 index 124d8c5b0d3f6d410155290c777a8cb7744152bd..0000000000000000000000000000000000000000 --- a/benchmarks/calorimeters/calorimeters_config.yml +++ /dev/null @@ -1,150 +0,0 @@ -##################### -# Simulations -# - Generate datasets -# - Run Geant4 -# - Run Juggler -##################### - -sim_emcal_barrel_pions: - image: eicweb.phy.anl.gov:4567/eic/juggler/juggler:$JUGGLER_TAG - stage: simulate - tags: - - silicon - artifacts: - expire_in: 20 weeks - paths: - - results/ - - sim_output/ - script: - - bash calorimeters/run_emcal_barrel_pions.sh - allow_failure: true - -sim_emcal_barrel_electrons: - image: eicweb.phy.anl.gov:4567/eic/juggler/juggler:$JUGGLER_TAG - stage: simulate - tags: - - silicon - artifacts: - expire_in: 20 weeks - paths: - - results/ - - sim_output/ - script: - - bash calorimeters/run_emcal_barrel_electrons.sh - allow_failure: true - -crystal_emcal_simulation: - stage: simulate - needs: - - ["get_data"] - tags: - - silicon - script: - - cp NPDet/src/detectors/calorimeters/compact/elements.xml ./. - - cp NPDet/src/detectors/calorimeters/compact/materials.xml ./. - - bash calorimeters/run_simulation_crystal.sh - -crystal_pion_simulation: - stage: simulate - needs: - - ["get_data"] - tags: - - silicon - script: - - cd topside && ls -l - - npsim --runType batch --numberOfEvents 100 --compactFile topside.xml --inputFiles ../data/emcal_electrons.hepmc --outputFile ../sim_output/output_emcal_electrons.root - - #zdc_simulation: - #stage: simulate - #needs: - #- ["get_data"] - #tags: - #- silicon - #script: - #- cp NPDet/src/detectors/calorimeters/compact/elements.xml ./. - #- cp NPDet/src/detectors/calorimeters/compact/materials.xml ./. - #- bash calorimeters/run_simulation_zdc.sh - -################### -# Benchmarks -################### - -ben_emcal_barrel_pions: - stage: benchmarks - tags: - - silicon - artifacts: - expire_in: 20 weeks - paths: - - results/ - needs: - - ["sim_emcal_barrel_pions"] - script: - - ls -lrth sim_output - - root -b -q calorimeters/scripts/emcal_barrel_pions_analysis.cxx+ - allow_failure: true - -ben_emcal_barrel_electrons: - stage: benchmarks - tags: - - silicon - artifacts: - expire_in: 20 weeks - paths: - - results/ - needs: - - ["sim_emcal_barrel_electrons"] - script: - - ls -lrth sim_output - - root -b -q calorimeters/scripts/emcal_barrel_electrons_analysis.cxx+ - allow_failure: true - -crystal_benchmark: - stage: benchmarks - tags: - - silicon - needs: - - ["crystal_emcal_simulation"] - script: - - ls -lrth sim_output - - root -b -q calorimeters/simple_checking_crystal.cxx+ - allow_failure: true - - #cal_test_3_zdc_neutrons_reader: - #stage: benchmarks - #tags: - #- sodium - #script: - #- root -b -q calorimeters/zdc_neutrons_reader.cxx - #artifact: - # paths: - # - results/ - #allow_failure: true - - #zdc_benchmark: - #stage: benchmarks - #tags: - #- silicon - #needs: - #- ["zdc_simulation"] - #dependencies: - #- zdc_simulation - #script: - #- ls -lrth sim_output - #- root -b -q calorimeters/simple_checking.cxx+ - #allow_failure: true - - #zdc_benchmark_info_histogram: - #stage: benchmarks - #needs: - #- ["zdc_simulation"] - #tags: - #- silicon - #dependencies: - #- zdc_simulation - #script: - #- cp NPDet/src/detectors/calorimeters/compact/elements.xml calorimeters/ - #- cp NPDet/src/detectors/calorimeters/compact/materials.xml calorimeters/ - #- root -b -q calorimeters/simple_info_plot_histograms.cxx+ - #allow_failure: true - diff --git a/benchmarks/calorimeters/config.yml b/benchmarks/calorimeters/config.yml index 7ff610bdf9a288715dbceaab35cb1f85df72bd4a..880077406491153e4ba1c408db3d10d7d6aee17d 100644 --- a/benchmarks/calorimeters/config.yml +++ b/benchmarks/calorimeters/config.yml @@ -5,42 +5,36 @@ # - Run Juggler ##################### -sim_emcal_barrel_pions: +sim:emcal_barrel_pions: image: eicweb.phy.anl.gov:4567/eic/juggler/juggler:$JUGGLER_TAG stage: simulate artifacts: expire_in: 20 weeks paths: - results/ - - sim_output/ script: - - bash calorimeters/run_emcal_barrel_pions.sh + - bash benchmarks/calorimeters/run_emcal_barrel_pions.sh allow_failure: true -sim_emcal_barrel_electrons: +sim:emcal_barrel_electrons: image: eicweb.phy.anl.gov:4567/eic/juggler/juggler:$JUGGLER_TAG stage: simulate - tags: - - silicon artifacts: expire_in: 20 weeks paths: - results/ - - sim_output/ script: - - bash calorimeters/run_emcal_barrel_electrons.sh + - bash benchmarks/calorimeters/run_emcal_barrel_electrons.sh allow_failure: true -crystal_emcal_simulation: +sim:crystal_emcal: stage: simulate needs: - ["get_data"] tags: - silicon script: - - cp NPDet/src/detectors/calorimeters/compact/elements.xml ./. - - cp NPDet/src/detectors/calorimeters/compact/materials.xml ./. - - bash calorimeters/run_simulation_crystal.sh + - bash benchmarks/calorimeters/run_simulation_crystal.sh crystal_pion_simulation: stage: simulate @@ -49,8 +43,7 @@ crystal_pion_simulation: tags: - silicon script: - - cd topside && ls -l - - npsim --runType batch --numberOfEvents 100 --compactFile topside.xml --inputFiles ../data/emcal_electrons.hepmc --outputFile ../sim_output/output_emcal_electrons.root + - npsim --runType batch --numberOfEvents 100 --compactFile ${DETECTOR_PATH}/topside.xml --inputFiles data/emcal_electrons.hepmc --outputFile sim_output/output_emcal_electrons.root #zdc_simulation: #stage: simulate