diff --git a/Event/xAOD/xAODBTaggingAthenaPool/CMakeLists.txt b/Event/xAOD/xAODBTaggingAthenaPool/CMakeLists.txt index e853c21f147b804848f99732212d4ea5c2e4681b..7f370b13b49f821717f9905b62f7ffefa743a14f 100644 --- a/Event/xAOD/xAODBTaggingAthenaPool/CMakeLists.txt +++ b/Event/xAOD/xAODBTaggingAthenaPool/CMakeLists.txt @@ -24,6 +24,7 @@ atlas_add_poolcnv_library( xAODBTaggingAthenaPoolPoolCnv # 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 ) @@ -31,7 +32,7 @@ find_package( AthenaPoolUtilitiesTest ) if( ATHENAPOOLUTILITIESTEST_FOUND ) set( XAODBTAGGINGATHENAPOOL_REFERENCE_TAG xAODBTaggingAthenaPoolReference-01-01-00 ) - run_tpcnv_legacy_test( xAODBTaggingAthenaPool_21.0.79 AOD-21.0.79-full + run_tpcnv_test( xAODBTaggingAthenaPool_21.0.79 AOD-21.0.79-full REQUIRED_LIBRARIES xAODBTaggingAthenaPoolPoolCnv REFERENCE_TAG ${XAODBTAGGINGATHENAPOOL_REFERENCE_TAG} ) else() diff --git a/Event/xAOD/xAODBTaggingAthenaPool/share/xAODBTaggingAthenaPool_21.0.79.ref b/Event/xAOD/xAODBTaggingAthenaPool/share/xAODBTaggingAthenaPool_21.0.79.ref index 2775e0512933640cbf38010ce0e1473adeae4ac3..e3450b73fb7acc056392e73f8b5c00624d37b21c 100644 --- a/Event/xAOD/xAODBTaggingAthenaPool/share/xAODBTaggingAthenaPool_21.0.79.ref +++ b/Event/xAOD/xAODBTaggingAthenaPool/share/xAODBTaggingAthenaPool_21.0.79.ref @@ -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 diff --git a/Event/xAOD/xAODBTaggingAthenaPool/test/xAODBTaggingAthenaPool_21.0.79_test.py b/Event/xAOD/xAODBTaggingAthenaPool/test/xAODBTaggingAthenaPool_21.0.79_test.py new file mode 100755 index 0000000000000000000000000000000000000000..1586a515aae1dfa369c3250a60d6e65c6f36b43e --- /dev/null +++ b/Event/xAOD/xAODBTaggingAthenaPool/test/xAODBTaggingAthenaPool_21.0.79_test.py @@ -0,0 +1,23 @@ +#!/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::BTaggingAuxContainer_v1 + 'BTagging_AntiKt4EMTopo', + + #xAOD::BTaggingTrigAuxContainer_v1 + 'HLT_xAOD__BTaggingContainer_HLTBjetFex', + + #xAOD::BTagVertexAuxContainer_v1 + 'BTagging_AntiKt4EMTopoJFVtx', + 'HLT_xAOD__BTagVertexContainer_BjetVertexFex', + ] + + TPCnvTest(infile, keys)