ATLAS Offline Software
Functions
LArReadCellsSkeleton Namespace Reference
Functions
def
fromRunArgs
(runArgs)
Function Documentation
◆
fromRunArgs()
def LArReadCellsSkeleton.fromRunArgs
(
runArgs
)
Definition at line
11
of file
LArReadCellsSkeleton.py
.
11
def
fromRunArgs
(runArgs):
12
from
AthenaConfiguration.AllConfigFlags
import
initConfigFlags
13
flags=
initConfigFlags
()
14
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=
"CELLS"
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
38
# To respect --athenaopts
39
flags.fillFromArgs()
40
41
flags.lock()
42
43
cfg=
MainServicesCfg
(flags)
44
from
AthenaConfiguration.ComponentFactory
import
CompFactory
45
cfg.addService(CompFactory.THistSvc(Output=[
"CELLS DATAFILE='"
+runArgs.outputNTUP_LARCELLSFile+
"' OPT='RECREATE'"
,]))
46
cfg.merge(
LArReadCellsCfg
(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
LArReadCellsSkeleton.fromRunArgs
def fromRunArgs(runArgs)
Definition:
LArReadCellsSkeleton.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
LArReadCellsConfig.LArReadCellsCfg
def LArReadCellsCfg(flags)
Definition:
LArReadCellsConfig.py:6
python.AllConfigFlags.initConfigFlags
def initConfigFlags()
Definition:
AllConfigFlags.py:19
Generated on Mon Dec 23 2024 22:02:16 for ATLAS Offline Software by
1.8.18