Skip to content

Commit

Permalink
Fix PixBar Support Box
Browse files Browse the repository at this point in the history
Subtraction is not needed, width reduced to not conflct with tube
  • Loading branch information
schneiml committed Nov 8, 2016
1 parent 69a9ed5 commit 0cf5638
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 17 deletions.
20 changes: 3 additions & 17 deletions Geometry/TrackerCommonData/data/PhaseI/pixbar.xml
Original file line number Diff line number Diff line change
Expand Up @@ -21,10 +21,8 @@
<Constant name="ZvSupTubCab" value="248.0*cm"/>
<Constant name="SupportL" value="221.0*cm"/>
<Constant name="SupportRin" value="21.65*cm"/>
<Constant name="SupportW" value="20.00*cm"/>
<Constant name="SupportW" value="19.30*cm"/>
<Constant name="SupportT" value="0.350*cm"/>
<Constant name="SupportL_cut" value="[FlangeT]"/>
<Constant name="SupportW_cut" value="7.00*cm"/>
<Constant name="SupportY_base" value="19.00*cm"/>
<Constant name="SupportY" value="[SupportY_base]+[SupportT]/2"/>
<Constant name="ShieldL" value="54.0*cm"/> <!-- both shields end at the beginning of the flange (for simplicity is not glued on top of it)-->
Expand Down Expand Up @@ -226,20 +224,8 @@
</Polycone>
<Tubs name="PixelBarrelSuppTub" rMin="[SupportRin]" rMax="[Rout1]"
dz="[SupportL]/2" startPhi="0*deg" deltaPhi="360*deg"/>
<Box name="PixelBarrelSuppBox_full" dx="[SupportW]/2" dy="[SupportT]/2"
<Box name="PixelBarrelSuppBox" dx="[SupportW]/2" dy="[SupportT]/2"
dz="[SupportL]/2"/>
<Box name="PixelBarrelSuppBox_cut" dx="[SupportW_cut]/2" dy="[SupportT]/2"
dz="[SupportL_cut]/2"/>
<SubtractionSolid name="PixelBarrelSuppBox_1">
<rSolid name="PixelBarrelSuppBox_full"/>
<rSolid name="PixelBarrelSuppBox_cut"/>
<Translation x="0*cm" y="0*cm" z="[FlangeZ]"/>
</SubtractionSolid>
<SubtractionSolid name="PixelBarrelSuppBox">
<rSolid name="PixelBarrelSuppBox_1"/>
<rSolid name="PixelBarrelSuppBox_cut"/>
<Translation x="0*cm" y="0*cm" z="-[FlangeZ]"/>
</SubtractionSolid>
<Tubs name="PixelBarrelShield1" rMin="[Shield1Rin]" rMax="[Shield1Rout]"
dz="[ShieldL]/2" startPhi="0*deg" deltaPhi="360*deg"/>
<Tubs name="PixelBarrelShield2" rMin="[Shield1Rout]" rMax="[Shield2Rout]"
Expand Down Expand Up @@ -375,7 +361,7 @@
</LogicalPart>
<LogicalPart name="PixelBarrelSuppBox" category="unspecified">
<rSolid name="PixelBarrelSuppBox"/>
<rMaterial name="trackermaterial:T_CarbonFibreStr"/>
<rMaterial name="pixbarmaterial:T_CarbonFibreStrBox"/>
</LogicalPart>
<LogicalPart name="PixelBarrelShield1" category="unspecified">
<rSolid name="PixelBarrelShield1"/>
Expand Down
6 changes: 6 additions & 0 deletions Geometry/TrackerCommonData/data/PhaseI/pixbarmaterial.xml
Original file line number Diff line number Diff line change
Expand Up @@ -485,6 +485,12 @@
</MaterialFraction>
</CompositeMaterial>

<CompositeMaterial name="T_CarbonFibreStrBox" density="1.76355*g/cm3" symbol=" " method="mixture by weight">
<MaterialFraction fraction="1.0">
<rMaterial name="trackermaterial:T_CarbonFibreStr"/>
</MaterialFraction>
</CompositeMaterial>

<CompositeMaterial name="FlangeOuter_Layer3_Upgrade" density="0.14381*g/cm3" symbol=" " method="mixture by weight">
<MaterialFraction fraction="1.00000000">
<rMaterial name="FlangeOuter_Layer3"/>
Expand Down

0 comments on commit 0cf5638

Please sign in to comment.