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

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

parent 5f34a98e
No related branches found
No related tags found
No related merge requests found
This commit is part of merge request !187. Comments created here will be created in the context of that merge request.
......@@ -9,24 +9,15 @@ single:simulate:
timeout: 2 hours
stage: simulate
needs: ["common:detector"]
parallel:
matrix:
- particle: ['e-', 'pi-']
- energy: ['1GeV']
- angle: ['3to45deg', '45to135deg', '135to177deg']
script:
- bash benchmarks/single/simulate.sh e-_1GeV_45to135deg
single:reconstruct:
extends: .phy_benchmark
timeout: 2 hours
stage: reconstruct
needs: ["single:simulate"]
script:
- bash benchmarks/single/reconstruct.sh e-_1GeV_45to135deg
single:analyze:
extends: .phy_benchmark
timeout: 2 hours
stage: analyze
needs: ["single:reconstruct", "single:compile"]
script:
- bash benchmarks/single/analyze.sh e-_1GeV_45to135deg
- bash benchmarks/single/simulate.sh ${particle}_${energy}_${angle}
- bash benchmarks/single/reconstruct.sh ${particle}_${energy}_${angle}
- bash benchmarks/single/analyze.sh ${particle}_${energy}_${angle}
single:results:
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.
Please register or to comment