3from AthenaConfiguration.AllConfigFlags
import initConfigFlags
4from AthenaConfiguration.DetectorConfigFlags
import enableDetectors
5from AthenaConfiguration.ComponentFactory
import CompFactory
9flags = initConfigFlags()
10flags.Common.MsgSuppression =
False
11flags.Input.Files = [
"myInDetRDO.pool.root"]
12flags.Input.ProcessingTags = []
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 MainServicesCfg
20acc = MainServicesCfg(flags)
23from AtlasGeoModel.GeoModelConfig
import GeoModelCfg
24acc.merge( GeoModelCfg(flags) )
27from AthenaPoolCnvSvc.PoolReadConfig
import PoolReadCfg
28acc.merge( PoolReadCfg(flags) )
30acc.addEventAlgo( CompFactory.InDetRawDataFakeReader(OutputLevel = DEBUG),
31 sequenceName =
'AthAlgSeq' )
35sc = acc.run(flags.Exec.MaxEvents)
36sys.exit(sc.isFailure())