toor.DetectionLayout.Photodetectors.Crystals package#

Submodules#

toor.DetectionLayout.Photodetectors.Crystals.LYSO module#

class toor.DetectionLayout.Photodetectors.Crystals.LYSO.LYSOCrystal(crystal_id=1)[source]#

Bases: GenericCrystal

Class that represents a LYSO crystal. It contains the information about the crystal geometry and the detectors that compose it. Methods:

toor.DetectionLayout.Photodetectors.Crystals.genericCrystal module#

class toor.DetectionLayout.Photodetectors.Crystals.genericCrystal.GenericCrystal(crystal_id=1)[source]#

Bases: object

Class that represents a LYSO crystal. It contains the information about the crystal geometry and the detectors that compose it. Methods:

property alphaRotation#
property betaRotation#
property centroid#

Returns the crystal centroid.

property crystalID#

Returns the crystal ID.

property crystalSizeX#
property crystalSizeY#
property crystalSizeZ#
property density#
getCrystalShape()[source]#
property mass#
setAlphaRotation(value)[source]#
setBetaRotation(value)[source]#
setCentroid(value)[source]#

Sets the crystal centroid.

setCristalSize(sizex, sizey, sizez)[source]#
setCrystalID(value)[source]#

Sets the crystal ID.

setDensity(value)[source]#
setSigmaRotation(value)[source]#
setVertices(value)[source]#

Sets the crystal vertices.

setVerticesCrystalCoordinateSystem()[source]#

Sets the crystal vertices.

setXTranslation(value)[source]#
setYTranslation(value)[source]#
setZTranslation(value)[source]#
property sigmaRotation#
property vertices#

Returns the crystal vertices.

property volume#
property xTranslation#
property yTranslation#
property zTranslation#

Module contents#