Commit bbe698de authored by Frank Winklmeier's avatar Frank Winklmeier
Browse files

Merge branch 'test.xAODTrigMuonAthenaPool-20191021' into 'master'

xAODTrigMuonAthenaPool: Add tests for reading old data.

See merge request atlas/athena!27379
parents b83c4388 6ce8272a
......@@ -13,6 +13,8 @@ atlas_depends_on_subdirs( PRIVATE
Database/AthenaPOOL/AthenaPoolUtilities
Event/xAOD/xAODTrigMuon )
atlas_install_joboptions( share/*.py )
# Component(s) in the package:
atlas_add_poolcnv_library( xAODTrigMuonAthenaPoolPoolCnv
src/*.cxx
......@@ -21,3 +23,25 @@ atlas_add_poolcnv_library( xAODTrigMuonAthenaPoolPoolCnv
CNV_PFX xAOD
LINK_LIBRARIES AthContainers AthenaKernel AthenaPoolCnvSvcLib AthenaPoolUtilities xAODTrigMuon )
# Set up (a) test(s) for the converter(s):
if( IS_DIRECTORY ${CMAKE_SOURCE_DIR}/Database/AthenaPOOL/AthenaPoolUtilities )
set( AthenaPoolUtilitiesTest_DIR
${CMAKE_SOURCE_DIR}/Database/AthenaPOOL/AthenaPoolUtilities/cmake )
endif()
find_package( AthenaPoolUtilitiesTest )
if( ATHENAPOOLUTILITIESTEST_FOUND )
set( XAODTRIGMONATHENAPOOL_REFERENCE_TAG
xAODTrigMuonAthenaPoolReference-01-00-00 )
run_tpcnv_test( xAODTrigMuonAthenaPool_20.1.7.2 AOD-20.1.7.2-full
REQUIRED_LIBRARIES xAODTrigMuonAthenaPoolPoolCnv
REFERENCE_TAG ${XAODTRIGMONATHENAPOOL_REFERENCE_TAG} )
run_tpcnv_test( xAODTrigMuonAthenaPool_21.0.79 AOD-21.0.79-full
REQUIRED_LIBRARIES xAODTrigMuonAthenaPoolPoolCnv
REFERENCE_TAG ${XAODTRIGMONATHENAPOOL_REFERENCE_TAG} )
else()
message( WARNING "Couldn't find AthenaPoolUtilitiesTest. No test(s) set up." )
endif()
# Copyright (C) 2002-2019 CERN for the benefit of the ATLAS collaboration
infile = 'aod/AOD-20.1.7.2/AOD-20.1.7.2-full.pool.root'
keys = [
#xAOD::L2CombinedMuonAuxContainer
'HLT_xAOD__L2CombinedMuonContainer_MuonL2CBInfo',
#xAOD::L2StandAloneMuonAuxContainer
'HLT_xAOD__L2StandAloneMuonContainer_MuonL2SAInfo',
]
include ('AthenaPoolUtilities/TPCnvTest.py')
# Copyright (C) 2002-2019 CERN for the benefit of the ATLAS collaboration
infile = 'aod/AOD-21.0.79/AOD-21.0.79-full.pool.root'
keys = [
#xAOD::L2CombinedMuonAuxContainer_v1
'HLT_xAOD__L2CombinedMuonContainer_MuonL2CBInfo',
#xAOD::L2StandAloneMuonAuxContainer_v2
'HLT_xAOD__L2StandAloneMuonContainer_MuonL2SAInfo',
]
include ('AthenaPoolUtilities/TPCnvTest.py')
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment