ATLAS Offline Software
Toggle main menu visibility
Loading...
Searching...
No Matches
Calorimeter
CaloRec
python
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
11
from
AthenaConfiguration.AllConfigFlags
import
initConfigFlags
12
from
AthenaConfiguration.ComponentFactory
import
CompFactory
13
from
AthenaConfiguration.TestDefaults
import
defaultGeometryTags
14
from
Campaigns.Utils
import
Campaign
15
16
flags=initConfigFlags()
17
flags.Input.Files=[]
18
flags.Input.isMC=
True
19
flags.IOVDb.GlobalTag =
'OFLCOND-SDR-BS14T-IBL-06'
20
flags.GeoModel.AtlasVersion=defaultGeometryTags.RUN2
21
flags.LAr.doAlign=
False
22
flags.Input.MCCampaign=Campaign.Unknown
23
flags.lock()
24
from
AthenaConfiguration.MainServicesConfig
import
MainServicesCfg
25
acc=MainServicesCfg(flags)
26
27
from
LArGeoAlgsNV.LArGMConfig
import
LArGMCfg
28
from
TileGeoModel.TileGMConfig
import
TileGMCfg
29
30
acc.merge(LArGMCfg(flags))
31
acc.merge(TileGMCfg(flags))
32
33
# Suppress useless GeoModelSvc messages.
34
from
AthenaCommon
import
Constants
35
acc.getService(
"GeoModelSvc"
).OutputLevel=Constants.WARNING
36
37
acc.addEventAlgo(CompFactory.CaloTowerStoreTestAlg (
'towertest'
),sequenceName =
'AthAlgSeq'
)
38
39
acc.run(1)
40
Generated on
for ATLAS Offline Software by
1.17.0