Update SCT_ConditionsAlgorithms/testConfig.py to run both run2MC and run2Data (ATLASRECTS-2851)
Update SCT_ConditionsAlgorithms/testConfig.py to run both run2MC and run2Data. Fix a wrong default key in SCT_ConfigurationCondAlg.
For easier future validation of fixes of https://its.cern.ch/jira/browse/ATLASRECTS-2851
setupATLAS
asetup Athena master latest
get_files SCT_ConditionsAlgorithms/testConfig.py
athena.py ./testConfig.py
will show
...
MyConfigTestAlg INFO in execute()
MyConfigTestAlg INFO -----------------------------------------------------------------------
MyConfigTestAlg INFO Number of bad modules = 42
MyConfigTestAlg INFO Number of bad link 0 = 72
MyConfigTestAlg INFO Number of bad link 1 = 84
MyConfigTestAlg INFO Number of bad link both = 0
MyConfigTestAlg INFO Number of bad chips = 93
MyConfigTestAlg INFO Number of bad strips = 27046
MyConfigTestAlg INFO Number of bad strips exclusive = 15005
MyConfigTestAlg INFO Number of bad strips exclusive (ECC, B, ECA) = 4337, 6437, 4231,
MyConfigTestAlg INFO -----------------------------------------------------------------------
...
If you want to use /SCT/DAQ/Config/ChipSlim instead of /SCT/DAQ/Config/Chip, you need to change
sct_ConfigurationConditionsToolSetup.setChannelFolderDb("/SCT/DAQ/Config/Chip")
in ./testConfig.py to
sct_ConfigurationConditionsToolSetup.setChannelFolderDb("/SCT/DAQ/Config/ChipSlim")
Edited by Susumu Oda