ATLAS Offline Software
runargs.py
Go to the documentation of this file.
1 # Copyright (C) 2002-2024 CERN for the benefit of the ATLAS collaboration
2 
3 __author__ = "clat@hep.ph.bham.ac.uk"
4 
5 import os
6 
8  """Dynamic class that holds the run arguments as named members with values."""
9  def __str__(self):
10  myself = 'RunArguments:'
11  for arg in dir(self):
12  if not arg.startswith('__'):
13  myself += '%s %s = %s' % (os.linesep, arg, repr(getattr(self,arg)))
14  return myself
PyAthena::repr
std::string repr(PyObject *o)
returns the string representation of a python object equivalent of calling repr(o) in python
Definition: PyAthenaUtils.cxx:106
beamspotman.dir
string dir
Definition: beamspotman.py:623
python.runargs.RunArguments.__str__
def __str__(self)
Definition: runargs.py:9
python.runargs.RunArguments
Definition: runargs.py:7