Skip to content
Snippets Groups Projects
Commit 1404dd88 authored by Attila Krasznahorkay's avatar Attila Krasznahorkay
Browse files

Made AthenaConfiguration compatible with AthAnalysis.

parent b2be19fd
No related branches found
No related tags found
6 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,!39282AthAnalysis Fixes, master branch (2020.12.17.)
......@@ -4,30 +4,31 @@
atlas_subdir( AthenaConfiguration )
# Install files from the package:
atlas_install_python_modules( python/*.py python/iconfTool
atlas_install_python_modules( python/*.py python/iconfTool
POST_BUILD_CMD ${ATLAS_FLAKE8} )
atlas_install_scripts( share/confTool.py python/iconfTool/iconfTool python/CARunner.py)
atlas_add_test( ComponentAccumulatorTest
SCRIPT python -m unittest -v AthenaConfiguration.ComponentAccumulatorTest
POST_EXEC_SCRIPT nopost.sh )
atlas_add_test( AthConfigFlagsTest
SCRIPT python -m unittest AthenaConfiguration.AthConfigFlags
POST_EXEC_SCRIPT nopost.sh )
atlas_add_test( AllConfigFlagsTest_EVNT_test
SCRIPT ${CMAKE_CURRENT_SOURCE_DIR}/python/testAllConfigFlags_EVNT.py
PROPERTIES TIMEOUT 300 )
if( NOT XAOD_ANALYSIS )
atlas_add_test( ComponentAccumulatorTest
SCRIPT python -m unittest -v AthenaConfiguration.ComponentAccumulatorTest
POST_EXEC_SCRIPT nopost.sh )
if( NOT GENERATIONBASE )
atlas_add_test( AllConfigFlagsTest_EVNT_test
SCRIPT ${CMAKE_CURRENT_SOURCE_DIR}/python/testAllConfigFlags_EVNT.py
PROPERTIES TIMEOUT 300 )
endif()
if( NOT GENERATIONBASE AND NOT XAOD_ANALYSIS )
atlas_add_test( AllConfigFlagsTest_HITS_test
SCRIPT ${CMAKE_CURRENT_SOURCE_DIR}/python/testAllConfigFlags_HITS.py
PROPERTIES TIMEOUT 300 )
endif()
if( NOT SIMULATIONBASE AND NOT GENERATIONBASE )
if( NOT SIMULATIONBASE AND NOT GENERATIONBASE AND NOT XAOD_ANALYSIS )
atlas_add_test( AllConfigFlagsTest_RDO_test
SCRIPT ${CMAKE_CURRENT_SOURCE_DIR}/python/testAllConfigFlags_RDO.py
PROPERTIES TIMEOUT 300 )
......@@ -36,4 +37,3 @@ if( NOT SIMULATIONBASE AND NOT GENERATIONBASE )
SCRIPT python -m AthenaConfiguration.AllConfigFlags
POST_EXEC_SCRIPT nopost.sh )
endif()
# Copyright (C) 2002-2020 CERN for the benefit of the ATLAS collaboration
from PyUtils.MetaReader import read_metadata
from AtlasGeoModel.AtlasGeoDBInterface import AtlasGeoDBInterface
from AthenaCommon.Logging import logging
from functools import lru_cache
......@@ -33,6 +32,7 @@ def _initializeGeometryParameters(geoTag):
from PixelGeoModel import PixelGeoDB
from LArGeoAlgsNV import LArGeoDB
from MuonGeoModel import MuonGeoDB
from AtlasGeoModel.AtlasGeoDBInterface import AtlasGeoDBInterface
dbGeomCursor = AtlasGeoDBInterface(geoTag)
dbGeomCursor.ConnectAndBrowseGeoDB()
......
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