Skip to content
Snippets Groups Projects

Resolve "Pion CI Workflow for EM Barrel"

Merged Jihee Kim requested to merge 8-pion-ci-workflow-for-em-barrel into master
2 files
+ 86
93
Compare changes
  • Side-by-side
  • Inline
Files
2
 
#####################
 
# Simulations
 
# - Generate datasets
 
# - Run Geant4
 
# - Run Juggler
 
#####################
 
sim_emcal_barrel_electrons:
sim_emcal_barrel_electrons:
image: eicweb.phy.anl.gov:4567/eic/juggler/juggler:$JUGGLER_TAG
image: eicweb.phy.anl.gov:4567/eic/juggler/juggler:$JUGGLER_TAG
stage: simulate
stage: simulate
tags:
tags:
- sodium
- silicon
artifacts:
artifacts:
expire_in: 20 weeks
expire_in: 20 weeks
paths:
paths:
@@ -12,8 +19,46 @@ sim_emcal_barrel_electrons:
@@ -12,8 +19,46 @@ sim_emcal_barrel_electrons:
- bash calorimeters/run_emcal_barrel_electrons.sh
- bash calorimeters/run_emcal_barrel_electrons.sh
allow_failure: true
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_electrons:
ben_emcal_barrel_electrons:
stage: benchmarks
stage: benchmarks
 
tags:
 
- silicon
needs:
needs:
- ["sim_emcal_barrel_electrons"]
- ["sim_emcal_barrel_electrons"]
script:
script:
@@ -21,6 +66,17 @@ ben_emcal_barrel_electrons:
@@ -21,6 +66,17 @@ ben_emcal_barrel_electrons:
- root -b -q calorimeters/scripts/emcal_barrel_electrons_analysis.cxx+
- root -b -q calorimeters/scripts/emcal_barrel_electrons_analysis.cxx+
allow_failure: true
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:
#cal_test_3_zdc_neutrons_reader:
#stage: benchmarks
#stage: benchmarks
#tags:
#tags:
@@ -32,3 +88,30 @@ ben_emcal_barrel_electrons:
@@ -32,3 +88,30 @@ ben_emcal_barrel_electrons:
# - results/
# - results/
#allow_failure: true
#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
 
Loading