5 from AthenaConfiguration.ComponentAccumulator
import ComponentAccumulator
6 from AthenaConfiguration.ComponentFactory
import CompFactory
7 from AthenaConfiguration.Enums
import LHCPeriod
11 acc.setPrivateTools( CompFactory.SCTRawContByteStreamTool(name=name,**kwargs))
16 if "RawContByteStreamTool" not in kwargs :
18 acc.addPublicTool( CompFactory.SCTRawContByteStreamToolProviderTool(name=name,**kwargs))
22 if __name__ ==
"__main__":
23 from AthenaConfiguration.AllConfigFlags
import initConfigFlags
25 flags.Input.isMC =
True
26 flags.Input.Files = [
"/cvmfs/atlas-nightlies.cern.ch/repo/data/data-art/TriggerTest/valid1.110401.PowhegPythia_P2012_ttbar_nonallhad.recon.RDO.e3099_s2578_r7572_tid07644622_00/RDO.07644622._000001.pool.root.1"]
27 flags.IOVDb.GlobalTag =
"OFLCOND-RUN12-SDR-31"
28 flags.Detector.GeometrySCT =
True
31 from AthenaConfiguration.MainServicesConfig
import MainServicesCfg
35 from AthenaPoolCnvSvc.PoolReadConfig
import PoolReadCfg
39 from ByteStreamCnvSvc.ByteStreamConfig
import ByteStreamWriteCfg
41 writingAcc.getService(
"ByteStreamEventStorageOutputSvc").StreamType =
"EventStorage"
42 writingAcc.getService(
"ByteStreamEventStorageOutputSvc").StreamName =
"StreamBSFileOutput"
45 if flags.GeoModel.Run
is not LHCPeriod.Run4:
49 from SCT_GeoModel.SCT_GeoModelConfig
import SCT_ReadoutGeometryCfg
51 from SCT_Cabling.SCT_CablingConfig
import SCT_CablingToolCfg
55 from xAODEventInfoCnv.xAODEventInfoCnvConfig
import EventInfoCnvAlgCfg
57 inputKey=
"McEventInfo",
58 outputKey=
"EventInfo"))