ATLAS Offline Software
Loading...
Searching...
No Matches
trfDecorators.py File Reference

Go to the source code of this file.

Namespaces

namespace  python
namespace  python.trfDecorators

Functions

 python.trfDecorators.silent (func)
 Redirect stdout/err to /dev/null Useful wrapper to get rid of ROOT verbosity... N.B.
 python.trfDecorators.stdTrfExceptionHandler (func)
 Decorator to wrap a transform in outer try: ... except: ...
 python.trfDecorators.sigUsrStackTrace (func)
 Decorator to dump a stack trace when hit by SIGUSR Note that this decorator has to go inside the stdTrfExceptionHandler Or the general exception catcher catches the SigUser exception.
 python.trfDecorators.timelimited (timeout=None, retry=1, timefactor=1.5, sleeptime=10, defaultrc=None)

Variables

 python.trfDecorators.msg = logging.getLogger(__name__)