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

Merge branch 'test.xAODTrigEgammaAthenaPool-20191016' into 'master'

xAODTrigEgammaAthenaPool: Add tests for reading old data.

See merge request atlas/athena!27227
parents bb56ba84 5e2f10af
No related branches found
No related tags found
No related merge requests found
...@@ -15,6 +15,8 @@ atlas_depends_on_subdirs( PRIVATE ...@@ -15,6 +15,8 @@ atlas_depends_on_subdirs( PRIVATE
Event/xAOD/xAODTrigEgamma Event/xAOD/xAODTrigEgamma
GaudiKernel ) GaudiKernel )
atlas_install_joboptions( share/*.py )
# Component(s) in the package: # Component(s) in the package:
atlas_add_poolcnv_library( xAODTrigEgammaAthenaPoolPoolCnv atlas_add_poolcnv_library( xAODTrigEgammaAthenaPoolPoolCnv
src/*.cxx src/*.cxx
...@@ -23,3 +25,34 @@ atlas_add_poolcnv_library( xAODTrigEgammaAthenaPoolPoolCnv ...@@ -23,3 +25,34 @@ atlas_add_poolcnv_library( xAODTrigEgammaAthenaPoolPoolCnv
CNV_PFX xAOD CNV_PFX xAOD
LINK_LIBRARIES AthContainers AthenaKernel AthenaPoolCnvSvcLib AthenaPoolUtilities xAODEgamma xAODTrigEgamma GaudiKernel ) LINK_LIBRARIES AthContainers AthenaKernel AthenaPoolCnvSvcLib AthenaPoolUtilities xAODEgamma xAODTrigEgamma GaudiKernel )
# 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( XAODTRIGEGAMMAATHENAPOOL_REFERENCE_TAG
xAODTrigEgammaAthenaPoolReference-01-00-00 )
#run_tpcnv_test( xAODTrigEgammaAthenaPool_master-20190911 AOD-master-20190911-full
# REQUIRED_LIBRARIES xAODTrigEgammaAthenaPoolPoolCnv
# REFERENCE_TAG ${XAODTRIGEGAMMAATHENAPOOL_REFERENCE_TAG} )
#run_tpcnv_test( xAODTrigEgammaAthenaPool_20.1.7.2 AOD-20.1.7.2-full
# REQUIRED_LIBRARIES xAODTrigEgammaAthenaPoolPoolCnv
# REFERENCE_TAG ${XAODTRIGEGAMMAATHENAPOOL_REFERENCE_TAG} )
#run_tpcnv_test( xAODTrigEgammaAthenaPool_20.7.2.2 AOD-20.7.2.2-full
# REQUIRED_LIBRARIES xAODTrigEgammaAthenaPoolPoolCnv
# REFERENCE_TAG ${XAODTRIGEGAMMAATHENAPOOL_REFERENCE_TAG} )
#run_tpcnv_test( xAODTrigEgammaAthenaPool_20.7.9.9 AOD-20.7.9.9-full
# REQUIRED_LIBRARIES xAODTrigEgammaAthenaPoolPoolCnv
# REFERENCE_TAG ${XAODTRIGEGAMMAATHENAPOOL_REFERENCE_TAG} )
run_tpcnv_test( xAODTrigEgammaAthenaPool_21.0.79 AOD-21.0.79-full
REQUIRED_LIBRARIES xAODTrigEgammaAthenaPoolPoolCnv
REFERENCE_TAG ${XAODTRIGEGAMMAATHENAPOOL_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-21.0.79/AOD-21.0.79-full.pool.root'
keys = [
#xAOD::ElectronTrigAuxContainer_v1
'HLT_xAOD__ElectronContainer_egamma_Electrons',
'HLT_xAOD__ElectronContainer_egamma_Iso_Electrons',
'HLT_xAOD__ElectronContainer_egamma_SC_Electrons',
'HLT_xAOD__ElectronContainer_egamma_SC_Iso_Electrons',
'HLT_xAOD__MuonContainer_MuonEFInfo',
#xAOD::PhotonTrigAuxContainer_v1
'HLT_xAOD__PhotonContainer_egamma_Iso_Photons',
'HLT_xAOD__PhotonContainer_egamma_Photons',
'HLT_xAOD__PhotonContainer_egamma_SC_Iso_Photons',
'HLT_xAOD__PhotonContainer_egamma_SC_Photons',
#xAOD::TrigElectronAuxContainer_v1
'HLT_xAOD__TrigElectronContainer_L2ElectronFex',
]
include ('AthenaPoolUtilities/TPCnvTest.py')
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