3 from AthenaConfiguration.ComponentAccumulator
import ComponentAccumulator
4 from AthenaConfiguration.ComponentFactory
import CompFactory
5 from ByteStreamCnvSvc.ByteStreamConfig
import ByteStreamReadCfg
6 from AthenaConfiguration.MainServicesConfig
import MainServicesCfg
10 from LArGeoAlgsNV.LArGMConfig
import LArGMCfg
12 from LArCabling.LArCablingConfig
import LArLATOMEMappingCfg
15 if (
not (ROBList
is None) ):
16 acc.addEventAlgo(CompFactory.LArRawSCDataReadingAlg(name,
17 LATOMEDecoder = CompFactory.LArLATOMEDecoder(
"LArLATOMEDecoder",ProtectSourceId =
True),
22 acc.addEventAlgo(CompFactory.LArRawSCDataReadingAlg(name,
23 LATOMEDecoder = CompFactory.LArLATOMEDecoder(
"LArLATOMEDecoder",ProtectSourceId =
True),
30 return LArRawSCDataReadingCfg(configFlags,name=name,adcCollKey=
"",adcBasCollKey=
"",etCollKey=
"",LArLATOMEHeaderKey=
"",etIdCollKey=etIdCollKey,ROBList=ROBList)
33 if __name__==
"__main__":
35 from AthenaConfiguration.AllConfigFlags
import initConfigFlags
37 from AthenaCommon.Logging
import log
41 from AthenaConfiguration.TestDefaults
import defaultTestFiles
42 flags.LAr.doAlign=
False
43 flags.Exec.OutputLevel=DEBUG
44 flags.Input.Files = defaultTestFiles.RAW_RUN2