pyg4ometry.geant4.solid.EllipticalCone¶
Classes¶
Constructs a cone with elliptical cross-section and an |
Module Contents¶
- class pyg4ometry.geant4.solid.EllipticalCone.EllipticalCone(name, pxSemiAxis, pySemiAxis, zMax, pzTopCut, registry, lunit='mm', nslice=None, nstack=None, addRegistry=True)¶
Bases:
pyg4ometry.geant4.solid.SolidBase.SolidBaseConstructs a cone with elliptical cross-section and an optional cut. Both zMax and pzTopCut are half lengths extending from the centre of the cone, at z=0.
- Parameters:
name (str) – name of the volume
pxSemiAxis (float, Constant, Quantity, Variable, Expression) – semiaxis in x at z=0 as a fraction of zMax.
pySemiAxis (float, Constant, Quantity, Variable, Expression) – semiaxis in y at z=0 as a fraction of zMax
zMax (float, Constant, Quantity, Variable, Expression) – half length of the cone.
pzTopCut (float, Constant, Quantity, Variable, Expression) – half length of the cut.
- pxSemiAxis¶
- pySemiAxis¶
- zMax¶
- pzTopCut¶
- lunit¶
- nslice¶
- nstack¶
- dependents = []¶
- varNames = ['pxSemiAxis', 'pySemiAxis', 'zMax', 'pzTopCut']¶
- varUnits = ['lunit', 'lunit', 'lunit', 'lunit']¶
- __repr__()¶
- __str__()¶
- mesh()¶