ATLAS Offline Software
|
Public Member Functions | |
def | __init__ (self, sequence='AthAlgSeq') |
def | setAsTopLevel (self) |
def | empty (self) |
def | __del__ (self) |
def | __getstate__ (self) |
def | __setstate__ (self, state) |
def | printCondAlgs (self, summariseProps=False, onlyComponents=[], printDefaults=False, printComponentsOnly=False) |
def | printConfig (self, withDetails=False, summariseProps=False, onlyComponents=[], printDefaults=False, printComponentsOnly=False, printSequenceTreeOnly=False, prefix=None) |
def | getIO (self) |
def | addSequence (self, newseq, primary=False, parentName=None) |
def | getSequence (self, sequenceName=None) |
def | setPrivateTools (self, privTool) |
def | popPrivateTools (self, quiet=False) |
def | popToolsAndMerge (self, other) |
def | getCurrentPerfmonDomain (self) |
def | flagPerfmonDomain (self, name) |
def | getInvertedPerfmonDomains (self) |
def | getAlgPerfmonDomain (self, name) |
def | addAlgToPerfmonDomains (self, name, domain, overwrite=False) |
def | printPerfmonDomains (self) |
def | addEventAlgo (self, algorithms, sequenceName=None, primary=False, domain=None) |
def | getEventAlgo (self, name=None) |
def | getEventAlgos (self, seqName=None) |
def | addCondAlgo (self, algo, primary=False, domain=None) |
def | getCondAlgos (self) |
def | getCondAlgo (self, name) |
def | addService (self, newSvc, primary=False, create=False) |
def | addAuditor (self, auditor) |
def | addPublicTool (self, newTool, primary=False) |
def | getPrimary (self) |
def | getPrimaryAndMerge (self, other) |
def | getPublicTools (self) |
def | getPublicTool (self, name=None) |
def | getServices (self) |
def | getService (self, name=None) |
def | getAuditor (self, name) |
def | dropEventAlgo (self, name, sequence="AthAlgSeq") |
def | popEventAlgo (self, name, sequence="AthAlgSeq") |
def | dropCondAlgo (self, name) |
def | dropService (self, name) |
def | dropPublicTool (self, name) |
def | dropAuditor (self, name) |
def | getAppProps (self) |
def | setAppProperty (self, key, value, overwrite=False) |
def | setDebugStage (self, stage) |
def | merge (self, other, sequenceName=None) |
def | wasMerged (self) |
def | store (self, outfile, withDefaultHandles=False) |
def | createApp (self) |
def | gatherProps (self) |
def | run (self, maxEvents=None) |
def | foreach_component (self, path) |
Public Attributes | |
interactive | |
Static Public Attributes | |
debugMode | |
Private Member Functions | |
def | _inspect (self) |
def | _cleanup (self) |
def | _cacheEvict (self) |
def | __getOne (self, allcomps, name=None, typename="???") |
def | __verifyFinalSequencesStructure (self) |
def | _allComponents (self) |
Static Private Attributes | |
_checkUnmerged | |
Definition at line 89 of file ComponentAccumulator.py.
def python.ComponentAccumulator.ComponentAccumulator.__init__ | ( | self, | |
sequence = 'AthAlgSeq' |
|||
) |
Definition at line 96 of file ComponentAccumulator.py.
def python.ComponentAccumulator.ComponentAccumulator.__del__ | ( | self | ) |
Definition at line 187 of file ComponentAccumulator.py.
|
private |
Definition at line 670 of file ComponentAccumulator.py.
def python.ComponentAccumulator.ComponentAccumulator.__getstate__ | ( | self | ) |
Definition at line 203 of file ComponentAccumulator.py.
def python.ComponentAccumulator.ComponentAccumulator.__setstate__ | ( | self, | |
state | |||
) |
Definition at line 209 of file ComponentAccumulator.py.
|
private |
Definition at line 944 of file ComponentAccumulator.py.
|
private |
|
private |
Called by AccumulatorCache when deleting item from cache
Definition at line 198 of file ComponentAccumulator.py.
|
private |
Definition at line 165 of file ComponentAccumulator.py.
|
private |
Definition at line 147 of file ComponentAccumulator.py.
def python.ComponentAccumulator.ComponentAccumulator.addAlgToPerfmonDomains | ( | self, | |
name, | |||
domain, | |||
overwrite = False |
|||
) |
def python.ComponentAccumulator.ComponentAccumulator.addAuditor | ( | self, | |
auditor | |||
) |
Add Auditor to ComponentAccumulator and return the deduplicated instance. This function will also create the required AuditorSvc.
Definition at line 611 of file ComponentAccumulator.py.
def python.ComponentAccumulator.ComponentAccumulator.addCondAlgo | ( | self, | |
algo, | |||
primary = False , |
|||
domain = None |
|||
) |
Add Conditions algorithm
Definition at line 546 of file ComponentAccumulator.py.
def python.ComponentAccumulator.ComponentAccumulator.addEventAlgo | ( | self, | |
algorithms, | |||
sequenceName = None , |
|||
primary = False , |
|||
domain = None |
|||
) |
Definition at line 480 of file ComponentAccumulator.py.
def python.ComponentAccumulator.ComponentAccumulator.addPublicTool | ( | self, | |
newTool, | |||
primary = False |
|||
) |
Add public tool and return the deduplicated instance.
Definition at line 628 of file ComponentAccumulator.py.
def python.ComponentAccumulator.ComponentAccumulator.addSequence | ( | self, | |
newseq, | |||
primary = False , |
|||
parentName = None |
|||
) |
Adds new sequence. If second argument is present then it is added under another sequence
Definition at line 338 of file ComponentAccumulator.py.
def python.ComponentAccumulator.ComponentAccumulator.addService | ( | self, | |
newSvc, | |||
primary = False , |
|||
create = False |
|||
) |
Add service and return the deduplicated instance
Definition at line 582 of file ComponentAccumulator.py.
def python.ComponentAccumulator.ComponentAccumulator.createApp | ( | self | ) |
Definition at line 985 of file ComponentAccumulator.py.
def python.ComponentAccumulator.ComponentAccumulator.dropAuditor | ( | self, | |
name | |||
) |
Definition at line 761 of file ComponentAccumulator.py.
def python.ComponentAccumulator.ComponentAccumulator.dropCondAlgo | ( | self, | |
name | |||
) |
Definition at line 731 of file ComponentAccumulator.py.
def python.ComponentAccumulator.ComponentAccumulator.dropEventAlgo | ( | self, | |
name, | |||
sequence = "AthAlgSeq" |
|||
) |
Definition at line 701 of file ComponentAccumulator.py.
def python.ComponentAccumulator.ComponentAccumulator.dropPublicTool | ( | self, | |
name | |||
) |
Definition at line 751 of file ComponentAccumulator.py.
def python.ComponentAccumulator.ComponentAccumulator.dropService | ( | self, | |
name | |||
) |
Definition at line 741 of file ComponentAccumulator.py.
def python.ComponentAccumulator.ComponentAccumulator.empty | ( | self | ) |
Definition at line 183 of file ComponentAccumulator.py.
def python.ComponentAccumulator.ComponentAccumulator.flagPerfmonDomain | ( | self, | |
name | |||
) |
def python.ComponentAccumulator.ComponentAccumulator.foreach_component | ( | self, | |
path | |||
) |
Utility to set properties of components using wildcards Example: forcomps(ca, "*/HLTTop/*/*Hypo*").OutputLevel=VERBOSE The components name & locations in the CF tree are translated into the unix like path. Components of matching path are taken under consideration in setting the property. If the property is set successfully an INFO message is printed. Else, a warning is printed. The convention for path of nested components is as follows: Sequencer - only the name is used in the path Algorithm - full name - type/instance_name (aka full name) is used PrivateTools - the name of the property + the type/instance_name are added PublicTools - are located under ToolSvc/ and type/instance_name is used Services - located under SvcMgr/ and type/instance_name is used
Definition at line 1199 of file ComponentAccumulator.py.
def python.ComponentAccumulator.ComponentAccumulator.gatherProps | ( | self | ) |
Definition at line 1020 of file ComponentAccumulator.py.
def python.ComponentAccumulator.ComponentAccumulator.getAlgPerfmonDomain | ( | self, | |
name | |||
) |
Return the PerfMon domain of the given algorithm
Definition at line 444 of file ComponentAccumulator.py.
def python.ComponentAccumulator.ComponentAccumulator.getAppProps | ( | self | ) |
Definition at line 771 of file ComponentAccumulator.py.
def python.ComponentAccumulator.ComponentAccumulator.getAuditor | ( | self, | |
name | |||
) |
Retuns a single auditor, exception if not found
Definition at line 697 of file ComponentAccumulator.py.
def python.ComponentAccumulator.ComponentAccumulator.getCondAlgo | ( | self, | |
name | |||
) |
Get conditions algorithm by name
Definition at line 578 of file ComponentAccumulator.py.
def python.ComponentAccumulator.ComponentAccumulator.getCondAlgos | ( | self | ) |
Get all conditions algorithms
Definition at line 574 of file ComponentAccumulator.py.
def python.ComponentAccumulator.ComponentAccumulator.getCurrentPerfmonDomain | ( | self | ) |
Get the current PerfMon domain.
Definition at line 426 of file ComponentAccumulator.py.
def python.ComponentAccumulator.ComponentAccumulator.getEventAlgo | ( | self, | |
name = None |
|||
) |
def python.ComponentAccumulator.ComponentAccumulator.getEventAlgos | ( | self, | |
seqName = None |
|||
) |
def python.ComponentAccumulator.ComponentAccumulator.getInvertedPerfmonDomains | ( | self | ) |
The actual registry keeps "alg":"domain". This function inverts the registry to get "domain":["algs"].
Definition at line 435 of file ComponentAccumulator.py.
def python.ComponentAccumulator.ComponentAccumulator.getIO | ( | self | ) |
Returns information about inputs needed and outputs produced by this CA It is a list of dictionaries containing the: type, key, R / W, the component and name of the property via which it is set
Definition at line 296 of file ComponentAccumulator.py.
def python.ComponentAccumulator.ComponentAccumulator.getPrimary | ( | self | ) |
Get designated primary component
Definition at line 653 of file ComponentAccumulator.py.
def python.ComponentAccumulator.ComponentAccumulator.getPrimaryAndMerge | ( | self, | |
other | |||
) |
Merging in the other accumulator and getting the primary component
Definition at line 662 of file ComponentAccumulator.py.
def python.ComponentAccumulator.ComponentAccumulator.getPublicTool | ( | self, | |
name = None |
|||
) |
Returns single public tool, exception if either not found or to many found
Definition at line 683 of file ComponentAccumulator.py.
def python.ComponentAccumulator.ComponentAccumulator.getPublicTools | ( | self | ) |
Definition at line 680 of file ComponentAccumulator.py.
def python.ComponentAccumulator.ComponentAccumulator.getSequence | ( | self, | |
sequenceName = None |
|||
) |
Definition at line 373 of file ComponentAccumulator.py.
def python.ComponentAccumulator.ComponentAccumulator.getService | ( | self, | |
name = None |
|||
) |
Returns single service, exception if either not found or to many found
Definition at line 690 of file ComponentAccumulator.py.
def python.ComponentAccumulator.ComponentAccumulator.getServices | ( | self | ) |
Definition at line 687 of file ComponentAccumulator.py.
def python.ComponentAccumulator.ComponentAccumulator.merge | ( | self, | |
other, | |||
sequenceName = None |
|||
) |
Merging in the other accumulator
Definition at line 794 of file ComponentAccumulator.py.
def python.ComponentAccumulator.ComponentAccumulator.popEventAlgo | ( | self, | |
name, | |||
sequence = "AthAlgSeq" |
|||
) |
Definition at line 716 of file ComponentAccumulator.py.
def python.ComponentAccumulator.ComponentAccumulator.popPrivateTools | ( | self, | |
quiet = False |
|||
) |
Get the (list of) private AlgTools from this ComponentAccumulator. The CA will not keep any reference to the AlgTool. Throw an exception if no tools are available unless quiet=True.
Definition at line 404 of file ComponentAccumulator.py.
def python.ComponentAccumulator.ComponentAccumulator.popToolsAndMerge | ( | self, | |
other | |||
) |
Merging in the other accumulator and getting the (list of) private AlgTools from this ComponentAccumulator.
Definition at line 415 of file ComponentAccumulator.py.
def python.ComponentAccumulator.ComponentAccumulator.printCondAlgs | ( | self, | |
summariseProps = False , |
|||
onlyComponents = [] , |
|||
printDefaults = False , |
|||
printComponentsOnly = False |
|||
) |
Definition at line 215 of file ComponentAccumulator.py.
def python.ComponentAccumulator.ComponentAccumulator.printConfig | ( | self, | |
withDetails = False , |
|||
summariseProps = False , |
|||
onlyComponents = [] , |
|||
printDefaults = False , |
|||
printComponentsOnly = False , |
|||
printSequenceTreeOnly = False , |
|||
prefix = None |
|||
) |
Definition at line 228 of file ComponentAccumulator.py.
def python.ComponentAccumulator.ComponentAccumulator.printPerfmonDomains | ( | self | ) |
def python.ComponentAccumulator.ComponentAccumulator.run | ( | self, | |
maxEvents = None |
|||
) |
Definition at line 1116 of file ComponentAccumulator.py.
def python.ComponentAccumulator.ComponentAccumulator.setAppProperty | ( | self, | |
key, | |||
value, | |||
overwrite = False |
|||
) |
Definition at line 774 of file ComponentAccumulator.py.
def python.ComponentAccumulator.ComponentAccumulator.setAsTopLevel | ( | self | ) |
Definition at line 144 of file ComponentAccumulator.py.
def python.ComponentAccumulator.ComponentAccumulator.setDebugStage | ( | self, | |
stage | |||
) |
Definition at line 788 of file ComponentAccumulator.py.
def python.ComponentAccumulator.ComponentAccumulator.setPrivateTools | ( | self, | |
privTool | |||
) |
Use this method to carry private AlgTool(s) to the caller when returning this ComponentAccumulator. The method accepts either a single private AlgTool or a list of private AlgTools (typically assigned to ToolHandleArray)
Definition at line 379 of file ComponentAccumulator.py.
def python.ComponentAccumulator.ComponentAccumulator.store | ( | self, | |
outfile, | |||
withDefaultHandles = False |
|||
) |
Saves CA in pickle form when withDefaultHandles is True, also the handles that are not set are saved
Definition at line 966 of file ComponentAccumulator.py.
def python.ComponentAccumulator.ComponentAccumulator.wasMerged | ( | self | ) |
Declares CA as merged This is temporarily needed by HLT and should not be used elsewhere
Definition at line 950 of file ComponentAccumulator.py.
|
private |
Definition at line 120 of file ComponentAccumulator.py.
|
private |
Definition at line 119 of file ComponentAccumulator.py.
|
private |
Definition at line 124 of file ComponentAccumulator.py.
|
staticprivate |
Definition at line 94 of file ComponentAccumulator.py.
|
private |
Definition at line 140 of file ComponentAccumulator.py.
|
private |
Definition at line 121 of file ComponentAccumulator.py.
|
private |
Definition at line 139 of file ComponentAccumulator.py.
|
private |
Definition at line 127 of file ComponentAccumulator.py.
|
private |
Definition at line 141 of file ComponentAccumulator.py.
|
private |
Definition at line 128 of file ComponentAccumulator.py.
|
private |
Definition at line 137 of file ComponentAccumulator.py.
|
private |
Definition at line 138 of file ComponentAccumulator.py.
|
private |
Definition at line 107 of file ComponentAccumulator.py.
|
private |
Definition at line 126 of file ComponentAccumulator.py.
|
private |
Definition at line 125 of file ComponentAccumulator.py.
|
private |
Definition at line 133 of file ComponentAccumulator.py.
|
private |
Definition at line 118 of file ComponentAccumulator.py.
|
private |
Definition at line 122 of file ComponentAccumulator.py.
|
private |
Definition at line 123 of file ComponentAccumulator.py.
|
private |
Definition at line 130 of file ComponentAccumulator.py.
|
private |
Definition at line 136 of file ComponentAccumulator.py.
|
static |
Definition at line 93 of file ComponentAccumulator.py.
python.ComponentAccumulator.ComponentAccumulator.interactive |
Definition at line 142 of file ComponentAccumulator.py.