ATLAS Offline Software
|
Classes | |
class | _dummyJetDef |
Functions | |
def | solveDependencies (jetdef0, flags) |
def | solveGroomingDependencies (groomdef0, flags) |
def | aliasToInputDef (alias, parentjetdef=None, canBeConstit=True) |
def | solveConstitDependencies (constitseq, parentjetdef, inplace=False) |
def | solveInputExternalDependencies (jetinputext, parentjetdef, inplace=False) |
def | prereqToDef (prereq, parentjetdef) |
def | aliasToModDef (alias, parentjetdef) |
def python.DependencyHelper.aliasToInputDef | ( | alias, | |
parentjetdef = None , |
|||
canBeConstit = True |
|||
) |
convert a string alias to a full config object, either a JetInputConstitSeq or a JetInputExternal according to the alias. This also recursively translate all aliases which are dependencies of this alias. All these dependencies are collected into the 'parentjetdef' (JetDefinition ). if canBeConstit==false, the alias is not searched amongst known JetInputConstitSeq (in stdConstitDic),
Definition at line 85 of file DependencyHelper.py.
def python.DependencyHelper.aliasToModDef | ( | alias, | |
parentjetdef | |||
) |
return a JetModifier config object corresponding to alias, also recursively translating all aliases in the dependencies of this JetModifier.
Definition at line 192 of file DependencyHelper.py.
def python.DependencyHelper.prereqToDef | ( | prereq, | |
parentjetdef | |||
) |
translate a prereq string in the form 'type:alias' into a known config object.
Definition at line 181 of file DependencyHelper.py.
def python.DependencyHelper.solveConstitDependencies | ( | constitseq, | |
parentjetdef, | |||
inplace = False |
|||
) |
Recursively translate all aliases appearing in the prereqs of constitseq into proper config objects. All are collected into the parentjetdef for which this JetInputConstitSeq is being configured. Then instantiates all aliases for JetConstitModifier
Definition at line 117 of file DependencyHelper.py.
def python.DependencyHelper.solveDependencies | ( | jetdef0, | |
flags | |||
) |
Retrieve recursively all dependencies described by str aliases (from modifiers, ghosts, etc..) within jetdef0. The aliases are converted in to proper config objects (like JetModifier, JetInputConstit,...) and are collected into a cloned version of jetdef0. The cloned version is returned and contains all the necessary information to build the actual C++ tools and algs. (in particular, the _prereqDic and _prereqOrder internal members of the clone are filled). The cloned version also has its member '._cflags' set to the given config flags (might be used to instantiate the dependencies). If jetdef0.context=='default' than the cloned version has its context set according to flags
Definition at line 20 of file DependencyHelper.py.
def python.DependencyHelper.solveGroomingDependencies | ( | groomdef0, | |
flags | |||
) |
Retrieve all dependencies described by str aliases in groomdef0.modifiers. The aliases are converted in to proper config objects (like JetModifier, JetInputConstit,...) and are collected into a cloned version of groomdef0. The cloned version is returned and contains all the necessary information to build the actual C++ tools and algs. (in particular, the _prereqDic and _prereqOrder internal members of the clone are filled).
Definition at line 64 of file DependencyHelper.py.
def python.DependencyHelper.solveInputExternalDependencies | ( | jetinputext, | |
parentjetdef, | |||
inplace = False |
|||
) |
Recursively translate all aliases appearing in the prereqs of jetinputext into proper config objects. All are collected into the parentjetdef for which this JetInputConstitSeq is being configured.
Definition at line 149 of file DependencyHelper.py.