Enum CoordinateIndices

Enum Documentation

enum Acts::CoordinateIndices

Components of coordinate vectors.

To be used to access coordinate components by named indices instead of magic numbers. This must be a regular enum and not a scoped enum class to allow implicit conversion to an integer. The enum value are thus visible directly in namespace Acts.

This index enum is not user-configurable (in contrast e.g. to the track parameter index enums) since it must be compatible with varying dimensionality (2d-4d) and other access methods (.{x,y,z}() accessors).

Values:

enumerator ePos0 = 0
enumerator ePos1 = 1
enumerator ePos2 = 2
enumerator eTime = 3
enumerator eMom0 = ePos0
enumerator eMom1 = ePos1
enumerator eMom2 = ePos2
enumerator eEnergy = eTime
enumerator eX = ePos0
enumerator eY = ePos1
enumerator eZ = ePos2