pyg4ometry.geant4.solid.Cons¶
Classes¶
Constructs a conical section. |
Module Contents¶
- class pyg4ometry.geant4.solid.Cons.Cons(name, pRmin1, pRmax1, pRmin2, pRmax2, pDz, pSPhi, pDPhi, registry, lunit='mm', aunit='rad', nslice=None, addRegistry=True)¶
Bases:
pyg4ometry.geant4.solid.SolidBase.SolidBaseConstructs a conical section.
- Parameters:
name (str) – of the solid
pRMin1 (float, Constant, Quantity, Variable) – inner radius at -pDz/2
pRMax1 (float, Constant, Quantity, Variable) – outer radius at -pDz/2
pRMin2 (float, Constant, Quantity, Variable) – inner radius at +pDZ/2
pRMax2 (float, Constant, Quantity, Variable) – outer radius at +pDz/2
pSPhi (float, Constant, Quantity, Variable) – starting phi angle
pDPhi (float, Constant, Quantity, Variable) – angle of segment in radians
registry (Registry) – for storing solid
lunit (str) – length unit (nm,um,mm,m,km) for solid
aunit (str) – angle unit (rad,deg) for solid
nslice (int) – number of phi elements for meshing
- pRmin1¶
- pRmax1¶
- pRmin2¶
- pRmax2¶
- pDz¶
- pSPhi¶
- pDPhi¶
- nslice¶
- lunit¶
- aunit¶
- dependents = []¶
- varNames = ['pRmin1', 'pRmin2', 'pRmax1', 'pRmax2', 'pDz', 'pSPhi', 'pDPhi', 'nslice']¶
- varUnits = ['lunit', 'lunit', 'lunit', 'lunit', 'lunit', 'aunit', 'aunit', None]¶
- checkParameters()¶
- __repr__()¶
- __str__()¶
- mesh()¶