Limit
User limits for a Monte Carlo simulation context.
Attributes
| Name | Type | Description |
|---|---|---|
| distance | number or nil |
Limit on the travelled distance, in m. Defaults to nil i.e. no limit. |
| grammage | number or nil |
Limit on the travelled grammage in kg/m2. Defaults to nil i.e. no limit. |
| energy | number or nil |
Limit on the kinetic energy, in GeV. In forward this sets a upper limit but in backward it sets a lower limit. Defaults to nil i.e. no limit. |
| time | number or nil |
Limit on the proper time, in m/c. Defaults to nil i.e. no limit. |
Note
This metatable has no proper constructor. It is instanciated when creating a new simulation Context and linked to the latter. Attributes can be modified in order to configure the simulation context.