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
22 from AthenaConfiguration.MainServicesConfig
import MainServicesCfg
23 acc = MainServicesCfg(flags)
26 from AthenaPoolCnvSvc.PoolReadConfig
import PoolReadCfg
27 acc.merge(PoolReadCfg(flags))
30 from ByteStreamCnvSvc.ByteStreamConfig
import ByteStreamWriteCfg
31 writingAcc = ByteStreamWriteCfg(flags, [
"SCT_RDO_Container#ITkStripRDOs" ] )
32 writingAcc.getService(
"ByteStreamEventStorageOutputSvc").StreamType =
"EventStorage"
33 writingAcc.getService(
"ByteStreamEventStorageOutputSvc").StreamName =
"StreamBSFileOutput"
36 from ITkStripsByteStreamCnv.ITkStripByteStreamCnvConfig
import ITkStripRawContByteStreamToolProviderToolCfg
37 acc.merge(ITkStripRawContByteStreamToolProviderToolCfg(flags))
40 from xAODEventInfoCnv.xAODEventInfoCnvConfig
import EventInfoCnvAlgCfg
41 acc.merge(EventInfoCnvAlgCfg(flags,
42 inputKey=
"McEventInfo",
43 outputKey=
"EventInfo"))