Lost particles state codes

Particles lost by the simulation have Particles.state <= 0. Different states are used to identify different particle loss events.

State

C flag

Information

0

XT_LOST_ON_APERTURE

Lost on explicit aperture element (e.g. LimitRect, LimitEllip etc.).

-1

XP_LOST_ON_GLOBAL_AP

Lost on global aperture limit set in the tracker.

-2

XT_LOST_ON_LONG_CUT

Lost due to a longitudinal cut.

-10

XT_LOST_ALL_E_IN_SYNRAD

Lost all energy in synchrotron radiation.

-11

XF_OUTSIDE_INTERPOL

Found outside interpolation grid.

-12

XF_TOO_MANY_PHOTONS

Too many photons in beamstrahlung.

-20

RNG_ERR_SEEDS_NOT_SET

Random generator seeds not set.

-21

RNG_ERR_INVALID_TRACK

Invalid tracking inside random generator element.

-22

RNG_ERR_RUTH_NOT_SET

Random Rutherford parameters not set.

-333

XC_LOST_ON_EVEREST

Lost in Everest collimator.

-334

XC_LOST_ON_EVEREST_CRYSTAL

Lost in Everest crystal.

-335

XC_LOST_ON_FLUKA

Lost in FLUKA collimator.

-336

XC_LOST_ON_GEANT4

Lost in Geant4 collimator.

-340

XC_LOST_ON_ABSORBER

Lost in black absorber.

-390

XC_ERR_INVALID_TRACK

Invalid tracking in collimator (e.g. backtracking, during twiss).

-399

XC_ERR

General collimator error.