ATLAS Offline Software
|
OLD code that will be completely replaced by globalflags based on JobProperties. More...
Classes | |
class | _TmpC |
class | DataSource |
class | DetGeo |
class | InputFormat |
class | Luminosity |
Public Member Functions | |
def | Print (cls) |
Static Public Attributes | |
Print = classmethod(Print) | |
Static Private Attributes | |
string | _flagPrefix = '_flag_' |
list | _classObjList = [DetGeo,DataSource,InputFormat,Luminosity] |
_tmpC | |
_setMethod = _attr.replace(_flagPrefix,'set_') | |
_isMethod = _attr.replace(_flagPrefix,'is_') | |
OLD code that will be completely replaced by globalflags based on JobProperties.
GlobalFlags : Author Tadashi Maeno, David Rousseau This is class for main jobs configuration flags
Category : DetGeo has states : atlas ctbh6 ctbh8 (ctbh6 and ctbh8 grouped in ctb) Category : DataSource has states : data geant3 geant4 Category : InputFormat has states : zebra pool bytestream
Each category can be set once and only once by the main topOptions. states are mutually exclusive
from RecExCommon.GlobalFlags import GlobalFlags GlobalFlags.DetGeo.set_atlas() # set DetGeo to be atlas (trying to set again the same category will throw an error)
state can be interrogated as follows (by construction, one category is only in one state. Testing a category that has not been set throws an error): if GlobalFlags.DetGeo.is_atlas():
Groupings canbe used to interrogate (no set methods available): if GlobalFlags.DetGeo.is_ctb(): (or of is_ctbh6() and is_ctbh8())
Definition at line 186 of file GlobalFlags.py.
def python.GlobalFlags.GlobalFlags.Print | ( | cls | ) |
Definition at line 279 of file GlobalFlags.py.
|
staticprivate |
Definition at line 241 of file GlobalFlags.py.
|
staticprivate |
Definition at line 189 of file GlobalFlags.py.
|
staticprivate |
Definition at line 275 of file GlobalFlags.py.
|
staticprivate |
Definition at line 273 of file GlobalFlags.py.
|
staticprivate |
Definition at line 271 of file GlobalFlags.py.
|
static |
Definition at line 292 of file GlobalFlags.py.