Skip to content
Snippets Groups Projects
Commit d5044711 authored by Walter Lampl's avatar Walter Lampl
Browse files

Merge branch 'cmake_acts' into 'master'

Tracking/Acts: cmake cleanup

See merge request atlas/athena!37395
parents f3a59dd1 3ac18af5
No related branches found
No related tags found
No related merge requests found
# Copyright (C) 2002-2020 CERN for the benefit of the ATLAS collaboration
# Declare the package name: # Declare the package name:
atlas_subdir( ActsGeometry ) atlas_subdir( ActsGeometry )
# Declare the package's dependencies:
atlas_depends_on_subdirs( PUBLIC
PRIVATE
Control/StoreGate
DetectorDescription/Identifier
InnerDetector/InDetDetDescr/InDetIdentifier
InnerDetector/InDetDetDescr/InDetReadoutGeometry
InnerDetector/InDetDetDescr/TRT_ReadoutGeometry
Control/AthenaBaseComps
AthenaKernel
DetectorDescription/GeoModel/GeoModelUtilities
DetectorDescription/GeoPrimitives
Event/EventInfo
GaudiKernel
MagFieldElements MagFieldConditions
Calorimeter/CaloDetDescr
Tracking/Acts/ActsGeometryInterfaces
Tracking/Acts/ActsInterop
Tracking/TrkDetDescr/TrkGeometry)
# External dependencies: # External dependencies:
find_package( CLHEP ) find_package( Acts COMPONENTS Core PluginJson )
find_package( Eigen )
find_package( Boost ) find_package( Boost )
find_package( nlohmann_json ) find_package( CLHEP )
find_package( GeoModelCore )
find_package( Acts COMPONENTS Core PluginJson) find_package( ROOT COMPONENTS Core Tree RIO )
find_package( TBB )
# Component(s) in the package: # Component(s) in the package:
atlas_add_library( ActsGeometryLib atlas_add_library( ActsGeometryLib
src/ActsAlignmentStore.cxx src/ActsAlignmentStore.cxx
src/ActsDetectorElement.cxx src/ActsDetectorElement.cxx
...@@ -40,16 +20,28 @@ atlas_add_library( ActsGeometryLib ...@@ -40,16 +20,28 @@ atlas_add_library( ActsGeometryLib
src/ActsTrackingGeometrySvc.cxx src/ActsTrackingGeometrySvc.cxx
src/util/*.cxx src/util/*.cxx
PUBLIC_HEADERS ActsGeometry PUBLIC_HEADERS ActsGeometry
INCLUDE_DIRS ${CLHEP_INCLUDE_DIRS} ${EIGEN_INCLUDE_DIRS} ${BOOST_INCLUDE_DIRS} INCLUDE_DIRS ${Boost_INCLUDE_DIRS} ${ROOT_INCLUDE_DIRS} ${TBB_INCLUDE_DIRS}
LINK_LIBRARIES ${CLHEP_LIBRARIES} ${EIGEN_LIBRARIES} LINK_LIBRARIES ${Boost_LIBRARIES} ${ROOT_LIBRARIES} ${TBB_LIBRARIES}
AthenaKernel
ActsInteropLib
ActsGeometryInterfacesLib
ActsCore ActsCore
ActsGeometryInterfacesLib
ActsInteropLib
ActsPluginJson ActsPluginJson
TrkGeometry AthenaBaseComps
AthenaKernel
CaloDetDescrLib
EventInfo
GaudiKernel
GeoModelUtilities
GeoPrimitives
Identifier
InDetIdentifier
InDetReadoutGeometry
MagFieldConditions
PRIVATE_LINK_LIBRARIES
StoreGateLib
TRT_ReadoutGeometry TRT_ReadoutGeometry
MagFieldElements MagFieldConditions) TrkGeometry
TrkSurfaces )
atlas_add_component( ActsGeometry atlas_add_component( ActsGeometry
src/ActsExtrapolationAlg.cxx src/ActsExtrapolationAlg.cxx
...@@ -71,17 +63,20 @@ atlas_add_component( ActsGeometry ...@@ -71,17 +63,20 @@ atlas_add_component( ActsGeometry
src/ActsPropStepRootWriterSvc.cxx src/ActsPropStepRootWriterSvc.cxx
src/ActsCaloTrackingVolumeBuilder.cxx src/ActsCaloTrackingVolumeBuilder.cxx
src/components/*.cxx src/components/*.cxx
PUBLIC_HEADERS ActsGeometry INCLUDE_DIRS ${Boost_INCLUDE_DIRS} ${CLHEP_INCLUDE_DIRS} ${GEOMODELCORE_INCLUDE_DIRS} ${ROOT_INCLUDE_DIRS}
INCLUDE_DIRS ${CLHEP_INCLUDE_DIRS} ${EIGEN_INCLUDE_DIRS} ${BOOST_INCLUDE_DIRS} LINK_LIBRARIES ${Boost_LIBRARIES} ${CLHEP_LIBRARIES} ${GEOMODELCORE_LIBRARIES} ${ROOT_LIBRARIES}
LINK_LIBRARIES ${CLHEP_LIBRARIES} ${EIGEN_LIBRARIES}
EventInfo
CaloDetDescrLib
ActsInteropLib
ActsGeometryLib
ActsGeometryInterfacesLib ActsGeometryInterfacesLib
ActsCore ActsGeometryLib
ActsPluginJson) ActsInteropLib
AthenaBaseComps
AthenaKernel
CaloDetDescrLib
EventInfo
GaudiKernel
StoreGateLib
TRT_ReadoutGeometry
TrkGeometry )
# Install files from the package: # Install files from the package:
atlas_install_joboptions( share/*.py ) atlas_install_joboptions( share/*.py )
atlas_install_python_modules( python/*.py ) atlas_install_python_modules( python/*.py POST_BUILD_CMD ${ATLAS_FLAKE8} )
# Copyright (C) 2002-2020 CERN for the benefit of the ATLAS collaboration
from AthenaCommon.CfgGetter import addService from AthenaCommon.CfgGetter import addService
addService('ActsGeometry.ActsGeometryConfig.TrackingGeometrySvc', 'TrackingGeometrySvc') addService('ActsGeometry.ActsGeometryConfig.TrackingGeometrySvc', 'TrackingGeometrySvc')
......
...@@ -12,8 +12,6 @@ from __future__ import print_function ...@@ -12,8 +12,6 @@ from __future__ import print_function
# import the DetFlags for the setting # import the DetFlags for the setting
from AthenaCommon.DetFlags import DetFlags from AthenaCommon.DetFlags import DetFlags
from TrkDetDescrSvc.TrkDetDescrJobProperties import TrkDetFlags
# import the Extrapolator configurable # import the Extrapolator configurable
from ActsGeometry.ActsGeometryConf import ActsTrackingGeometryTool from ActsGeometry.ActsGeometryConf import ActsTrackingGeometryTool
......
# Copyright (C) 2002-2020 CERN for the benefit of the ATLAS collaboration
# Declare the package name: # Declare the package name:
atlas_subdir( ActsGeometryInterfaces ) atlas_subdir( ActsGeometryInterfaces )
# Declare the package's dependencies:
atlas_depends_on_subdirs( PUBLIC
PRIVATE
Control/StoreGate
AthenaKernel
AthenaBaseComps
GaudiKernel
ActsInterop )
# External dependencies: # External dependencies:
find_package( Eigen )
find_package( Acts COMPONENTS Core ) find_package( Acts COMPONENTS Core )
# Component(s) in the package: # Component(s) in the package:
atlas_add_library( ActsGeometryInterfacesLib atlas_add_library( ActsGeometryInterfacesLib
ActsGeometryInterfaces/*.h ActsGeometryInterfaces/*.h
INTERFACE INTERFACE
PUBLIC_HEADERS ActsGeometryInterfaces PUBLIC_HEADERS ActsGeometryInterfaces
INCLUDE_DIRS ${EIGEN_INCLUDE_DIRS} LINK_LIBRARIES
LINK_LIBRARIES ${EIGEN_LIBRARIES} AthenaBaseComps
AthenaKernel ActsCore
ActsInteropLib ActsGeometryLib
ActsCore) GaudiKernel
TrkGeometry )
# Copyright (C) 2002-2020 CERN for the benefit of the ATLAS collaboration
# Declare the package name: # Declare the package name:
atlas_subdir( ActsPriVtxFinder ) atlas_subdir( ActsPriVtxFinder )
# Declare the package's dependencies:
atlas_depends_on_subdirs( PUBLIC
PRIVATE
Control/StoreGate
DetectorDescription/Identifier
InnerDetector/InDetDetDescr/InDetIdentifier
InnerDetector/InDetDetDescr/InDetReadoutGeometry
InnerDetector/InDetDetDescr/PixelReadoutGeometry
InnerDetector/InDetDetDescr/SCT_ReadoutGeometry
InnerDetector/InDetDetDescr/TRT_ReadoutGeometry
InnerDetector/InDetConditions/BeamSpotConditionsData
InnerDetector/InDetRecTools/InDetTrackSelectionTool
Control/AthenaBaseComps
AthenaKernel
DetectorDescription/GeoModel/GeoModelUtilities
DetectorDescription/GeoPrimitives
Event/EventInfo
GaudiKernel
MagFieldElements MagFieldConditions
Calorimeter/CaloDetDescr
Tracking/Acts/ActsInterop
Tracking/TrkEvent/TrkTrackLink
Tracking/TrkEvent/TrkLinks
Event/xAOD/xAODCore
Event/xAOD/xAODTracking
Reconstruction/RecoTools/ITrackToVertex
Tracking/TrkDetDescr/TrkSurfaces
Tracking/TrkEvent/TrkParticleBase
Tracking/TrkEvent/TrkTrack
Tracking/TrkEvent/VxVertex
Tracking/TrkVertexFitter/TrkVertexFitterInterfaces
InnerDetector/InDetRecTools/InDetRecToolInterfaces )
# External dependencies: # External dependencies:
find_package( CLHEP )
find_package( Eigen )
find_package( Boost )
find_package( Acts COMPONENTS Core ) find_package( Acts COMPONENTS Core )
find_package( Boost )
# Component(s) in the package: # Component(s) in the package:
atlas_add_library( ActsPriVtxFinderLib
PUBLIC_HEADERS ActsPriVtxFinder
INCLUDE_DIRS ${CLHEP_INCLUDE_DIRS} ${EIGEN_INCLUDE_DIRS} ${BOOST_INCLUDE_DIRS}
LINK_LIBRARIES ${CLHEP_LIBRARIES} ${EIGEN_LIBRARIES}
AthenaKernel
ActsInteropLib
ActsGeometryLib
ActsGeometryInterfacesLib
ActsCore
PixelReadoutGeometry
SCT_ReadoutGeometry
TRT_ReadoutGeometry
BeamSpotConditionsData
InDetTrackSelectionToolLib
TrkLinks
xAODCore
xAODTracking
ITrackToVertex
TrkSurfaces
TrkParticleBase
TrkTrack
VxVertex
TrkVertexFitterInterfaces
AthenaMonitoringKernelLib
InDetRecToolInterfaces
MagFieldElements MagFieldConditions)
atlas_add_component( ActsPriVtxFinder atlas_add_component( ActsPriVtxFinder
src/*.cxx src/*.cxx
src/components/*.cxx src/components/*.cxx
PUBLIC_HEADERS ActsPriVtxFinder INCLUDE_DIRS ${Boost_INCLUDE_DIRS}
INCLUDE_DIRS ${CLHEP_INCLUDE_DIRS} ${EIGEN_INCLUDE_DIRS} ${BOOST_INCLUDE_DIRS} LINK_LIBRARIES ${Boost_LIBRARIES}
LINK_LIBRARIES ${CLHEP_LIBRARIES} ${EIGEN_LIBRARIES}
EventInfo
CaloDetDescrLib
ActsInteropLib
ActsPriVtxFinderLib
ActsGeometryLib
ActsGeometryInterfacesLib
ActsCore ActsCore
ActsGeometryInterfacesLib
ActsGeometryLib
ActsInteropLib
AthenaBaseComps
BeamSpotConditionsData BeamSpotConditionsData
GaudiKernel
InDetRecToolInterfaces
InDetTrackSelectionToolLib
TrkLinks TrkLinks
xAODCore TrkParticleBase
xAODTracking TrkTrack
ITrackToVertex TrkTrackLink
TrkSurfaces xAODTracking )
TrkParticleBase
TrkTrack
VxVertex
TrkVertexFitterInterfaces
AthenaMonitoringKernelLib
InDetRecToolInterfaces )
...@@ -2,7 +2,7 @@ ...@@ -2,7 +2,7 @@
Copyright (C) 2002-2020 CERN for the benefit of the ATLAS collaboration Copyright (C) 2002-2020 CERN for the benefit of the ATLAS collaboration
*/ */
#include "ActsPriVtxFinder/ActsAdaptiveMultiPriVtxFinderTool.h" #include "ActsAdaptiveMultiPriVtxFinderTool.h"
// ATHENA // ATHENA
#include "GaudiKernel/IInterface.h" #include "GaudiKernel/IInterface.h"
......
...@@ -3,7 +3,7 @@ ...@@ -3,7 +3,7 @@
*/ */
//#include "ActsPriVtxFinder/ActsPrimaryVtxFinderAlg.h" //#include "ActsPriVtxFinder/ActsPrimaryVtxFinderAlg.h"
#include "ActsPriVtxFinder/ActsAdaptiveMultiPriVtxFinderTool.h" #include "../ActsAdaptiveMultiPriVtxFinderTool.h"
// DECLARE_COMPONENT( ActsPrimaryVtxFinderAlg ) // DECLARE_COMPONENT( ActsPrimaryVtxFinderAlg )
DECLARE_COMPONENT( ActsAdaptiveMultiPriVtxFinderTool ) DECLARE_COMPONENT( ActsAdaptiveMultiPriVtxFinderTool )
......
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