4 from AthenaConfiguration.AllConfigFlags
import initConfigFlags
5 from AthenaConfiguration.ComponentFactory
import CompFactory
6 from AthenaConfiguration.TestDefaults
import defaultGeometryTags
7 from AthenaConfiguration.Utils
import setupLoggingLevels
8 from Campaigns.Utils
import Campaign
14 flags.Input.RunNumbers=[1]
15 flags.Input.TimeStamps=[0]
16 flags.IOVDb.GlobalTag =
'OFLCOND-SDR-BS14T-IBL-06'
17 flags.GeoModel.AtlasVersion=defaultGeometryTags.RUN2
18 flags.LAr.doAlign=
False
19 flags.Input.MCCampaign=Campaign.Unknown
21 flags.Input.TypedCollections=[]
23 flags.Exec.DebugMessageComponents=[
"TagInfoMgr",
29 StreamName=
"EventInfoPoolFile1"
31 from AthenaConfiguration.MainServicesConfig
import MainEvgenServicesCfg
34 from xAODEventInfoCnv.xAODEventInfoCnvConfig
import EventInfoCnvAlgCfg
38 from LArGeoAlgsNV.LArGMConfig
import LArGMCfg
42 from LArCabling.LArCablingConfig
import LArOnOffIdMappingCfg, LArCalibIdMappingCfg,LArFebRodMappingCfg
47 from TileConditions.TileEMScaleConfig
import TileEMScaleCondAlgCfg
50 EventSelector=acc.getService(
"EventSelector")
51 EventSelector.RunNumber = 1
52 EventSelector.EventsPerRun = 0x100000010
53 EventSelector.FirstEvent = 0x100000000
54 EventSelector.EventsPerLB = 1
55 EventSelector.FirstLB = 1
56 EventSelector.InitialTimeStamp = 0
57 EventSelector.TimeStampInterval = 5
60 from EventInfoMgt.TagInfoMgrConfig
import TagInfoMgrCfg
63 acc.addEventAlgo(CompFactory.EventInfoWriter(),sequenceName =
'AthAlgSeq')
65 from OutputStreamAthenaPool.OutputStreamConfig
import OutputStreamCfg
71 MetadataItemList=[
"IOVMetaDataContainer#*"],
76 acc.getService(
"PoolSvc").WriteCatalog =
'file:EventInfoTests_catalog.xml'
80 sys.exit(acc.run(25).isFailure())