ATLAS Offline Software
Loading...
Searching...
No Matches
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
5import 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