Skip to content
Snippets Groups Projects
Commit d27f7830 authored by Wouter Deconinck's avatar Wouter Deconinck
Browse files

feat: ci single matrix job for e/pi, endcapN/barrel/endcapP

parent 3cb54e9d
No related branches found
No related tags found
1 merge request!187feat: ci single matrix job for e/pi, endcapN/barrel/endcapP
...@@ -9,24 +9,39 @@ single:simulate: ...@@ -9,24 +9,39 @@ single:simulate:
timeout: 2 hours timeout: 2 hours
stage: simulate stage: simulate
needs: ["common:detector"] needs: ["common:detector"]
parallel:
matrix:
- particle: ['e-', 'pi-']
energy: ['1GeV']
angle: ['3to45deg', '45to135deg', '135to177deg']
script: script:
- bash benchmarks/single/simulate.sh e-_1GeV_45to135deg - bash benchmarks/single/simulate.sh ${particle}_${energy}_${angle}
single:reconstruct: single:reconstruct:
extends: .phy_benchmark extends: .phy_benchmark
timeout: 2 hours timeout: 2 hours
stage: reconstruct stage: reconstruct
needs: ["single:simulate"] needs: ["single:simulate"]
parallel:
matrix:
- particle: ['e-', 'pi-']
energy: ['1GeV']
angle: ['3to45deg', '45to135deg', '135to177deg']
script: script:
- bash benchmarks/single/reconstruct.sh e-_1GeV_45to135deg - bash benchmarks/single/reconstruct.sh ${particle}_${energy}_${angle}
single:analyze: single:analyze:
extends: .phy_benchmark extends: .phy_benchmark
timeout: 2 hours timeout: 2 hours
stage: analyze stage: analyze
needs: ["single:reconstruct", "single:compile"] needs: ["single:reconstruct", "single:compile"]
parallel:
matrix:
- particle: ['e-', 'pi-']
energy: ['1GeV']
angle: ['3to45deg', '45to135deg', '135to177deg']
script: script:
- bash benchmarks/single/analyze.sh e-_1GeV_45to135deg - bash benchmarks/single/analyze.sh ${particle}_${energy}_${angle}
single:results: single:results:
stage: collect stage: collect
......
from DDSim.DD4hepSimulation import DD4hepSimulation
from g4units import mm, GeV, MeV, degree
SIM = DD4hepSimulation()
SIM.gun.energy = 1*GeV
SIM.gun.particle = "e-"
SIM.gun.position = (0.0, 0.0, 0.0)
SIM.gun.direction = (0.0, 0.0, 1.0)
SIM.gun.distribution = "cos(theta)"
SIM.gun.thetaMin = 135*degree
SIM.gun.thetaMax = 177*degree
from DDSim.DD4hepSimulation import DD4hepSimulation
from g4units import mm, GeV, MeV, degree
SIM = DD4hepSimulation()
SIM.gun.energy = 1*GeV
SIM.gun.particle = "e-"
SIM.gun.position = (0.0, 0.0, 0.0)
SIM.gun.direction = (0.0, 0.0, 1.0)
SIM.gun.distribution = "cos(theta)"
SIM.gun.thetaMin = 3*degree
SIM.gun.thetaMax = 45*degree
from DDSim.DD4hepSimulation import DD4hepSimulation
from g4units import mm, GeV, MeV, degree
SIM = DD4hepSimulation()
SIM.gun.energy = 1*GeV
SIM.gun.particle = "pi-"
SIM.gun.position = (0.0, 0.0, 0.0)
SIM.gun.direction = (0.0, 0.0, 1.0)
SIM.gun.distribution = "cos(theta)"
SIM.gun.thetaMin = 135*degree
SIM.gun.thetaMax = 177*degree
from DDSim.DD4hepSimulation import DD4hepSimulation
from g4units import mm, GeV, MeV, degree
SIM = DD4hepSimulation()
SIM.gun.energy = 1*GeV
SIM.gun.particle = "e-"
SIM.gun.position = (0.0, 0.0, 0.0)
SIM.gun.direction = (0.0, 0.0, 1.0)
SIM.gun.distribution = "cos(theta)"
SIM.gun.thetaMin = 3*degree
SIM.gun.thetaMax = 45*degree
from DDSim.DD4hepSimulation import DD4hepSimulation
from g4units import mm, GeV, MeV, degree
SIM = DD4hepSimulation()
SIM.gun.energy = 1*GeV
SIM.gun.particle = "pi-"
SIM.gun.position = (0.0, 0.0, 0.0)
SIM.gun.direction = (0.0, 0.0, 1.0)
SIM.gun.distribution = "cos(theta)"
SIM.gun.thetaMin = 45*degree
SIM.gun.thetaMax = 135*degree
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment