Skip to content
Snippets Groups Projects
Commit 23917487 authored by Sylvester Joosten's avatar Sylvester Joosten
Browse files

Fix vertex tracker tracking geometry

parent 91edc736
No related branches found
No related tags found
1 merge request!155Resolve "Fix vertex tracker geo"
...@@ -57,6 +57,15 @@ Simple carbon fiber support shell. ...@@ -57,6 +57,15 @@ Simple carbon fiber support shell.
<constant name="VertexEndcapMod1_x1" value="2.0*VertexTrackerEndcapP_rmin*sin(VertexEndcapModOpeningAngle/2.0)"/> <constant name="VertexEndcapMod1_x1" value="2.0*VertexTrackerEndcapP_rmin*sin(VertexEndcapModOpeningAngle/2.0)"/>
<constant name="VertexEndcapMod1_x2" value="2.0*VertexTrackerEndcapP_rmax*sin(VertexEndcapModOpeningAngle/2.0)"/> <constant name="VertexEndcapMod1_x2" value="2.0*VertexTrackerEndcapP_rmax*sin(VertexEndcapModOpeningAngle/2.0)"/>
<constant name="VertexEndcapMod1_y" value="VertexTrackerEndcapP_rmax*cos(VertexEndcapModOpeningAngle/2.0) - VertexTrackerEndcapP_rmin"/> <constant name="VertexEndcapMod1_y" value="VertexTrackerEndcapP_rmax*cos(VertexEndcapModOpeningAngle/2.0) - VertexTrackerEndcapP_rmin"/>
<comment>
Extra parameters to approximate a cylinder as a set of skinny staves
due to ACTS limitations.
</comment>
<constant name="VertexBarrelStave_count" value="128"/>
<constant name="VertexBarrelStave1_width" value="2*VertexBarrelMod1_rmin * tan(180*degree/VertexBarrelStave_count)"/>
<constant name="VertexBarrelStave2_width" value="2*VertexBarrelMod2_rmin * tan(180*degree/VertexBarrelStave_count)"/>
<constant name="VertexBarrelShellStave_width" value="2*VertexBarrelShell_rmin * tan(180*degree/VertexBarrelStave_count)"/>
</define> </define>
<display> <display>
...@@ -66,27 +75,55 @@ Simple carbon fiber support shell. ...@@ -66,27 +75,55 @@ Simple carbon fiber support shell.
<detector <detector
id="VertexBarrel_ID" id="VertexBarrel_ID"
name="VertexBarrel" name="VertexBarrel"
type="athena_CylinderVertexBarrel" type="athena_VertexBarrel"
readout="VertexBarrelHits" readout="VertexBarrelHits"
insideTrackingVolume="true"> insideTrackingVolume="true">
<dimensions
rmin="VertexBarrelLayer_rmin1"
rmax="VertexBarrelShell_rmax+0.2*cm"
length="VertexBarrelLayer_length" />
<comment>Vertex Barrel Modules</comment> <comment>Vertex Barrel Modules</comment>
<module name="Module1" vis="VertexLayerVis"> <module name="Module1" vis="VertexLayerVis">
<module_envelope rmin="VertexBarrelMod1_rmin" length="VertexBarrelMod_length" thickness="VertexBarrelMod_thickness" phi="180*degree" /> <frame material="Air" vis="InvisibleNoDaughters"
<module_component thickness="VertexBarrelSensor_thickness" material="Silicon" sensitive="true"> width="VertexBarrelStave1_width"
<position x="0" /> length="VertexBarrelMod_length"
</module_component> height="1*mm"
thickness="0.1*um" />
<module_component name="ITS3"
material="Silicon"
sensitive="true"
width="VertexBarrelStave1_width"
length="VertexBarrelMod_length"
thickness="VertexBarrelSensor_thickness"
vis="VertexLayerVis" />
</module> </module>
<module name="Module2" vis="VertexLayerVis"> <module name="Module2" vis="VertexLayerVis">
<module_envelope rmin="VertexBarrelMod2_rmin" length="VertexBarrelMod_length" thickness="VertexBarrelMod_thickness" phi="180*degree" /> <frame material="Air" vis="InvisibleNoDaughters"
<module_component thickness="VertexBarrelSensor_thickness" material="Silicon" sensitive="true"> width="VertexBarrelStave2_width"
<position x="0" /> length="VertexBarrelMod_length"
</module_component> height="1*mm"
thickness="0.1*um" />
<module_component name="ITS3"
material="Silicon"
sensitive="true"
width="VertexBarrelStave2_width"
length="VertexBarrelMod_length"
thickness="VertexBarrelSensor_thickness"
vis="VertexLayerVis" />
</module> </module>
<module name="SupportShell" vis="VertexSupportVis"> <module name="SupportShell" vis="VertexSupportVis">
<module_envelope rmin="VertexBarrelShell_rmin" length="VertexBarrelShell_length" thickness="VertexBarrelShell_thickness" phi="180*degree" /> <frame material="Air" vis="InvisibleNoDaughters"
<module_component thickness="VertexBarrelShell_thickness" material="CarbonFiber"> width="VertexBarrelShellStave_width"
<position x="0" /> length="VertexBarrelMod_length"
</module_component> height="1*mm"
thickness="0.1*um" />
<module_component name="CF Shell"
material="CarbonFiber"
sensitive="true"
width="VertexBarrelShellStave_width"
length="VertexBarrelMod_length"
thickness="VertexBarrelSensor_thickness"
vis="VertexLayerVis" />
</module> </module>
<comment> Layers composed of many arrayed modules </comment> <comment> Layers composed of many arrayed modules </comment>
<layer module="Module1" id="1" vis="VertexLayerVis"> <layer module="Module1" id="1" vis="VertexLayerVis">
...@@ -104,7 +141,7 @@ Simple carbon fiber support shell. ...@@ -104,7 +141,7 @@ Simple carbon fiber support shell.
nz : Number of modules to place in z. nz : Number of modules to place in z.
dr : Radial displacement parameter, of every other module. dr : Radial displacement parameter, of every other module.
</comment> </comment>
<rphi_layout phi_tilt="0.0*degree" nphi="2" phi0="0.0" rc="VertexBarrelMod1_rmin" dr="0.0 * mm"/> <rphi_layout phi_tilt="0.0*degree" nphi="VertexBarrelStave_count" phi0="0.0" rc="VertexBarrelMod1_rmin" dr="0.0 * mm"/>
<z_layout dr="0.0 * mm" z0="0.0 * mm" nz="1"/> <z_layout dr="0.0 * mm" z0="0.0 * mm" nz="1"/>
</layer> </layer>
<layer module="Module2" id="2" vis="VertexLayerVis"> <layer module="Module2" id="2" vis="VertexLayerVis">
...@@ -112,7 +149,7 @@ Simple carbon fiber support shell. ...@@ -112,7 +149,7 @@ Simple carbon fiber support shell.
inner_r="VertexBarrelLayer_rmin2" inner_r="VertexBarrelLayer_rmin2"
outer_r="VertexBarrelLayer_rmax2" outer_r="VertexBarrelLayer_rmax2"
z_length="VertexBarrelLayer_length" /> z_length="VertexBarrelLayer_length" />
<rphi_layout phi_tilt="0.0*degree" nphi="2" phi0="0.0" rc="VertexBarrelMod2_rmin" dr="0.0 * mm"/> <rphi_layout phi_tilt="0.0*degree" nphi="VertexBarrelStave_count" phi0="0.0" rc="VertexBarrelMod2_rmin" dr="0.0 * mm"/>
<z_layout dr="0.0 * mm" z0="0.0 * mm" nz="1"/> <z_layout dr="0.0 * mm" z0="0.0 * mm" nz="1"/>
</layer> </layer>
<layer module="SupportShell" id="3" vis="VertexSupportVis"> <layer module="SupportShell" id="3" vis="VertexSupportVis">
...@@ -120,7 +157,7 @@ Simple carbon fiber support shell. ...@@ -120,7 +157,7 @@ Simple carbon fiber support shell.
inner_r="VertexBarrelShell_rmin" inner_r="VertexBarrelShell_rmin"
outer_r="VertexBarrelShell_rmax" outer_r="VertexBarrelShell_rmax"
z_length="VertexBarrelShell_length" /> z_length="VertexBarrelShell_length" />
<rphi_layout phi_tilt="0.0*degree" nphi="2" phi0="0.0" rc="VertexBarrelShell_rmin" dr="0.0 * mm"/> <rphi_layout phi_tilt="0.0*degree" nphi="VertexBarrelStave_count" phi0="0.0" rc="VertexBarrelShell_rmin" dr="0.0 * mm"/>
<z_layout dr="0.0 * mm" z0="0.0 * mm" nz="1"/> <z_layout dr="0.0 * mm" z0="0.0 * mm" nz="1"/>
</layer> </layer>
</detector> </detector>
......
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