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

Migrate LArAthenaPool TPCnv unit tests to ComponentAccumulator

LArTPCnv_15.6.7_test - passes (updated reference file)
LArTPCnv_20.1.7.2_test - passes
parent fcbab0ac
No related branches found
No related tags found
No related merge requests found
......@@ -15,13 +15,14 @@ atlas_add_poolcnv_library( LArAthenaPoolPoolCnv
# 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 )
if( ATHENAPOOLUTILITIESTEST_FOUND )
run_tpcnv_legacy_test( LArTPCnv_15.6.7 ESD-15.6.7-data )
run_tpcnv_legacy_test( LArTPCnv_20.1.7.2 ESD-20.1.7.2 )
run_tpcnv_test( LArTPCnv_15.6.7 ESD-15.6.7-data )
run_tpcnv_test( LArTPCnv_20.1.7.2 ESD-20.1.7.2 )
else()
message( WARNING
"Couldn't find AthenaPoolUtilitiesTest. No test(s) set up." )
......
......@@ -17,7 +17,6 @@ Py:ConfigurableDb WARNING -TrigHLTJetHypo: TrigHLTJetHypo.TrigHLTJetHypoConf -
Py:ConfigurableDb WARNING Fix your cmt/requirements file !!
Py:Athena INFO including file "IdDictDetDescrCnv/IdDictDetDescrCnv_joboptions.py"
EventInfoMgtInit: Got release version AtlasOffline-rel_4
Py:IOVDbSvc.CondDB WARNING Failed to extract year from project tag . Guessing run2
Py:IOVDbSvc.CondDB INFO Configuring database instance CONDBR2 based on project tag
Py:IOVDbSvc.CondDB INFO Setting up conditions DB access to instance CONDBR2
Data source lookup using /afs/cern.ch/atlas/software/builds/nightlies/devval/AtlasCore/rel_4/InstallArea/XML/AtlasAuthentication/dblookup.xml file
......
#!/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 = 'esd/ESD-15.6.7-data.pool.root'
keys = [
#LArDigitContainer_p1
'LArDigitContainer_EMClust',
'LArDigitContainer_Thinned',
#LArNoisyROSummary_p1
'LArNoisyROSummary',
]
TPCnvTest(infile, keys, useGeoModelSvc=True)
#!/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 = 'esd/ESD-20.1.7.2.pool.root'
keys = [
#LArNoisyROSummary_p3
'LArNoisyROSummary',
]
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