Skip to content

GitLab

  • Menu
Projects Groups Snippets
  • Help
    • Help
    • Support
    • Community forum
    • Submit feedback
  • Sign in
  • athena athena
  • Project information
    • Project information
    • Activity
    • Labels
    • Members
  • Repository
    • Repository
    • Files
    • Commits
    • Branches
    • Tags
    • Contributors
    • Graph
    • Compare
    • Locked Files
  • Jira
    • Jira
  • Merge requests 156
    • Merge requests 156
  • Deployments
    • Deployments
    • Releases
  • Packages & Registries
    • Packages & Registries
    • Container Registry
  • Analytics
    • Analytics
    • Value stream
    • Code review
    • Issue
    • Repository
  • Activity
  • Graph
  • Commits
Collapse sidebar
  • atlas
  • athenaathena
  • Merge requests
  • !27411

Update SCT_ConditionsAlgorithms/testConfig.py to run both run2MC and run2Data (ATLASRECTS-2851)

  • Review changes

  • Download
  • Email patches
  • Plain diff
Merged Susumu Oda requested to merge oda/athena:master-ATLASRECTS-2851 into master Oct 23, 2019
  • Overview 6
  • Commits 1
  • Pipelines 1
  • Changes 2

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")

https://gitlab.cern.ch/atlas/athena/blob/9ee0add97d37d34d095aad7a871a44ac61672117/InnerDetector/InDetConditions/SCT_ConditionsAlgorithms/share/testConfig.py#L175

Edited Oct 23, 2019 by Susumu Oda
Assignee
Assign to
Reviewer
Request review from
Time tracking
Source branch: master-ATLASRECTS-2851