Skip to content
Snippets Groups Projects
Commit d34bbb51 authored by John Chapman's avatar John Chapman
Browse files

Migrate xAODEventShapeAthenaPool TPCnv unit tests to ComponentAccumulator

xAODEventShapeAthenaPool_21.0.79_test - passes (reference file updated)
parent fe8979eb
No related branches found
No related tags found
No related merge requests found
......@@ -13,6 +13,7 @@ atlas_add_poolcnv_library( xAODEventShapeAthenaPoolPoolCnv
# Install files from the package.
atlas_install_joboptions( share/*.py )
atlas_install_scripts( test/*.py POST_BUILD_CMD ${ATLAS_FLAKE8} )
# Set up (a) test(s) for the converter(s):
find_package( AthenaPoolUtilitiesTest )
......@@ -20,7 +21,7 @@ find_package( AthenaPoolUtilitiesTest )
if( ATHENAPOOLUTILITIESTEST_FOUND )
set( XAODEVENTSHAPEATHENAPOOL_REFERENCE_TAG
xAODEventShapeAthenaPoolReference-01-00-01 )
run_tpcnv_legacy_test( xAODEventShapeAthenaPool_21.0.79 AOD-21.0.79-full
run_tpcnv_test( xAODEventShapeAthenaPool_21.0.79 AOD-21.0.79-full
REQUIRED_LIBRARIES xAODEventShapeAthenaPoolPoolCnv
REFERENCE_TAG ${XAODEVENTSHAPEATHENAPOOL_REFERENCE_TAG} )
else()
......
......@@ -510,8 +510,6 @@ IOVDbSvc INFO Disconnecting from COOLOFL_TRT/OFLP200
Domain[ROOT_All] INFO -> Access DbDatabase READ [ROOT_All] C634B46D-ECB2-A045-91CC-00A82369D887
Domain[ROOT_All] INFO /home/sss/atlas/DBRelease/current/poolcond/cond09_mc.000070.gen.COND/cond12_data.000029.gen.COND._0001.pool.root
RootDatabase.open INFO /home/sss/atlas/DBRelease/current/poolcond/cond09_mc.000070.gen.COND/cond12_data.000029.gen.COND._0001.pool.root File version:53005
PixelDetectorMa...WARNING Cannot set AlignableTransform for identifier [2.1.0.0.0.-4.256.0] at level 2
PixelDetectorMa...WARNING Subsequent WARNINGS will be printed at DEBUG level.
PixelDetectorMa... INFO Processing IBLDist alignment container with key (/Indet/IBLDist) and alignment folder pointing to /Indet/Align
Domain[ROOT_All] INFO -> Access DbDatabase READ [ROOT_All] D67CA215-C5CB-DF11-954C-000423DC2158
Domain[ROOT_All] INFO /home/sss/atlas/DBRelease/current/poolcond/cond09_mc.000019.gen.COND/cond09_mc.000019.gen.COND._0010.pool.root
......
#!/usr/bin/env python
"""
Copyright (C) 2002-2020 CERN for the benefit of the ATLAS collaboration
"""
from AthenaPoolUtilities.TPCnvTestConfig import TPCnvTest
if __name__ == "__main__":
infile = 'aod/AOD-21.0.79/AOD-21.0.79-full.pool.root'
keys = [
#xAOD::EventShapeAuxInfo_v1
'Kt4EMPFlowEventShape',
'Kt4EMTopoOriginEventShape',
'Kt4LCTopoOriginEventShape',
'NeutralParticleFlowIsoCentralEventShape',
'NeutralParticleFlowIsoForwardEventShape',
'ParticleFlowIsoCentralEventShape',
'ParticleFlowIsoForwardEventShape',
'TopoClusterIsoCentralEventShape',
'TopoClusterIsoForwardEventShape',
'TopoClusterIsoVeryForwardEventShape',
]
TPCnvTest(infile, keys)
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