Skip to content
Snippets Groups Projects
Commit fb707a57 authored by myliu@ihep.ac.cn's avatar myliu@ihep.ac.cn
Browse files

Change the booleanshape of the drift chamber

parent 1d9a2f17
No related branches found
No related tags found
No related merge requests found
......@@ -38,6 +38,9 @@
<constant name="DC_safe_distance" value="0.2*mm"/>
<constant name="SDT_inner_wall_thickness" value="0.2*mm"/>
<constant name="SDT_outer_wall_thickness" value="2.8*mm"/>
<constant name="DC_inner_chamber_layer_rbegin" value="235*mm"/>
<constant name="DC_inner_chamber_layer_rend" value="905*mm"/>
......@@ -51,7 +54,7 @@
<constant name="DC_outer_chamber_radius_max" value="1716*mm"/>
<constant name="SDT_inner_chamber_radius_min" value="DC_inner_chamber_layer_rbegin-DC_safe_distance"/>
<constant name="SDT_inner_chamber_radius_max" value="DC_inner_chamber_radius_max"/>
<constant name="SDT_inner_chamber_radius_max" value="DC_inner_chamber_radius_max-SDT_outer_wall_thickness"/>
<constant name="SDT_inner_chamber_half_length" value="DC_half_length"/>
<constant name="SDT_outer_chamber_radius_min" value="DC_outer_chamber_layer_rbegin-DC_safe_distance"/>
......@@ -63,9 +66,6 @@
<constant name="SDT_chamber_layer_width" value="10*mm"/>
<constant name="Epsilon" value="0*deg"/>
<constant name="SDT_inner_wall_thickness" value="0.2*mm"/>
<constant name="SDT_outer_wall_thickness" value="2.8*mm"/>
<constant name="SDT_inner_chamber_inner_wall_radius_min" value="SDT_inner_chamber_radius_min-SDT_inner_wall_thickness"/>
<constant name="SDT_inner_chamber_inner_wall_radius_max" value="SDT_inner_chamber_radius_min"/>
<constant name="SDT_inner_chamber_outer_wall_radius_min" value="SDT_inner_chamber_radius_max"/>
......@@ -106,9 +106,13 @@
<detectors>
<detector id="7" name="DriftChamber" type="DriftChamber" readout="DriftChamberHitsCollection" vis="VisibleBlue" sensitive="true" region="DriftChamberRegion" limits="DC_limits">
<envelope vis="SeeThrough">
<shape type="BooleanShape" operation="Union" material="Air">
<!-- <shape type="BooleanShape" operation="Union" material="Air">
<shape type="Tube" rmin="SDT_radius_min" rmax="SDT_inner_chamber_outer_wall_radius_max" dz="SDT_half_length" />
<shape type="Tube" rmin="SDT_outer_chamber_inner_wall_radius_min" rmax="SDT_radius_max" dz="SDT_half_length" />
</shape> -->
<shape type="BooleanShape" operation="Subtraction" material="Air">
<shape type="Tube" rmin="SDT_radius_min" rmax="SDT_radius_max" dz="SDT_half_length" />
<shape type="Tube" rmin="DC_inner_chamber_radius_max" rmax="SDT_outer_chamber_inner_wall_radius_min" dz="DC_half_length"/>
</shape>
</envelope>
......
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