6from PyJobTransforms.TransformUtils
import processPreExec, processPreInclude, processPostExec, processPostInclude
11 from AthenaConfiguration.AllConfigFlags
import initConfigFlags
12 flags=initConfigFlags()
14 from LArCafJobs.LArShapeDumperFlags
import addShapeDumpFlags
15 addShapeDumpFlags(flags)
17 commonRunArgsToFlags(runArgs, flags)
19 processPreInclude(runArgs, flags)
20 processPreExec(runArgs, flags)
22 from AthenaConfiguration.TestDefaults
import defaultGeometryTags
23 flags.GeoModel.AtlasVersion = defaultGeometryTags.RUN3
24 flags.LAr.ROD.forceIter=
True
25 flags.LAr.OFCShapeFolder=
"4samples3bins17phases"
26 flags.Input.Files=runArgs.inputBSFile
27 flags.LArShapeDump.outputNtup=
"CELLS"
28 flags.LArShapeDump.doSCReco=runArgs.doReco
31 flags.Trigger.triggerConfig =
'DB'
32 flags.Trigger.L1.doCTP=
True
33 flags.Trigger.L1.doMuon=
False
34 flags.Trigger.L1.doCalo=
False
35 flags.Trigger.L1.doTopo=
False
43 cfg=MainServicesCfg(flags)
44 from AthenaConfiguration.ComponentFactory
import CompFactory
45 cfg.addService(CompFactory.THistSvc(Output=[
"CELLS DATAFILE='"+runArgs.outputNTUP_LARCELLSFile+
"' OPT='RECREATE'",]))
47 from LArCafJobs.LArReadCellsConfig
import LArReadSCCfg
48 cfg.merge(LArReadSCCfg(flags))
50 from LArCafJobs.LArReadCellsConfig
import LArReadCellsCfg
51 cfg.merge(LArReadCellsCfg(flags))
53 processPostInclude(runArgs, flags, cfg)
54 processPostExec(runArgs, flags, cfg)
58 sys.exit(
not sc.isSuccess())