ATLAS Offline Software
Loading...
Searching...
No Matches
CaloTowerStore_test.py
Go to the documentation of this file.
1# Copyright (C) 2002-2025 CERN for the benefit of the ATLAS collaboration
2#
3# @file CaloUtils/share/CaloTowerStore_test.py
4# @author scott snyder <snyder@bnl.gov>
5# @date Jul, 2013
6# @brief Regression tests for CaloTowerStore.
7#
8
9
10
11from AthenaConfiguration.AllConfigFlags import initConfigFlags
12from AthenaConfiguration.ComponentFactory import CompFactory
13from AthenaConfiguration.TestDefaults import defaultGeometryTags
14from Campaigns.Utils import Campaign
15
16flags=initConfigFlags()
17flags.Input.Files=[]
18flags.Input.isMC=True
19flags.IOVDb.GlobalTag = 'OFLCOND-SDR-BS14T-IBL-06'
20flags.GeoModel.AtlasVersion=defaultGeometryTags.RUN2
21flags.LAr.doAlign=False
22flags.Input.MCCampaign=Campaign.Unknown
23flags.lock()
24from AthenaConfiguration.MainServicesConfig import MainServicesCfg
25acc=MainServicesCfg(flags)
26
27from LArGeoAlgsNV.LArGMConfig import LArGMCfg
28from TileGeoModel.TileGMConfig import TileGMCfg
29
30acc.merge(LArGMCfg(flags))
31acc.merge(TileGMCfg(flags))
32
33# Suppress useless GeoModelSvc messages.
34from AthenaCommon import Constants
35acc.getService("GeoModelSvc").OutputLevel=Constants.WARNING
36
37acc.addEventAlgo(CompFactory.CaloTowerStoreTestAlg ('towertest'),sequenceName = 'AthAlgSeq')
38
39acc.run(1)
40