5if __name__ ==
"__main__":
6 from AthenaConfiguration.AllConfigFlags
import initConfigFlags
7 from AthenaConfiguration.TestDefaults
import defaultTestFiles
8 flags = initConfigFlags()
9 flags.Input.isMC =
True
10 flags.Input.Files = defaultTestFiles.RDO_RUN4
11 flags.Detector.GeometryITkStrip =
True
13 flags.ITk.Geometry.AllLocal =
False
21 from AthenaConfiguration.MainServicesConfig
import MainServicesCfg
22 acc = MainServicesCfg(flags)
25 from AthenaPoolCnvSvc.PoolReadConfig
import PoolReadCfg
26 acc.merge(PoolReadCfg(flags))
29 from ByteStreamCnvSvc.ByteStreamConfig
import ByteStreamWriteCfg
30 writingAcc = ByteStreamWriteCfg(flags, [
"SCT_RDO_Container#ITkStripRDOs" ] )
31 writingAcc.getService(
"ByteStreamEventStorageOutputSvc").StreamType =
"EventStorage"
32 writingAcc.getService(
"ByteStreamEventStorageOutputSvc").StreamName =
"StreamBSFileOutput"
35 from ITkStripsByteStreamCnv.ITkStripByteStreamCnvConfig
import ITkStripRawContByteStreamToolProviderToolCfg
36 acc.merge(ITkStripRawContByteStreamToolProviderToolCfg(flags))
39 from xAODEventInfoCnv.xAODEventInfoCnvConfig
import EventInfoCnvAlgCfg
40 acc.merge(EventInfoCnvAlgCfg(flags,
41 inputKey=
"McEventInfo",
42 outputKey=
"EventInfo"))