Skip to content

Commit

Permalink
Fixed issue with G4BoundingEnvelope::CheckBoundingBox() on Rails Trap…
Browse files Browse the repository at this point in the history
…ezoid. There is no support for prism in CMSSW, so I just consider a prism as a degenerate trapezoid. Upper width needs to be non null in a trapezoid to be supported by G4, so set it to 1 um (which also corresponds better to mechanical reality anyway!).
  • Loading branch information
ghugo83 committed Apr 9, 2020
1 parent 6d12f3a commit 887da09
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions Geometry/TrackerCommonData/data/PhaseI/pixbar.xml
Expand Up @@ -35,6 +35,7 @@
<Constant name="RailX" value="3.3*cm"/>
<Constant name="RailY" value="[SupportY_base]+[SupportT]+[RailT]/2"/>
<Constant name="RailAirW" value="0.8*cm"/>
<Constant name="RailAirSpikeW" value="1E-4*cm"/>
<Constant name="RailAir1T" value="0.5*cm"/>
<Constant name="RailAir1Y" value="-[RailT]/2+[RailAir1T]/2"/>
<Constant name="RailAir2T" value="0.4*cm"/>
Expand Down Expand Up @@ -257,8 +258,8 @@
<Box name="PixelBarrelRail_Air1" dx="[RailAirW]/2" dy="[RailAir1T]/2"
dz="[SupportL]/2"/>
<Trapezoid name="PixelBarrelRail_Air2" dz="[SupportL]/2"
alp1="0*deg" bl1="[RailAirW]/2" tl1="[zero]" h1="[RailAir2T]/2"
alp2="0*deg" bl2="[RailAirW]/2" tl2="[zero]" h2="[RailAir2T]/2"
alp1="0*deg" bl1="[RailAirW]/2" tl1="[RailAirSpikeW]/2" h1="[RailAir2T]/2"
alp2="0*deg" bl2="[RailAirW]/2" tl2="[RailAirSpikeW]/2" h2="[RailAir2T]/2"
phi="0*deg" theta="0*deg"/>

<!-- SHIELDS -->
Expand Down

0 comments on commit 887da09

Please sign in to comment.