5 from AthenaConfiguration.ComponentAccumulator
import ComponentAccumulator
6 from AthenaConfiguration.ComponentFactory
import CompFactory
7 from AthenaConfiguration.Enums
import LHCPeriod
11 acc.setPrivateTools( CompFactory.ITkStripsRawContByteStreamTool(name=name,**kwargs))
16 if "RawContByteStreamTool" not in kwargs :
18 acc.addPublicTool( CompFactory.ITkStripRawContByteStreamToolProviderTool(name=name,**kwargs))
22 if __name__ ==
"__main__":
23 from AthenaConfiguration.AllConfigFlags
import initConfigFlags
24 from AthenaConfiguration.TestDefaults
import defaultTestFiles
26 flags.Input.isMC =
True
27 flags.Input.Files = defaultTestFiles.RDO_RUN4
28 flags.Detector.GeometryITkStrip =
True
30 flags.ITk.Geometry.AllLocal =
False
34 flags.Exec.OutputLevel=INFO
38 from AthenaConfiguration.MainServicesConfig
import MainServicesCfg
42 from AthenaPoolCnvSvc.PoolReadConfig
import PoolReadCfg
46 from ByteStreamCnvSvc.ByteStreamConfig
import ByteStreamWriteCfg
48 writingAcc.getService(
"ByteStreamEventStorageOutputSvc").StreamType =
"EventStorage"
49 writingAcc.getService(
"ByteStreamEventStorageOutputSvc").StreamName =
"StreamBSFileOutput"
52 if flags.GeoModel.Run
is LHCPeriod.Run4:
55 from StripGeoModelXml.ITkStripGeoModelConfig
import ITkStripReadoutGeometryCfg
57 from AtlasGeoModel.GeoModelConfig
import GeoModelCfg
60 from ITkStripCabling.ITkStripCablingConfig
import ITkStripCablingToolCfg
64 from xAODEventInfoCnv.xAODEventInfoCnvConfig
import EventInfoCnvAlgCfg
66 inputKey=
"McEventInfo",
67 outputKey=
"EventInfo"))