Geometric construction questions

Dear friends,

Hi, I’m a new kid about allpix2, so my question might be simple.

I am focusing on the geometric modeling of a simple detector which has 3×3 pixel matrix, pixel pitch is 50 um and thickness of 200 um. and my collect electrode size is 48um, so there is a 2um gap between adjacent collecting electrodes. My question is how to build this gap.

I read the documentation page about Detector Models at section 5.3, I find number_of_pixels and pixel_size to determine the base size of the sensor, but how to define the gap? Use sensor_excess?or use implant? or others?

Does the [implant] represent collect electrode? If so, why do we still need to use number_of_pixels to make division? So, my problem is that I do not knew whether these concepts (such as chip, implant, support) correspond to collect electrode. maybe because I am a beginner, so I try to find help to understand these concepts more clearly

and I already try to build a geometry construction file, don’t know if it is right. I use ‘implant’ to represent my electrodes, I first define one model, then copy this at different position, keep them attching to each other to build my 3×3 detector

#model file, name = detector_m1
type = “monolithic”
geometry = “pixel”
number_of_pixels = 1 1
pixel_size = 50um 50um
sensor_thickness = 200um
sensor_material = CADMIUM_ZINC_TELLURIDE

[implant]
type = frontside
shape = rectangle
size = 48um 48um 0.1um
#geometry file

[D1]
type = “detector_m1”
position = 0 0 0
orientation = 0 0 0

[D2]
type = “detector_m1”
position = 50um 0 0
orientation = 0 0 0

[D3]
type = “detector_m1”
position = 100um 0 0
orientation = 0 0 0

[D4]
type = “detector_m1”
position = 0um 50um 0
orientation = 0 0 0

[D5]
type = “detector_m1”
position = 50um 50um 0
orientation = 0 0 0

[D6]
type = “detector_m1”
position = 100um 50um 0
orientation = 0 0 0

[D7]
type = “detector_m1”
position = 0um 100um 0
orientation = 0 0 0

[D8]
type = “detector_m1”
position = 50um 100um 0
orientation = 0 0 0

[D9]
type = “detector_m1”
position = 100um 100um 0
orientation = 0 0 0

and here is a fig from [VisualizationGeant4]

Thank you in advance for your any help! May you have a happy day.
Best regards,
Solomen

To help understand my detector, I build a diagram from Comsol