Proton

class zgoubidoo.commands.particules.Proton(label1: str = '', label2: str = '', *params, **kwargs)[source]

Bases: zgoubidoo.commands.particules.NativeParticule

A proton particle.

Command attributes

LABEL1=''

Primary label for the Zgoubi command (default: auto-generated hash).

Type

str

LABEL2=''

Secondary label for the Zgoubi command.

Type

str

M='1.67262192369e-27 kilogram'

Mass of the particle.

Type

Quantity

Q='1.602176634e-19 coulomb'

Charge of the particle.

Type

Quantity

tau='0'

Lifetime of the particle.

Type

int

NATIVE='True'
Type

bool

Default initializer for all Commands.

Attributes Summary

KEYWORD

PARAMETERS

Attributes Documentation

KEYWORD: str = 'PARTICUL'
PARAMETERS: dict = {'G': (1.7928473446500002,), 'LABEL1': ('', 'Primary label for the Zgoubi command (default: auto-generated hash).'), 'LABEL2': ('', 'Secondary label for the Zgoubi command.'), 'M': (<Quantity(1.67262192e-27, 'kilogram')>, 'Mass of the particle.'), 'NATIVE': (True, ''), 'Q': (<Quantity(1.60217663e-19, 'coulomb')>, 'Charge of the particle.'), 'tau': (0, 'Lifetime of the particle.')}