Skip to content

Commit

Permalink
Modified Barrel TOF geometry to add dead spaces between sensors and b…
Browse files Browse the repository at this point in the history
…etween support ring structure (#787)

### Briefly, what does this PR introduce?
The BTOF active volume is modified to be more realistic. Now there are
dead spaces between each sensors on a stave and extra dead space is
reserved in the center of the BTOF to make space for the central
supporting ring structure.
Variables relevant to the dead spaces, sensor sizes and the width of the
ring are adjustable from tof_barrel.xml.

![image](https://github.com/user-attachments/assets/7bd98ce5-5f2d-4ae9-9fcb-8b878973e9b4)


### What kind of change does this PR introduce?
- [ ] Bug fix (issue #__)
- [ ] New feature (issue #__)
- [ ] Documentation update
- [x] Other: BTOF geometry is modified to accommodate individual
sensors.

### Please check if this PR fulfills the following:
- [ ] Tests for the changes have been added
- [ ] Documentation has been added / updated
- [ ] Changes have been communicated to collaborators

### Does this PR introduce breaking changes? What changes might users
need to make to their code?

### Does this PR change default behavior?

---------

Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com>
Co-authored-by: Dmitry Kalinkin <[email protected]>
  • Loading branch information
3 people authored Sep 24, 2024
1 parent e931500 commit 22e5f68
Show file tree
Hide file tree
Showing 3 changed files with 412 additions and 5 deletions.
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

0 comments on commit 22e5f68

Please sign in to comment.