ATLAS Offline Software
Public Member Functions | Static Public Member Functions | Public Attributes | List of all members
python.AnaAlgorithmMeta.AnaAlgorithmMeta Class Reference
Inheritance diagram for python.AnaAlgorithmMeta.AnaAlgorithmMeta:
Collaboration diagram for python.AnaAlgorithmMeta.AnaAlgorithmMeta:

Public Member Functions

def __init__ (self, stageName, inputPropName, outputPropName, metaConfig, dynConfig)
 

Static Public Member Functions

def allowedStageNames ()
 

Public Attributes

 stageName
 
 metaConfig
 
 dynConfig
 
 inputPropName
 
 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.

Constructor & Destructor Documentation

◆ __init__()

def 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()

def 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

Definition at line 24 of file AnaAlgorithmMeta.py.

◆ inputPropName

python.AnaAlgorithmMeta.AnaAlgorithmMeta.inputPropName

Definition at line 27 of file AnaAlgorithmMeta.py.

◆ metaConfig

python.AnaAlgorithmMeta.AnaAlgorithmMeta.metaConfig

Definition at line 23 of file AnaAlgorithmMeta.py.

◆ outputPropName

python.AnaAlgorithmMeta.AnaAlgorithmMeta.outputPropName

Definition at line 37 of file AnaAlgorithmMeta.py.

◆ stageName

python.AnaAlgorithmMeta.AnaAlgorithmMeta.stageName

Definition at line 21 of file AnaAlgorithmMeta.py.


The documentation for this class was generated from the following file:
TCS::join
std::string join(const std::vector< std::string > &v, const char c=',')
Definition: Trigger/TrigT1/L1Topo/L1TopoCommon/Root/StringUtils.cxx:10
python.processes.powheg.ZZ.ZZ.__init__
def __init__(self, base_directory, **kwargs)
Constructor: all process options are set here.
Definition: ZZ.py:18