diff --git a/Tracking/TrkExtrapolation/TrkExRungeKuttaPropagator/CMakeLists.txt b/Tracking/TrkExtrapolation/TrkExRungeKuttaPropagator/CMakeLists.txt index cb25a31fb7fa6b5113f3b604e6306881131ba205..7fe2c64234de4fb447bf330f3aa333a91fc3c692 100644 --- a/Tracking/TrkExtrapolation/TrkExRungeKuttaPropagator/CMakeLists.txt +++ b/Tracking/TrkExtrapolation/TrkExRungeKuttaPropagator/CMakeLists.txt @@ -18,15 +18,18 @@ atlas_depends_on_subdirs( PUBLIC Tracking/TrkDetDescr/TrkSurfaces Tracking/TrkEvent/TrkPatternParameters Tracking/TrkExtrapolation/TrkExUtils - MagneticField/MagFieldElements + MagneticField/MagFieldElements MagneticField/MagFieldConditions -) + Control/CxxUtils + ) # Component(s) in the package: atlas_add_component( TrkExRungeKuttaPropagator src/*.cxx src/components/*.cxx - LINK_LIBRARIES AthenaBaseComps GaudiKernel MagFieldInterfaces TrkEventPrimitives TrkNeutralParameters TrkParameters TrkExInterfaces TrkGeometry TrkSurfaces TrkPatternParameters TrkExUtils MagFieldElements MagFieldConditions) + LINK_LIBRARIES AthenaBaseComps GaudiKernel MagFieldInterfaces TrkEventPrimitives TrkNeutralParameters + TrkParameters TrkExInterfaces TrkGeometry TrkSurfaces TrkPatternParameters TrkExUtils MagFieldElements MagFieldConditions + CxxUtils) # Install files from the package: atlas_install_headers( TrkExRungeKuttaPropagator ) diff --git a/Tracking/TrkExtrapolation/TrkExRungeKuttaPropagator/src/RungeKuttaPropagator.cxx b/Tracking/TrkExtrapolation/TrkExRungeKuttaPropagator/src/RungeKuttaPropagator.cxx index d3de51ca871a6ec81c54b3254e52cbc9b103f3b9..30b15b4ff69b486190bc140d1f2eda1c7a4d5d21 100755 --- a/Tracking/TrkExtrapolation/TrkExRungeKuttaPropagator/src/RungeKuttaPropagator.cxx +++ b/Tracking/TrkExtrapolation/TrkExRungeKuttaPropagator/src/RungeKuttaPropagator.cxx @@ -19,6 +19,11 @@ #include "TrkExUtils/TransportJacobian.h" #include "TrkPatternParameters/PatternTrackParameters.h" + +/// enables -ftree-vectorize in gcc +#include "CxxUtils/vectorize.h" +ATH_ENABLE_VECTORIZATION; + ///////////////////////////////////////////////////////////////////////////////// // Constructor ///////////////////////////////////////////////////////////////////////////////// diff --git a/Tracking/TrkExtrapolation/TrkExSTEP_Propagator/CMakeLists.txt b/Tracking/TrkExtrapolation/TrkExSTEP_Propagator/CMakeLists.txt index 8f582373da5c1c8806071f59db4b79be7e596bb2..28aeac96cc740f5841a9c121f7bf8fda584f9739 100644 --- a/Tracking/TrkExtrapolation/TrkExSTEP_Propagator/CMakeLists.txt +++ b/Tracking/TrkExtrapolation/TrkExSTEP_Propagator/CMakeLists.txt @@ -24,6 +24,7 @@ atlas_depends_on_subdirs( PUBLIC Tracking/TrkEvent/TrkTrack MagneticField/MagFieldElements MagneticField/MagFieldConditions + Control/CxxUtils ) # External dependencies: @@ -35,7 +36,9 @@ atlas_add_component( TrkExSTEP_Propagator src/*.cxx src/components/*.cxx INCLUDE_DIRS ${CLHEP_INCLUDE_DIRS} ${EIGEN_INCLUDE_DIRS} - LINK_LIBRARIES ${CLHEP_LIBRARIES} ${EIGEN_LIBRARIES} AthenaBaseComps AthenaKernel GeoPrimitives EventPrimitives TrkGeometry TrkEventPrimitives TrkMaterialOnTrack TrkParameters TrkExInterfaces TrkExUtils GaudiKernel TrkDetDescrUtils TrkSurfaces TrkTrack MagFieldElements MagFieldConditions ) + LINK_LIBRARIES ${CLHEP_LIBRARIES} ${EIGEN_LIBRARIES} AthenaBaseComps AthenaKernel GeoPrimitives EventPrimitives TrkGeometry TrkEventPrimitives + TrkMaterialOnTrack TrkParameters TrkExInterfaces TrkExUtils GaudiKernel TrkDetDescrUtils TrkSurfaces TrkTrack + MagFieldElements MagFieldConditions CxxUtils) # Install files from the package: atlas_install_headers( TrkExSTEP_Propagator ) diff --git a/Tracking/TrkExtrapolation/TrkExSTEP_Propagator/src/STEP_Propagator.cxx b/Tracking/TrkExtrapolation/TrkExSTEP_Propagator/src/STEP_Propagator.cxx index 2ee9a8614fcd585ea8abfd5ebee754a701be059a..d5fc579ba68324b2b278c77c6b8021e3a1d4459d 100755 --- a/Tracking/TrkExtrapolation/TrkExSTEP_Propagator/src/STEP_Propagator.cxx +++ b/Tracking/TrkExtrapolation/TrkExSTEP_Propagator/src/STEP_Propagator.cxx @@ -38,6 +38,10 @@ #include "EventPrimitives/EventPrimitivesHelpers.h" #include "EventPrimitives/EventPrimitives.h" +/// enables -ftree-vectorize in gcc +#include "CxxUtils/vectorize.h" +ATH_ENABLE_VECTORIZATION; + //static particle masses namespace{ constexpr Trk::ParticleMasses s_particleMasses{};