![]() |
ATLAS Offline Software
|
Public Types | |
| typedef HLT::TypeInformation::for_each_type_c< typenameEDMLIST::map, my_functor, my_result<>, my_arg< HLT::TypeInformation::get_cont, CONTAINER > >::type | result |
Public Member Functions | |
| __init__ (self, name="AlgSequence") | |
| name (self) | |
| insert (self, index, algOrSeq) | |
| addSelfToJob (self, job) | |
| __getitem__ (self, index) | |
| __getattr__ (self, name) | |
| __delattr__ (self, name) | |
| __iter__ (self) | |
| __iadd__ (self, algOrSeq, index=None) | |
| __eq__ (self, other) | |
| __ne__ (self, other) | |
| __str__ (self) | |
| __len__ (self) | |
Protected Attributes | |
| _name = name | |
| list | _algsAndSequences = [] |
Standalone algorithm sequence This is a light-weight emulation of Athena's AthSequencer class, implementing a simple algorithm sequence for EventLoop jobs.
Definition at line 19 of file PhysicsAnalysis/D3PDTools/AnaAlgorithm/python/AlgSequence.py.
|
inherited |
Definition at line 90 of file EDM_MasterSearch.h.
| python.AlgSequence.AlgSequence.__init__ | ( | self, | |
| name = "AlgSequence" ) |
Algorithm sequence constructor Keyword arguments: name -- The name of the algorithm sequence (for debugging)
Definition at line 26 of file PhysicsAnalysis/D3PDTools/AnaAlgorithm/python/AlgSequence.py.
| python.AlgSequence.AlgSequence.__delattr__ | ( | self, | |
| name ) |
Remove one algorithm/sequence from this sequence, by name
This is to allow removing algorithms (or even sequences) from this
sequence in case that would be needed.
Keyword arguments:
name -- The name of the algorithm/sequence to delete from the
sequence
Definition at line 107 of file PhysicsAnalysis/D3PDTools/AnaAlgorithm/python/AlgSequence.py.
| python.AlgSequence.AlgSequence.__eq__ | ( | self, | |
| other ) |
Check for equality with another object The implementation of this is very simple. We only check that the name of the sequences would match. Keyword arguments: other -- The object to compare this one against
Definition at line 177 of file PhysicsAnalysis/D3PDTools/AnaAlgorithm/python/AlgSequence.py.
| python.AlgSequence.AlgSequence.__getattr__ | ( | self, | |
| name ) |
Access one algorithm/sequence in this sequence, by name
This is to allow modifying the properties of algorithms in a
sequence that was set up centrally.
Keyword arguments:
name -- The name of the algorithm/sequence to look up in the
sequence
Definition at line 86 of file PhysicsAnalysis/D3PDTools/AnaAlgorithm/python/AlgSequence.py.
| python.AlgSequence.AlgSequence.__getitem__ | ( | self, | |
| index ) |
Return one algorithm/sequence from the sequence by index
This is to allow getting the n'th element of an algorithm sequence
(which itself may either be an algorithm or a sequence),
including the n'th element from the back of it if needed.
Keyword arguments:
index -- The index of the algorithm/sequence to get from the
sequence
Definition at line 72 of file PhysicsAnalysis/D3PDTools/AnaAlgorithm/python/AlgSequence.py.
| python.AlgSequence.AlgSequence.__iadd__ | ( | self, | |
| algOrSeq, | |||
| index = None ) |
Add one algorithm/sequence to the sequence This function is used to add one algorithm (or algorithm sequence) to the sequence object, using the '+=' operator. Keyword arguments: algOrSeq -- The algorithm/sequence to add to the sequence
Definition at line 142 of file PhysicsAnalysis/D3PDTools/AnaAlgorithm/python/AlgSequence.py.
| python.AlgSequence.AlgSequence.__iter__ | ( | self | ) |
Create an iterator over all the algorithms of this sequence This is to allow for a Python-like iteration over all algorithms that are part of the sequence. This includes iterating over the algorithms that may be in sub-sequences of this sequence.
Definition at line 131 of file PhysicsAnalysis/D3PDTools/AnaAlgorithm/python/AlgSequence.py.
| python.AlgSequence.AlgSequence.__len__ | ( | self | ) |
Return the size/length of the algorithm sequence Just returning the number of algorithms and sequences that are in this sequence. So this is not a recursive count.
Definition at line 223 of file PhysicsAnalysis/D3PDTools/AnaAlgorithm/python/AlgSequence.py.
| python.AlgSequence.AlgSequence.__ne__ | ( | self, | |
| other ) |
Check for an inequality with another object This is just defined to make the '!=' operator of Python behave consistently with the '==' operator for such objects. Keyword arguments: other -- The object to compare this one against
Definition at line 195 of file PhysicsAnalysis/D3PDTools/AnaAlgorithm/python/AlgSequence.py.
| python.AlgSequence.AlgSequence.__str__ | ( | self | ) |
Print the algorithm sequence in a user-friendly way This function takes care of printing the full configuration of every algorithm in the sequence.
Definition at line 206 of file PhysicsAnalysis/D3PDTools/AnaAlgorithm/python/AlgSequence.py.
| python.AlgSequence.AlgSequence.addSelfToJob | ( | self, | |
| job ) |
add a copy of this config to the EventLoop job object Keyword arguments: job -- The job object to add ourself to
Definition at line 61 of file PhysicsAnalysis/D3PDTools/AnaAlgorithm/python/AlgSequence.py.
| python.AlgSequence.AlgSequence.insert | ( | self, | |
| index, | |||
| algOrSeq ) |
Insert one algorithm/sequence into this sequence This allows us to extend existing sequences with a greater flexibility. Keyword arguments: index -- The index to insert the algorithm/sequence under algOrSeq -- The object to insert
Definition at line 48 of file PhysicsAnalysis/D3PDTools/AnaAlgorithm/python/AlgSequence.py.
| python.AlgSequence.AlgSequence.name | ( | self | ) |
Return the name of this sequence Mainly for debugging purposes, and for when we are embedding one sequence into another one.
Definition at line 39 of file PhysicsAnalysis/D3PDTools/AnaAlgorithm/python/AlgSequence.py.
|
protected |
Definition at line 35 of file PhysicsAnalysis/D3PDTools/AnaAlgorithm/python/AlgSequence.py.
|
protected |
Definition at line 34 of file PhysicsAnalysis/D3PDTools/AnaAlgorithm/python/AlgSequence.py.