ATLAS Offline Software
Loading...
Searching...
No Matches
python.AnaAlgorithmMeta.AnaAlgorithmMeta Class Reference
Inheritance diagram for python.AnaAlgorithmMeta.AnaAlgorithmMeta:
Collaboration diagram for python.AnaAlgorithmMeta.AnaAlgorithmMeta:

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, stageName, inputPropName, outputPropName, metaConfig, dynConfig)

Static Public Member Functions

 allowedStageNames ()

Public Attributes

 stageName = stageName
 metaConfig = metaConfig
 dynConfig = dynConfig
dict inputPropName = inputPropName
dict outputPropName = outputPropName

Detailed Description

the meta-information for a single algorithm inside AnaAlgSequence

There is a fair amount of meta-information we store for each
algorithm.  Originally we had stored each piece of
meta-information in a separate array (with each entry in each
array corresponding to a different algorithm).  Though now this is
changed to a single array with each entry being a meta-object for
a separate algorithm.

Definition at line 5 of file AnaAlgorithmMeta.py.

Member Typedef Documentation

◆ result

Definition at line 90 of file EDM_MasterSearch.h.

Constructor & Destructor Documentation

◆ __init__()

python.AnaAlgorithmMeta.AnaAlgorithmMeta.__init__ ( self,
stageName,
inputPropName,
outputPropName,
metaConfig,
dynConfig )

Definition at line 16 of file AnaAlgorithmMeta.py.

16 def __init__( self, stageName, inputPropName, outputPropName, metaConfig, dynConfig ):
17
18 if stageName not in self.allowedStageNames() :
19 raise ValueError ('unknown stage name ' + stageName + ' allowed stage names are ' + ', '.join(self.allowedStageNames()))
20
21 self.stageName = stageName
22
23 self.metaConfig = metaConfig
24 self.dynConfig = dynConfig
25
26 if isinstance( inputPropName, dict ):
27 self.inputPropName = inputPropName
28 else:
29 if inputPropName:
30 self.inputPropName = { "default" : inputPropName }
31 else:
32 self.inputPropName = None
33 pass
34 pass
35
36 if isinstance( outputPropName, dict ):
37 self.outputPropName = outputPropName
38 else:
39 if outputPropName:
40 self.outputPropName = { "default" : outputPropName }
41 else:
42 self.outputPropName = None
43 pass
44 pass
45
46 pass
47

Member Function Documentation

◆ allowedStageNames()

python.AnaAlgorithmMeta.AnaAlgorithmMeta.allowedStageNames ( )
static

Definition at line 49 of file AnaAlgorithmMeta.py.

49 def allowedStageNames():
50 return ["prepare", "calibration", "selection", "efficiency", "undefined"]
51

Member Data Documentation

◆ dynConfig

python.AnaAlgorithmMeta.AnaAlgorithmMeta.dynConfig = dynConfig

Definition at line 24 of file AnaAlgorithmMeta.py.

◆ inputPropName

dict python.AnaAlgorithmMeta.AnaAlgorithmMeta.inputPropName = inputPropName

Definition at line 27 of file AnaAlgorithmMeta.py.

◆ metaConfig

python.AnaAlgorithmMeta.AnaAlgorithmMeta.metaConfig = metaConfig

Definition at line 23 of file AnaAlgorithmMeta.py.

◆ outputPropName

dict python.AnaAlgorithmMeta.AnaAlgorithmMeta.outputPropName = outputPropName

Definition at line 37 of file AnaAlgorithmMeta.py.

◆ stageName

python.AnaAlgorithmMeta.AnaAlgorithmMeta.stageName = stageName

Definition at line 21 of file AnaAlgorithmMeta.py.


The documentation for this class was generated from the following file: