Skip to content

Commit

Permalink
fixup! SST boxes medium will now follow DecayVolumeMedium
Browse files Browse the repository at this point in the history
  • Loading branch information
olantwin committed Dec 5, 2024
1 parent e0f4fd4 commit 2fb1542
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion python/shipDet_conf.py
Original file line number Diff line number Diff line change
Expand Up @@ -701,8 +701,9 @@ def configure(run, ship_geo):
ship_geo.strawtubes.DeltazFrame = 10.0 * u.cm
ship_geo.strawtubes.FrameLateralWidth = 1.0 * u.cm
ship_geo.strawtubes.FrameMaterial = "aluminium"
ship_geo.strawtubes.medium = "vacuums" if ship_geo.DecayVolumeMedium == "vaccums" else "air"

Strawtubes = ROOT.strawtubes(ship_geo.DecayVolumeMedium)
Strawtubes = ROOT.strawtubes(ship_geo.strawtubes.medium)
Strawtubes.SetZpositions(
ship_geo.vetoStation.z,
ship_geo.TrackStation1.z,
Expand Down

0 comments on commit 2fb1542

Please sign in to comment.