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
20 flags.Input.TypedCollections=[]
22 flags.Exec.DebugMessageComponents=[
"TagInfoMgr",
28 StreamName=
"EventInfoPoolFile1"
30 from AthenaConfiguration.MainServicesConfig
import MainEvgenServicesCfg
33 from xAODEventInfoCnv.xAODEventInfoCnvConfig
import EventInfoCnvAlgCfg
37 from LArGeoAlgsNV.LArGMConfig
import LArGMCfg
41 from LArCabling.LArCablingConfig
import LArOnOffIdMappingCfg, LArCalibIdMappingCfg,LArFebRodMappingCfg
46 from TileConditions.TileEMScaleConfig
import TileEMScaleCondAlgCfg
49 EventSelector=acc.getService(
"EventSelector")
50 EventSelector.RunNumber = 1
51 EventSelector.EventsPerRun = 0x100000010
52 EventSelector.FirstEvent = 0x100000000
53 EventSelector.EventsPerLB = 1
54 EventSelector.FirstLB = 1
55 EventSelector.InitialTimeStamp = 0
56 EventSelector.TimeStampInterval = 5
59 from EventInfoMgt.TagInfoMgrConfig
import TagInfoMgrCfg
62 acc.addEventAlgo(CompFactory.EventInfoWriter(),sequenceName =
'AthAlgSeq')
64 from OutputStreamAthenaPool.OutputStreamConfig
import OutputStreamCfg
70 MetadataItemList=[
"IOVMetaDataContainer#*"],
75 acc.getService(
"PoolSvc").WriteCatalog =
'file:EventInfoTests_catalog.xml'
79 sys.exit(acc.run(25).isFailure())