Dear all,
I was wondering whether there is an easy way to implement two sensors next to each other (same z-pos. different x-pos.) inside a support structure as a single layer.
As in Allpix2 one can only define one sensor per layer, I had the following idea:
- Create one layer with support structures and cables etc.
- Add a second layer without support structures and position this second layer at the same z-position like the first layer but with a shift in x-direction, so that the sensors are placed next to each other
This setup leads to an error of overlapping volumes.
Because of this issue I contacted Paul Schuetze, who is part of the Allpix developer team, offering me really awesome support. Thank you again!
The Issue is, that Geant4 creates a wrapper volume around everything defined as a layer and requires the wrapper volume to always be a box. So a layer defined with support structures will be placed by GeometryBuilder inside of a wrapper volume. Creating a second layer which is positioned inside of the wrapper volume from the first layer will lead an overlap of volumes.
GeometryBuilder creates this wrapper volume as small as possible but as large as required. However, this means if one adds to a sensor a larger chip/support underneath it, one will end up with a wrapper that also covers the volume where one intend to place a second sensor. This results in the overlap…
Paul suggested to place two sensors next to each other, so that the wrapper dimension of each layer will be of the same size as the sensors. And then adding the support/cables in form of passive material.
This opened an other issue for me. Placing two sensors next to each other, Allpix gives an error message that wrapper volumes are overlapping.
Maybe I am wrong but I think that has something to do with the sensor excess one can define in Allpix.
A sensor defined like this:
type = "monolithic"
number_of_pixels = 512 1024
pixel_size = 29.24um 26.88um
implant_size = 3um 3um
chip_thickness = 5um
sensor_thickness = 50um
sensor_excess_right = 50um
sensor_excess_left = 1208um
sensor_excess_top = 30um
sensor_excess_bottom = 30um
has the following dimensions (Info from Geant4/allpix):
Sensor dimensions:
(16.2289mm,27.5851mm,50um)
Wrapper dimensions of model:
(17.3869mm,27.5851mm,55um)
Chip dimensions:
(16.2289mm,27.5851mm,5um)
Just focussing on the x-component I would naively think the dimensions should be as following:
X-dimension:
Sensor dimension should be:
512x29,24um = 14,97088mm
In fact Allpix adds the sensor excess left and right
512x29,24um+1208um+50um = 16,22888mm
Wrapper dimension should be
512x29,24um+1208um+50um = 16,22888mm
In fact Allpix adds two times excess left
512x29,24um+1208um+1208um = 17,38688mm
Placing two sensors next to each other would need a shift greater than the sensor size with excess and the gap between two sensors would be huge.
Maybe I am doing something wrong here or do not understand something in the right way. I hope you can help me with this issue.
Any advice would be highly appreciated!
Looking forward to your answer.
Cheers,
Tim