ATLAS Offline Software
Functions
LArShapeDumperSkeleton Namespace Reference
Functions
def
fromRunArgs
(runArgs)
Function Documentation
◆
fromRunArgs()
def LArShapeDumperSkeleton.fromRunArgs
(
runArgs
)
Definition at line
11
of file
LArShapeDumperSkeleton.py
.
11
def
fromRunArgs
(runArgs):
12
from
AthenaConfiguration.AllConfigFlags
import
initConfigFlags
13
14
flags=
initConfigFlags
()
15
from
LArCafJobs.LArShapeDumperFlags
import
addShapeDumpFlags
16
addShapeDumpFlags
(flags)
17
18
commonRunArgsToFlags
(runArgs, flags)
19
20
processPreInclude
(runArgs, flags)
21
processPreExec
(runArgs, flags)
22
23
from
AthenaConfiguration.TestDefaults
import
defaultGeometryTags
24
flags.GeoModel.AtlasVersion = defaultGeometryTags.RUN3
25
flags.LAr.ROD.forceIter=
True
26
flags.LAr.OFCShapeFolder=
"4samples3bins17phases"
27
flags.Input.Files=runArgs.inputBSFile
28
flags.LArShapeDump.outputNtup=runArgs.outputNTUP_SAMPLESMONFile
29
30
#protection for LArPEB event:
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
36
37
if
hasattr(runArgs,
"outputNTUP_HECNOISEFile"
):
38
flags.LArShapeDump.HECNoiseNtup=runArgs.outputNTUP_HECNOISEFile
39
40
# To respect --athenaopts
41
flags.fillFromArgs()
42
43
flags.lock()
44
45
cfg=
MainServicesCfg
(flags)
46
cfg.merge(
LArShapeDumperCfg
(flags))
47
48
processPostInclude
(runArgs, flags, cfg)
49
processPostExec
(runArgs, flags, cfg)
50
51
# Run the final accumulator
52
sc = cfg.run()
53
sys.exit(
not
sc.isSuccess())
LArShapeDumperFlags.addShapeDumpFlags
def addShapeDumpFlags(flags)
Definition:
LArShapeDumperFlags.py:5
python.TransformUtils.processPreExec
def processPreExec(runArgs, flags)
Definition:
Tools/PyJobTransforms/python/TransformUtils.py:41
python.TransformUtils.processPostExec
def processPostExec(runArgs, flags, cfg)
Definition:
Tools/PyJobTransforms/python/TransformUtils.py:50
python.TransformUtils.processPostInclude
def processPostInclude(runArgs, flags, cfg)
Definition:
Tools/PyJobTransforms/python/TransformUtils.py:69
python.TransformUtils.processPreInclude
def processPreInclude(runArgs, flags)
Definition:
Tools/PyJobTransforms/python/TransformUtils.py:62
LArShapeDumperSkeleton.fromRunArgs
def fromRunArgs(runArgs)
Definition:
LArShapeDumperSkeleton.py:11
python.MainServicesConfig.MainServicesCfg
def MainServicesCfg(flags, LoopMgr='AthenaEventLoopMgr')
Definition:
MainServicesConfig.py:260
python.CommonRunArgsToFlags.commonRunArgsToFlags
def commonRunArgsToFlags(runArgs, configFlags)
Definition:
CommonRunArgsToFlags.py:12
LArShapeDumperConfig.LArShapeDumperCfg
def LArShapeDumperCfg(flags)
Definition:
LArShapeDumperConfig.py:6
python.AllConfigFlags.initConfigFlags
def initConfigFlags()
Definition:
AllConfigFlags.py:19
Generated on Thu Nov 7 2024 22:17:08 for ATLAS Offline Software by
1.8.18