pyg4ometry.misc.NestedSolids¶
Functions¶
|
Creates a list of geant4.Box starting the bx, by, bz in size and each element is dx, dy, dz smaller |
Module Contents¶
- pyg4ometry.misc.NestedSolids.NestedBoxes(nameBase, bx, by, bz, registry, lunit='mm', dx=0, dy=0, dz=0, N=0)¶
Creates a list of geant4.Box starting the bx, by, bz in size and each element is dx, dy, dz smaller for each iteration
- Parameters:
nameBase (str) – name stub for solid
bx (float) – box max x size
by (float) – box max y size
bz (float) – box max z size
registry (Registry) – Registry object
lunit (str) – length unit (mm/m etc)
dx (float) – decrement in x for each iteration
dy (float) – decrement in y for each iteration
dz (float) – decrement in z for each iteration
N (int) – number of iterations