3from AthenaConfiguration.AllConfigFlags
import initConfigFlags
4from AthenaConfiguration.DetectorConfigFlags
import enableDetectors
5from AthenaConfiguration.ComponentFactory
import CompFactory
9flags = initConfigFlags()
10flags.Common.MsgSuppression =
False
11flags.Exec.MaxEvents = 20
13flags.GeoModel.AtlasVersion =
"ATLAS-R2-2016-01-00-01"
14flags.IOVDb.GlobalTag =
"OFLCOND-SDR-BS7T-04-00"
15enableDetectors(flags, [
"Pixel",
"SCT",
"TRT"])
19from AthenaConfiguration.MainServicesConfig
import MainEvgenServicesCfg
20acc = MainEvgenServicesCfg(flags)
23from AtlasGeoModel.GeoModelConfig
import GeoModelCfg
24acc.merge( GeoModelCfg(flags) )
27acc.addEventAlgo( CompFactory.InDetRawDataFakeWriter(OutputLevel = DEBUG),
28 sequenceName =
'AthAlgSeq' )
30from OutputStreamAthenaPool.OutputStreamConfig
import OutputStreamCfg
37 "PixelRDO_Container#*",
38 "SCT_RDO_Container#*",
39 "TRT_RDO_Container#*",
41 "PixelRDOElemLinkVec#*",
43 MetadataItemList=[
"IOVMetaDataContainer#*"],
49sc = acc.run(flags.Exec.MaxEvents)
50sys.exit(sc.isFailure())