From 6ac7dff0234e759bd717e268ef52a09944c1146f Mon Sep 17 00:00:00 2001 From: Atlas-Software Librarian <Atlas-Software.Librarian@cern.ch> Date: Fri, 8 Apr 2016 17:06:25 +0200 Subject: [PATCH] 'CMakeLists.txt' (NavFourMom-00-04-19) * Tagging NavFourMom-00-04-19. * NavFourMom/selection.xml: Selection fix for root6. --- Event/NavFourMom/CMakeLists.txt | 40 +++++++++++++++++++++++ Event/NavFourMom/NavFourMom/selection.xml | 1 + 2 files changed, 41 insertions(+) create mode 100644 Event/NavFourMom/CMakeLists.txt diff --git a/Event/NavFourMom/CMakeLists.txt b/Event/NavFourMom/CMakeLists.txt new file mode 100644 index 00000000000..44fc45cbb9b --- /dev/null +++ b/Event/NavFourMom/CMakeLists.txt @@ -0,0 +1,40 @@ +################################################################################ +# Package: NavFourMom +################################################################################ + +# Declare the package name: +atlas_subdir( NavFourMom ) + +# Declare the package's dependencies: +atlas_depends_on_subdirs( PUBLIC + Control/CLIDSvc + Control/DataModel + Control/Navigation + Control/SGTools + Event/EventKernel + PRIVATE + Event/FourMom ) + +# External dependencies: +find_package( CLHEP ) +find_package( ROOT COMPONENTS Core Tree MathCore Hist RIO pthread ) + +# Component(s) in the package: +atlas_add_library( NavFourMom + src/*.cxx + PUBLIC_HEADERS NavFourMom + INCLUDE_DIRS ${CLHEP_INCLUDE_DIRS} + PRIVATE_INCLUDE_DIRS ${ROOT_INCLUDE_DIRS} + DEFINITIONS ${CLHEP_DEFINITIONS} + LINK_LIBRARIES ${CLHEP_LIBRARIES} DataModel Navigation SGTools EventKernel + PRIVATE_LINK_LIBRARIES ${ROOT_LIBRARIES} FourMom ) + +atlas_add_dictionary( NavFourMomDict + NavFourMom/NavFourMomDict.h + NavFourMom/selection.xml + INCLUDE_DIRS ${ROOT_INCLUDE_DIRS} ${CLHEP_INCLUDE_DIRS} + LINK_LIBRARIES ${ROOT_LIBRARIES} ${CLHEP_LIBRARIES} DataModel Navigation SGTools EventKernel FourMom NavFourMom + NAVIGABLES DataVector<INavigable4Momentum> DataVector<IParticle> + DATA_LINKS INav4MomAssocs + ELEMENT_LINKS DataVector<I4Momentum> ) + diff --git a/Event/NavFourMom/NavFourMom/selection.xml b/Event/NavFourMom/NavFourMom/selection.xml index 4b4b9f16ded..62a0c774ea3 100644 --- a/Event/NavFourMom/NavFourMom/selection.xml +++ b/Event/NavFourMom/NavFourMom/selection.xml @@ -12,6 +12,7 @@ <field name="m_ownPolicy" transient="true" /> </class> <class name="std::vector<INavigable4Momentum*>" /> + <class name="DataVector_detail::VirtBases<INavigable4Momentum>" /> <class pattern="DataVector*<INavigable4Momentum>" /> <class name="DataVector<IParticle>" id="6A886244-3314-40C7-BA75-2ECB96DDE9EA"/> -- GitLab