ATLAS Offline Software
Functions
SimValid_tf Namespace Reference
Functions
def
main
()
def
getTransform
()
Function Documentation
◆
getTransform()
def SimValid_tf.getTransform
(
)
Definition at line
41
of file
SimValid_tf.py
.
41
def
getTransform
():
42
executorSet =
set
()
43
from
SimuJobTransforms.SimTransformUtils
import
addSimValidationSubstep, addHITSValidArguments
44
addSimValidationSubstep
(executorSet)
45
trf =
transform
(executor = executorSet, description =
'ATLAS Validation transform. Inputs must be HITS. Outputs must be histogram files.'
)
46
addAthenaArguments
(trf.parser)
47
addHITSValidArguments
(trf.parser)
48
return
trf
49
50
◆
main()
def SimValid_tf.main
(
)
Definition at line
26
of file
SimValid_tf.py
.
26
def
main
():
27
28
msg.info(
'This is %s'
% sys.argv[0])
29
30
trf =
getTransform
()
31
trf.parseCmdLineArgs(sys.argv[1:])
32
trf.execute()
33
if
'outputFileValidation'
in
trf._argdict
and
trf._argdict[
'outputFileValidation'
].value
is
False
:
34
msg.info(
'Skipping report generation'
)
35
else
:
36
trf.generateReport()
37
38
msg.info(
"%s stopped at %s, trf exit code %d"
% (sys.argv[0], time.asctime(), trf.exitCode))
39
sys.exit(trf.exitCode)
40
python.SimTransformUtils.addSimValidationSubstep
def addSimValidationSubstep(executorSet)
Definition:
SimTransformUtils.py:147
python.SimTransformUtils.addHITSValidArguments
def addHITSValidArguments(parser)
Definition:
SimTransformUtils.py:59
python.trfArgs.addAthenaArguments
def addAthenaArguments(parser, maxEventsDefaultSubstep='first', addValgrind=True, addPerfMon=True, addVTune=True)
Options related to running athena in general TODO: Some way to mask certain options (perExec,...
Definition:
trfArgs.py:59
SimValid_tf.getTransform
def getTransform()
Definition:
SimValid_tf.py:41
Amg::transform
Amg::Vector3D transform(Amg::Vector3D &v, Amg::Transform3D &tr)
Transform a point from a Trasformation3D.
Definition:
GeoPrimitivesHelpers.h:156
CxxUtils::set
constexpr std::enable_if_t< is_bitmask_v< E >, E & > set(E &lhs, E rhs)
Convenience function to set bits in a class enum bitmask.
Definition:
bitmask.h:232
SimValid_tf.main
def main()
Definition:
SimValid_tf.py:26
Generated on Thu Nov 7 2024 22:26:07 for ATLAS Offline Software by
1.8.18