![]() |
ATLAS Offline Software
|
Public Member Functions | |
| __init__ (self, name, objtype, algoBuilder=None, specs=None, containername=None, filterfn=_condAlwaysPass, prereqs=[]) | |
| name (self) | |
| algoBuilder (self) | |
| basetype (self) | |
| specs (self) | |
| filterfn (self) | |
| prereqs (self) | |
| __str__ (self) | |
| __hash__ (self) | |
| __eq__ (self, other) | |
| __ne__ (self, rhs) | |
Public Attributes | |
| name = name | |
| basetype = objtype | |
| algoBuilder = algoBuilder if algoBuilder is not None else buildNothing | |
| containername = containername | |
| specs = specs | |
| filterfn = filterfn | |
| prereqs = prereqs | |
Static Public Attributes | |
| outputname = make_alias("name") | |
Static Private Attributes | |
| __repr__ = __str__ | |
This class allows to declare primary data sources to jet finding which are typically outside of jet domain.
Such sources can be container of particles (ex: clusters, selection of tracks,...) but also
other object needed by some JetModifier (ex: EventDensity or track-vertex association map).
The class is mainly here to hold a helper function (algoBuilder) in charge of configuring the proper algorithm to build the source.
If this function is None, then we expect the container pre-exists in the evt store.
Arguments to the constructor :
- name : container name in event store
- objtype : the xAODType (ex: xAODType.TruthParticle, xAODType.CaloCluster, ...)
- algoBuilder [optional] : a function returning a configured algorithm which build the container
the function is called as algoBuilder(parentjetdef, specs) where
parentjetdef is the JetDefinition for which this input building is called.
specs is self.specs
If omitted, it is assumed the container pre-exists in the event store.
- specs [optional] : a string (or anything) which specifies some options, and passed to the algoBuilder function
- filterfn : a function taking a CondFlags as argument and deciding if this JetModifier is compatible
with the conditions (same as JetModifier.filterfn )
The function must return a tuple : (bool, "reason of failure")
- prereqs : a list of prerequisites (str) for this input definition. If any, these str must match the name of other existing JetInputExternal instances.
Definition at line 352 of file JetDefinition.py.
| python.JetDefinition.JetInputExternal.__init__ | ( | self, | |
| name, | |||
| objtype, | |||
| algoBuilder = None, | |||
| specs = None, | |||
| containername = None, | |||
| filterfn = _condAlwaysPass, | |||
| prereqs = [] ) |
Definition at line 374 of file JetDefinition.py.
| python.JetDefinition.JetInputExternal.__eq__ | ( | self, | |
| other ) |
Definition at line 422 of file JetDefinition.py.
| python.JetDefinition.JetInputExternal.__hash__ | ( | self | ) |
Definition at line 413 of file JetDefinition.py.
| python.JetDefinition.JetInputExternal.__ne__ | ( | self, | |
| rhs ) |
Definition at line 425 of file JetDefinition.py.
| python.JetDefinition.JetInputExternal.__str__ | ( | self | ) |
Definition at line 410 of file JetDefinition.py.
| python.JetDefinition.JetInputExternal.algoBuilder | ( | self | ) |
Definition at line 396 of file JetDefinition.py.
| python.JetDefinition.JetInputExternal.basetype | ( | self | ) |
Definition at line 398 of file JetDefinition.py.
| python.JetDefinition.JetInputExternal.filterfn | ( | self | ) |
Definition at line 402 of file JetDefinition.py.
| python.JetDefinition.JetInputExternal.name | ( | self | ) |
Definition at line 394 of file JetDefinition.py.
| python.JetDefinition.JetInputExternal.prereqs | ( | self | ) |
Definition at line 404 of file JetDefinition.py.
| python.JetDefinition.JetInputExternal.specs | ( | self | ) |
Definition at line 400 of file JetDefinition.py.
|
staticprivate |
Definition at line 420 of file JetDefinition.py.
| python.JetDefinition.JetInputExternal.algoBuilder = algoBuilder if algoBuilder is not None else buildNothing |
Definition at line 378 of file JetDefinition.py.
| python.JetDefinition.JetInputExternal.basetype = objtype |
Definition at line 376 of file JetDefinition.py.
| python.JetDefinition.JetInputExternal.containername = containername |
Definition at line 384 of file JetDefinition.py.
| python.JetDefinition.JetInputExternal.filterfn = filterfn |
Definition at line 390 of file JetDefinition.py.
| python.JetDefinition.JetInputExternal.name = name |
Definition at line 375 of file JetDefinition.py.
|
static |
Definition at line 407 of file JetDefinition.py.
| python.JetDefinition.JetInputExternal.prereqs = prereqs |
Definition at line 391 of file JetDefinition.py.
| python.JetDefinition.JetInputExternal.specs = specs |
Definition at line 389 of file JetDefinition.py.