ATLAS Offline Software
Toggle main menu visibility
Loading...
Searching...
No Matches
LArCalorimeter
LArRecUtils
python
LArFCalTowerBuilderTool_test.py
Go to the documentation of this file.
1
# Copyright (C) 2002-2025 CERN for the benefit of the ATLAS collaboration
2
3
4
from
AthenaConfiguration.AllConfigFlags
import
initConfigFlags
5
from
AthenaConfiguration.ComponentFactory
import
CompFactory
6
from
AthenaConfiguration.TestDefaults
import
defaultGeometryTags
7
from
AthenaCommon
import
Constants
8
from
Campaigns.Utils
import
Campaign
9
import
sys
10
11
flags=initConfigFlags()
12
#Set a number of flags to avoid input-file peeking
13
flags.Input.isMC=
True
14
flags.Input.RunNumbers=[1]
15
flags.Input.TimeStamps=[0]
16
flags.LAr.doAlign=
False
17
flags.IOVDb.GlobalTag =
'OFLCOND-SDR-BS14T-IBL-06'
18
flags.GeoModel.AtlasVersion=defaultGeometryTags.RUN2
19
flags.Input.Files=[]
20
flags.Input.TypedCollections=[]
21
flags.Input.MCCampaign=Campaign.Unknown
22
flags.lock()
23
24
from
AthenaConfiguration.MainServicesConfig
import
MainEvgenServicesCfg
25
acc=MainEvgenServicesCfg(flags)
26
27
from
LArGeoAlgsNV.LArGMConfig
import
LArGMCfg
28
acc.merge(LArGMCfg(flags))
29
from
TileGeoModel.TileGMConfig
import
TileGMCfg
30
acc.merge(TileGMCfg(flags))
31
32
acc.addPublicTool(CompFactory.LArFCalTowerBuilderTool())
33
acc.addEventAlgo(CompFactory.LArFCalTowerBuilderToolTestAlg (
'towertest'
))
34
35
acc.getService(
"GeoModelSvc"
).OutputLevel=Constants.WARNING
36
37
sys.exit(acc.run(1).isFailure())
Generated on
for ATLAS Offline Software by
1.17.0