Skip to content
Snippets Groups Projects
Commit 5a35ca4e authored by Moritz Kiehn's avatar Moritz Kiehn Committed by Fabian Klimpel
Browse files

Utilities: remove ..Dim values from enums

parent bb37f5f2
No related branches found
No related tags found
1 merge request!785Clean up the parameter definitions
......@@ -191,4 +191,10 @@ using par_type = detail::BoundParameterTraits<kIndex>;
template <BoundParametersIndices kIndex>
using par_type_t = typename detail::BoundParameterTraits<kIndex>::type;
// For backward compatibility. New code must use the
// `e{BoundParameters,FreeParameters,SpacePoint}Size` enum values.
inline constexpr unsigned int BoundParsDim = eBoundParametersSize;
inline constexpr unsigned int FreeParsDim = eFreeParametersSize;
inline constexpr unsigned int SpacePointDim = eSpacePointSize;
} // namespace Acts
......@@ -60,7 +60,6 @@ enum BoundParametersIndices : unsigned int {
eTHETA = eBoundTheta,
eQOP = eBoundQOverP,
eT = eBoundTime,
BoundParsDim = eBoundParametersSize,
};
/// Underlying fundamental scalar type for bound track parameters.
......@@ -90,8 +89,6 @@ enum FreeParametersIndices : unsigned int {
eFreeQOverP = 7u,
// Last uninitialized value contains the total number of components
eFreeParametersSize,
// For backward compatibility
FreeParsDim = eFreeParametersSize,
};
/// Underlying fundamental scalar type for free track parameters.
......@@ -120,8 +117,6 @@ enum SpacePointIndices : unsigned int {
eSpaceMom1 = eSpacePos1,
eSpaceMom2 = eSpacePos2,
eSpaceEnergy = eSpaceTime,
// for backward compatibility
SpacePointDim = eSpacePointSize,
};
/// Underlying fundamental scalar type for space points.
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment