Skip to content
Snippets Groups Projects
Commit 00e1ee83 authored by Edward Moyse's avatar Edward Moyse
Browse files

Merge branch 'acts-adapt-logger' into 'master'

Externals Update, including Acts, master branch (2020.08.17.)

See merge request atlas/athena!35663
parents 3f4ed5fa a760feec
No related branches found
No related tags found
No related merge requests found
Showing with 16 additions and 19 deletions
...@@ -98,7 +98,3 @@ atlas_add_test( ut_PMGTruthWeightTool_test ...@@ -98,7 +98,3 @@ atlas_add_test( ut_PMGTruthWeightTool_test
SOURCES test/ut_PMGTruthWeightTool_test.cxx SOURCES test/ut_PMGTruthWeightTool_test.cxx
INCLUDE_DIRS ${ROOT_INCLUDE_DIRS} INCLUDE_DIRS ${ROOT_INCLUDE_DIRS}
LINK_LIBRARIES ${ROOT_LIBRARIES} PMGToolsLib ${xaod_access_lib} ) LINK_LIBRARIES ${ROOT_LIBRARIES} PMGToolsLib ${xaod_access_lib} )
# Install files from the package:
atlas_install_data( data/*.txt share/*.txt )
...@@ -29,8 +29,6 @@ atlas_add_library( EventLoopGrid ...@@ -29,8 +29,6 @@ atlas_add_library( EventLoopGrid
target_compile_definitions (EventLoopGrid PUBLIC USE_CMAKE) target_compile_definitions (EventLoopGrid PUBLIC USE_CMAKE)
# Install files from the package: # Install files from the package:
atlas_install_python_modules( python/*.py )
atlas_install_scripts( scripts/* )
atlas_install_data( data/* ) atlas_install_data( data/* )
......
...@@ -74,5 +74,4 @@ endforeach (source ${util_sources}) ...@@ -74,5 +74,4 @@ endforeach (source ${util_sources})
# Install files from the package: # Install files from the package:
atlas_install_scripts( scripts/el_retrieve scripts/el_wait ) atlas_install_data( data/*.yml )
atlas_install_data( data/*.root data/*.yml )
...@@ -6,4 +6,4 @@ ...@@ -6,4 +6,4 @@
# forbidden. # forbidden.
# The version of atlas/atlasexternals to use: # The version of atlas/atlasexternals to use:
AnalysisBaseExternalsVersion = 2.0.72 AnalysisBaseExternalsVersion = 2.0.73
...@@ -5,4 +5,4 @@ ...@@ -5,4 +5,4 @@
# an "origin/" prefix before it. For tags however this is explicitly # an "origin/" prefix before it. For tags however this is explicitly
# forbidden. # forbidden.
AtlasExternalsVersion = 2.0.72 AtlasExternalsVersion = 2.0.73
...@@ -6,7 +6,7 @@ ...@@ -6,7 +6,7 @@
# forbidden. # forbidden.
# The version of atlas/atlasexternals to use: # The version of atlas/atlasexternals to use:
AthGenerationExternalsVersion = 2.0.72 AthGenerationExternalsVersion = 2.0.73
# The version of atlas/Gaudi to use: # The version of atlas/Gaudi to use:
GaudiVersion = v34r0.003 GaudiVersion = v34r0.003
...@@ -6,7 +6,7 @@ ...@@ -6,7 +6,7 @@
# forbidden. # forbidden.
# The version of atlas/atlasexternals to use: # The version of atlas/atlasexternals to use:
AthSimulationExternalsVersion = 2.0.72 AthSimulationExternalsVersion = 2.0.73
# The version of atlas/Gaudi to use: # The version of atlas/Gaudi to use:
GaudiVersion = v34r0.003 GaudiVersion = v34r0.003
...@@ -6,7 +6,7 @@ ...@@ -6,7 +6,7 @@
# forbidden. # forbidden.
# The version of atlas/atlasexternals to use: # The version of atlas/atlasexternals to use:
AthenaExternalsVersion = 2.0.72 AthenaExternalsVersion = 2.0.73
# The version of atlas/Gaudi to use: # The version of atlas/Gaudi to use:
GaudiVersion = v34r0.003 GaudiVersion = v34r0.003
...@@ -6,4 +6,4 @@ ...@@ -6,4 +6,4 @@
# forbidden. # forbidden.
# The version of atlas/atlasexternals to use: # The version of atlas/atlasexternals to use:
VP1LightExternalsVersion = 2.0.72 VP1LightExternalsVersion = 2.0.73
...@@ -72,6 +72,5 @@ if( XAOD_STANDALONE ) ...@@ -72,6 +72,5 @@ if( XAOD_STANDALONE )
endif() endif()
# Install files from the package: # Install files from the package:
atlas_install_python_modules( python/*.py )
atlas_install_joboptions( share/*.py ) atlas_install_joboptions( share/*.py )
atlas_install_data( data/* ) atlas_install_data( data/* )
...@@ -37,6 +37,7 @@ ...@@ -37,6 +37,7 @@
namespace Acts { namespace Acts {
class Surface; class Surface;
class BoundaryCheck; class BoundaryCheck;
class Logger;
} }
...@@ -110,6 +111,7 @@ public: ...@@ -110,6 +111,7 @@ public:
private: private:
std::unique_ptr<ActsExtrapolationDetail::VariantPropagator> m_varProp; std::unique_ptr<ActsExtrapolationDetail::VariantPropagator> m_varProp;
std::unique_ptr<const Acts::Logger> m_logger{nullptr};
SG::ReadCondHandleKey<AtlasFieldCacheCondObj> m_fieldCacheCondObjInputKey {this, "AtlasFieldCacheCondObj", "fieldCondObj", "Name of the Magnetic Field conditions object key"}; SG::ReadCondHandleKey<AtlasFieldCacheCondObj> m_fieldCacheCondObjInputKey {this, "AtlasFieldCacheCondObj", "fieldCondObj", "Name of the Magnetic Field conditions object key"};
......
...@@ -21,6 +21,7 @@ ...@@ -21,6 +21,7 @@
#include "Acts/Propagator/ActionList.hpp" #include "Acts/Propagator/ActionList.hpp"
#include "Acts/Surfaces/BoundaryCheck.hpp" #include "Acts/Surfaces/BoundaryCheck.hpp"
#include "Acts/Surfaces/Surface.hpp" #include "Acts/Surfaces/Surface.hpp"
#include "Acts/Utilities/Logger.hpp"
// BOOST // BOOST
#include <boost/variant/variant.hpp> #include <boost/variant/variant.hpp>
...@@ -68,6 +69,8 @@ ActsExtrapolationTool::initialize() ...@@ -68,6 +69,8 @@ ActsExtrapolationTool::initialize()
ATH_MSG_INFO("Initializing ACTS extrapolation"); ATH_MSG_INFO("Initializing ACTS extrapolation");
m_logger = makeActsAthenaLogger(this, "Prop", "ActsExtrapTool");
ATH_CHECK( m_trackingGeometryTool.retrieve() ); ATH_CHECK( m_trackingGeometryTool.retrieve() );
std::shared_ptr<const Acts::TrackingGeometry> trackingGeometry std::shared_ptr<const Acts::TrackingGeometry> trackingGeometry
= m_trackingGeometryTool->trackingGeometry(); = m_trackingGeometryTool->trackingGeometry();
...@@ -127,7 +130,7 @@ ActsExtrapolationTool::propagationSteps(const EventContext& ctx, ...@@ -127,7 +130,7 @@ ActsExtrapolationTool::propagationSteps(const EventContext& ctx,
using Options = Acts::PropagatorOptions<ActionList, AbortConditions>; using Options = Acts::PropagatorOptions<ActionList, AbortConditions>;
Options options(anygctx, mctx); Options options(anygctx, mctx, Acts::LoggerWrapper{*m_logger});
options.pathLimit = pathLimit; options.pathLimit = pathLimit;
bool debug = msg().level() == MSG::VERBOSE; bool debug = msg().level() == MSG::VERBOSE;
options.debug = debug; options.debug = debug;
...@@ -207,7 +210,7 @@ ActsExtrapolationTool::propagate(const EventContext& ctx, ...@@ -207,7 +210,7 @@ ActsExtrapolationTool::propagate(const EventContext& ctx,
using AbortConditions = Acts::AbortList<EndOfWorld>; using AbortConditions = Acts::AbortList<EndOfWorld>;
using Options = Acts::PropagatorOptions<ActionList, AbortConditions>; using Options = Acts::PropagatorOptions<ActionList, AbortConditions>;
Options options(anygctx, mctx); Options options(anygctx, mctx, Acts::LoggerWrapper{*m_logger});
options.pathLimit = pathLimit; options.pathLimit = pathLimit;
bool debug = msg().level() == MSG::VERBOSE; bool debug = msg().level() == MSG::VERBOSE;
options.debug = debug; options.debug = debug;
...@@ -258,7 +261,7 @@ ActsExtrapolationTool::propagationSteps(const EventContext& ctx, ...@@ -258,7 +261,7 @@ ActsExtrapolationTool::propagationSteps(const EventContext& ctx,
using AbortConditions = Acts::AbortList<EndOfWorld>; using AbortConditions = Acts::AbortList<EndOfWorld>;
using Options = Acts::PropagatorOptions<ActionList, AbortConditions>; using Options = Acts::PropagatorOptions<ActionList, AbortConditions>;
Options options(anygctx, mctx); Options options(anygctx, mctx, Acts::LoggerWrapper{*m_logger});
options.pathLimit = pathLimit; options.pathLimit = pathLimit;
bool debug = msg().level() == MSG::VERBOSE; bool debug = msg().level() == MSG::VERBOSE;
options.debug = debug; options.debug = debug;
...@@ -331,7 +334,7 @@ ActsExtrapolationTool::propagate(const EventContext& ctx, ...@@ -331,7 +334,7 @@ ActsExtrapolationTool::propagate(const EventContext& ctx,
using AbortConditions = Acts::AbortList<EndOfWorld>; using AbortConditions = Acts::AbortList<EndOfWorld>;
using Options = Acts::PropagatorOptions<ActionList, AbortConditions>; using Options = Acts::PropagatorOptions<ActionList, AbortConditions>;
Options options(anygctx, mctx); Options options(anygctx, mctx, Acts::LoggerWrapper{*m_logger});
options.pathLimit = pathLimit; options.pathLimit = pathLimit;
bool debug = msg().level() == MSG::VERBOSE; bool debug = msg().level() == MSG::VERBOSE;
options.debug = debug; options.debug = debug;
......
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