diff --git a/RecoVertex/VertexPrimitives/interface/LinearizedTrackState.h b/RecoVertex/VertexPrimitives/interface/LinearizedTrackState.h index e257827dd9a0c..d392092d936db 100644 --- a/RecoVertex/VertexPrimitives/interface/LinearizedTrackState.h +++ b/RecoVertex/VertexPrimitives/interface/LinearizedTrackState.h @@ -9,6 +9,8 @@ #include "DataFormats/GeometryVector/interface/GlobalPoint.h" #include "DataFormats/TrajectoryState/interface/TrackCharge.h" #include "TrackingTools/TransientTrack/interface/TransientTrack.h" + +#define SMATRIX_USE_CONSTEXPR #include "Math/SMatrix.h" #include "RecoVertex/VertexPrimitives/interface/RefittedTrackState.h" diff --git a/RecoVertex/VertexPrimitives/interface/VertexTrack.h b/RecoVertex/VertexPrimitives/interface/VertexTrack.h index e0a28d0644ab0..fa1957e8d73ce 100644 --- a/RecoVertex/VertexPrimitives/interface/VertexTrack.h +++ b/RecoVertex/VertexPrimitives/interface/VertexTrack.h @@ -5,6 +5,9 @@ #include "RecoVertex/VertexPrimitives/interface/VertexState.h" #include "RecoVertex/VertexPrimitives/interface/RefittedTrackState.h" #include "RecoVertex/VertexPrimitives/interface/VertexException.h" + + +#define SMATRIX_USE_CONSTEXPR #include "Math/SMatrix.h" /** Track information relative to a track-to-vertex association. diff --git a/TrackingTools/GsfTools/interface/GsfMatrixTools.h b/TrackingTools/GsfTools/interface/GsfMatrixTools.h index d3d11102b5c8e..a41055df8b0fd 100644 --- a/TrackingTools/GsfTools/interface/GsfMatrixTools.h +++ b/TrackingTools/GsfTools/interface/GsfMatrixTools.h @@ -1,6 +1,8 @@ #ifndef GsfMatrixTools_h_ #define GsfMatrixTools_h_ +#define SMATRIX_USE_CONSTEXPR + #include "Math/SVector.h" #include "Math/SMatrix.h" diff --git a/TrackingTools/GsfTools/interface/SingleGaussianState.h b/TrackingTools/GsfTools/interface/SingleGaussianState.h index dd6791530f249..3f2386c6d3f5b 100644 --- a/TrackingTools/GsfTools/interface/SingleGaussianState.h +++ b/TrackingTools/GsfTools/interface/SingleGaussianState.h @@ -1,6 +1,8 @@ #ifndef SingleGaussianState_H #define SingleGaussianState_H +#define SMATRIX_USE_CONSTEXPR + #include "Math/SVector.h" #include "Math/SMatrix.h"