ATLAS Offline Software
Loading...
Searching...
No Matches
python.Lib Namespace Reference

Classes

class  PyClidsTestWriter
class  PyReadFatObject
class  PyReadNonThinnedData
class  PySgStressConsumer
class  PySgStressProducer
class  PyWriteThinnedData

Functions

 keep (dec, l, op='set')

Variables

 StatusCode = PyAthena.StatusCode

Function Documentation

◆ keep()

python.Lib.keep ( dec,
l,
op = 'set' )

Definition at line 13 of file AthenaExamples/AthExThinning/python/Lib.py.

13def keep (dec, l, op = 'set'):
14 if op == 'and':
15 opflag = 1
16 elif op == 'or':
17 opflag = 2
18 else:
19 opflag = 0
20 if isinstance (l, list):
21 for i, x in enumerate(l):
22 dec.keep (i, x, opflag)
23 else:
24 dec.keep (l, opflag)
25 return
26
27

Variable Documentation

◆ StatusCode

python.Lib.StatusCode = PyAthena.StatusCode

Definition at line 9 of file AthenaExamples/AthExThinning/python/Lib.py.