2from AthenaConfiguration.ComponentFactory
import CompFactory
4if __name__ ==
"__main__":
6 from AthenaConfiguration.AllConfigFlags
import initConfigFlags
7 flags = initConfigFlags()
8 flags.Input.Files = [
"myRDO.pool.root",]
11 from AthenaConfiguration.MainServicesConfig
import MainServicesCfg
12 from AthenaPoolCnvSvc.PoolReadConfig
import PoolReadCfg
14 cfg=MainServicesCfg(flags)
15 cfg.merge(PoolReadCfg(flags))
17 from LArGeoAlgsNV.LArGMConfig
import LArGMCfg
18 cfg.merge(LArGMCfg(flags))
19 from LArCabling.LArCablingConfig
import LArOnOffIdMappingCfg
20 cfg.merge(LArOnOffIdMappingCfg(flags))
21 cfg.addEventAlgo(CompFactory.DumpLArRawChannels(NtupStream=
"LARRC",OutputFileName=
"",ToLog=
False))
23 cfg.addService(CompFactory.THistSvc(Output = [
"LARRC DATAFILE='LARRC.root', OPT='RECREATE'"]))