Shape of pixel about hexagon

Hi~I meet a small question:

I found that the file at


but i don’t know how to set the shape of pixel.

By the way, I think that i always use the default shape: Rectangular, is right?

Hi @Newyean

the code you are referring to is not yet in a published release, so some of the documentation is still missing - we’re working on that. But a short summary:

Have a look here: Geometry and Detectors | Allpix Squared

For a hexagonal pixel detector, you would use:

type = monolithic
geometry = hexagonal


Very thanks for your help~! I will try it.