ATLAS Offline Software
Functions
DigiValid_tf Namespace Reference

Functions

def main ()
 
def getTransform ()
 

Function Documentation

◆ getTransform()

def DigiValid_tf.getTransform ( )

Definition at line 41 of file DigiValid_tf.py.

41 def getTransform():
42  executorSet = set()
43  from SimuJobTransforms.SimTransformUtils import addDigiValidationSubstep, addRDOValidArguments
44  addDigiValidationSubstep(executorSet)
45  trf = transform(executor = executorSet, description = 'ATLAS Validation transform. Inputs must be RDO. Outputs must be histogram files.')
46  addAthenaArguments(trf.parser)
47  addRDOValidArguments(trf.parser)
48  return trf
49 
50 

◆ main()

def DigiValid_tf.main ( )

Definition at line 26 of file DigiValid_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 
DigiValid_tf.getTransform
def getTransform()
Definition: DigiValid_tf.py:41
DigiValid_tf.main
def main()
Definition: DigiValid_tf.py:26
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
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
python.SimTransformUtils.addDigiValidationSubstep
def addDigiValidationSubstep(executorSet)
Definition: SimTransformUtils.py:153
python.SimTransformUtils.addRDOValidArguments
def addRDOValidArguments(parser)
Definition: SimTransformUtils.py:64