Bases: penelopetools.api.input.penelope.hook.Hook
Creates default photon detectors for a Substrate geometry. Hemispherical detectors with an opening of 2 to 20 degrees are created from a specified take-off angle.
Parameters: |
|
---|
Bases: penelopetools.api.input.pengeom.usergeometry._UserGeometry
Creates a new Substrate geometry. A Substrate is defined by only one material in a cylinder. The surfaces and modules of the geometry are automatically generated when the build is called. The surfaces and modules arguments are therefore optional.
The depth and diameter are 3.0 cm. By default, no rotation and no shift is imposed on the geometry.
Parameters: |
|
---|
Builds the surfaces and modules of the geometry according to the information stored.
Creates a Substrate from a XML element.
Parameters: | element – XML element |
---|
Id of the material for the substrate. The id shall correspond to the id of the material in Materials. The id must be positive.
Returns a HTML representation of this option.
Returns a XML representation of this geometry.