Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Modified Barrel TOF geometry to add dead spaces between sensors and between support ring structure #787

Merged
merged 10 commits into from
Sep 24, 2024
17 changes: 13 additions & 4 deletions compact/tracking/tof_barrel.xml
Original file line number Diff line number Diff line change
Expand Up @@ -68,6 +68,15 @@
<constant name="BarrelTOF_length2" value="BarrelTOF_length1"/>
<constant name="BarrelTOF_length" value="BarrelTOF_length2"/>

<constant name="BarrelTOF_Sensor_length" value="4*cm"/>
<constant name="BarrelTOF_Sensor_deadspaceY" value="0.1*cm"/>
<constant name="BarrelTOF_Sensor_amount" value="64"/>

<constant name="BarrelTOF_ring_center" value="144*cm"/>
<constant name="BarrelTOF_ring_width" value="0.7*cm"/>
<constant name="BarrelTOF_Sensor_Center_before_ring" value="-0.5*BarrelTOF_length1+BarrelTOF_ring_center-BarrelTOF_ring_width-0.5*BarrelTOF_Sensor_length"/>
<constant name="BarrelTOF_First_Sensor_Center" value="-(0.5*BarrelTOF_Sensor_amount-1)*(BarrelTOF_Sensor_length+BarrelTOF_Sensor_deadspaceY) + BarrelTOF_Sensor_Center_before_ring"/>

</define>

<display>
Expand All @@ -89,8 +98,8 @@
Tracker Barrel Modules
</comment>
<module name="BarrelTOF_Module1" vis="TOFBarrelModuleVis">
<module_component name="sensor" material="Silicon" sensitive="true" width="BarrelTOF_Sensor_width" length="BarrelTOF_length1" thickness="BarrelTOF_Sensor_thickness" vis="TOFSensorVis" >
<position x="BarrelTOF_Sensor_position" y="0" z="0" />
<module_component name="sensor" material="Silicon" sensitive="true" width="BarrelTOF_Sensor_width" length="BarrelTOF_Sensor_length" thickness="BarrelTOF_Sensor_thickness" vis="TOFSensorVis" >
<GridSensors start_x="BarrelTOF_Sensor_position" start_y="BarrelTOF_First_Sensor_Center" start_z="0" xdist="0" ydist="BarrelTOF_Sensor_length+BarrelTOF_Sensor_deadspaceY" nx="1" ny="BarrelTOF_Sensor_amount" ny_before_ring="0.5*BarrelTOF_Sensor_amount" ring_extra_width="BarrelTOF_ring_width-2*BarrelTOF_Sensor_deadspaceY"/>
</module_component>
<module_component name="hybridtop" material="Kapton" sensitive="false" width="BarrelTOF_Module_width" length="BarrelTOF_length1" thickness="BarrelTOF_Hybrid_thickness" vis="TOFHybridVis" >
<position x="BarrelTOF_Service_position" y="0" z="0" />
Expand Down Expand Up @@ -140,8 +149,8 @@

<readouts>
<readout name="TOFBarrelHits">
<segmentation type="CartesianGridXY" grid_size_x="0.1*mm" grid_size_y="1*cm" />
<id>system:8,layer:4,module:12,sensor:2,x:32:-16,y:-16</id>
<segmentation type="CartesianGridXY" grid_size_x="0.5*mm" grid_size_y="1*cm" offset_x="0.25*mm" offset_y="0.5*cm"/>
<id>system:8,layer:4,module:12,sensor:10,x:40:-8,y:-16</id>
</readout>
</readouts>

Expand Down
Loading
Loading