pyg4ometry.misc¶
Submodules¶
Functions¶
|
Creates a list of geant4.Box starting the bx, by, bz in size and each element is dx, dy, dz smaller |
|
|
|
|
|
|
|
|
|
|
|
Package Contents¶
- pyg4ometry.misc.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
- pyg4ometry.misc.md5_file(fname)¶
- pyg4ometry.misc.diffFiles(file1, file2)¶
- pyg4ometry.misc.compareFilesWithAssert(file1, file2)¶
- pyg4ometry.misc.compareNumericallyWithAssert(file1, file2)¶
- pyg4ometry.misc.compareMeshInfo(meshInfo1, meshInfo2)¶
- pyg4ometry.misc.compareGdmlNumericallyWithAssert(file1, file2)¶