Skip to content
Snippets Groups Projects
Commit 8d8d379c authored by scott snyder's avatar scott snyder
Browse files

MuonConfig; Fix tests.

Test input files have moved.  Update test scripts.
Update reference files.
Prevent concurrently-running tests trying to write the same pkl file.
parent 78d4016f
9 merge requests!58791DataQualityConfigurations: Modify L1Calo config for web display,!46784MuonCondInterface: Enable thread-safety checking.,!46776Updated LArMonitoring config file for WD to match new files produced using MT,!45405updated ART test cron job,!42417Draft: DIRE and VINCIA Base Fragments for Pythia 8.3,!28528Revert 63f845ae,!27054Atr20369 210,!26342Monopole: Handle fractionally charged particles,!20742MuonConfig; Fix tests.
#
# Copyright (C) 2002-2018 CERN for the benefit of the ATLAS collaboration
# Copyright (C) 2002-2019 CERN for the benefit of the ATLAS collaboration
#
from AthenaConfiguration.ComponentAccumulator import ComponentAccumulator
from AthenaCommon.Constants import VERBOSE, DEBUG, INFO
......@@ -239,9 +239,14 @@ def muonRdoDecodeTestData( forTrigger = False ):
log.info('Print Config')
cfg.printConfig(withDetails=True)
if forTrigger:
pklName = 'MuonRdoDecode_Cache.pkl'
else:
pklName = 'MuonRdoDecode.pkl'
# Store config as pickle
log.info('Save Config')
with open('MuonRdoDecode.pkl','w') as f:
with open(pklName,'w') as f:
cfg.store(f)
f.close()
......
# Copyright (C) 2002-2018 CERN for the benefit of the ATLAS collaboration
# Copyright (C) 2002-2019 CERN for the benefit of the ATLAS collaboration
# Core configuration
from AthenaConfiguration.ComponentAccumulator import ComponentAccumulator
......@@ -28,7 +28,7 @@ if __name__=="__main__":
from AthenaCommon.Logging import log
log.debug('About to set up Segment Finding.')
ConfigFlags.Input.Files = ["/cvmfs/atlas-nightlies.cern.ch/repo/data/data-art/Tier0ChainTests/q221/21.3/myESD.pool.root"]
ConfigFlags.Input.Files = ["/cvmfs/atlas-nightlies.cern.ch/repo/data/data-art/Tier0ChainTests/q221/21.3/v1/myESD.pool.root"]
ConfigFlags.Muon.doCSCs = False
ConfigFlags.lock()
......
# Copyright (C) 2002-2018 CERN for the benefit of the ATLAS collaboration
# Copyright (C) 2002-2019 CERN for the benefit of the ATLAS collaboration
# This file configures the Muon segment finding. It is based on a few files in the old configuration system:
# Tools, which are configured here:
......@@ -813,7 +813,7 @@ if __name__=="__main__":
from AthenaCommon.Logging import log
log.debug('About to set up Segment Finding.')
ConfigFlags.Input.Files = ["/cvmfs/atlas-nightlies.cern.ch/repo/data/data-art/Tier0ChainTests/q221/21.3/myESD.pool.root"]
ConfigFlags.Input.Files = ["/cvmfs/atlas-nightlies.cern.ch/repo/data/data-art/Tier0ChainTests/q221/21.3/v1/myESD.pool.root"]
ConfigFlags.Input.isMC = True
ConfigFlags.Muon.doCSCs = False
ConfigFlags.lock()
......
This diff is collapsed.
......@@ -10,5 +10,5 @@ else
echo
echo "JOs reading stage finished, launching Athena from pickle file"
echo
athena --threads=1 --evtMax=20 MuonRdoDecode.pkl
athena --threads=1 --evtMax=20 MuonRdoDecode_Cache.pkl
fi
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