ATLAS Offline Software
|
Functions | |
def | createComponent (typeName, instanceName, componentType) |
def | createAlgorithm (typeName, instanceName) |
def | createReentrantAlgorithm (typeName, instanceName) |
def | createPublicTool (typeName, toolName) |
def | createService (typeName, serviceName, sequence=None) |
def | addPrivateTool (alg, toolName, typeName) |
def | addPrivateToolInArray (alg, toolName, typeName) |
Variables | |
bool | useComponentAccumulator = False |
bool | isAthena = False |
def python.DualUseConfig.addPrivateTool | ( | alg, | |
toolName, | |||
typeName | |||
) |
Helper function for declaring a private tool for a dual-use algorithm This function is meant to be used in the analysis algorithm sequence configurations for setting up private tools on the analysis algorithms. Private tools that could then be configured with a syntax shared between Athena and EventLoop. Keyword arguments: alg -- The algorithm to set up the private tool on toolName -- The property name with which the tool handle was declared on the algorithm. Also the instance name of the tool. typeName -- The C++ type name of the private tool
Definition at line 180 of file DualUseConfig.py.
def python.DualUseConfig.addPrivateToolInArray | ( | alg, | |
toolName, | |||
typeName | |||
) |
Helper function for declaring a private tool in an array for a dual-use algorithm This function is meant to be used in the analysis algorithm sequence configurations for setting up private tools in arrays on the analysis algorithms. Private tools that could then be configured with a syntax shared between Athena and EventLoop. Keyword arguments: alg -- The algorithm to set up the private tool on toolName -- The property name with which the tool handle was declared on the algorithm. Also the instance name of the tool. typeName -- The C++ type name of the private tool
Definition at line 229 of file DualUseConfig.py.
def python.DualUseConfig.createAlgorithm | ( | typeName, | |
instanceName | |||
) |
Create an algorithm configurable This function is used to create an algorithm "configurable" in a dual-use way, either returning an actual Athena configurable, or an appropriately configured EL::AnaAlgorithmConfig instance. Keyword arguments: typeName -- The C++ type name of the algorithm instanceName -- The instance name of the algorithm to create
Definition at line 56 of file DualUseConfig.py.
def python.DualUseConfig.createComponent | ( | typeName, | |
instanceName, | |||
componentType | |||
) |
Create a generic configurable This function is used to create an component "configurable" in a dual-use way, either returning an actual Athena configurable, or an appropriately configured PythonConfig instance. Keyword arguments: typeName -- The C++ type name of the component instanceName -- The instance name of the component to create componentType -- The type of component in AnalysisBase
Definition at line 16 of file DualUseConfig.py.
def python.DualUseConfig.createPublicTool | ( | typeName, | |
toolName | |||
) |
Helper function for setting up a public tool for a dual-use algorithm This function is meant to be used in the analysis algorithm sequence configurations for setting up public tools on the analysis algorithms. Public tools that could then be configured with a syntax shared between Athena and EventLoop. Keyword arguments: typeName -- The C++ type name of the private tool toolName -- The property name with which the tool handle was declared on the algorithm. Also the instance name of the tool.
Definition at line 84 of file DualUseConfig.py.
def python.DualUseConfig.createReentrantAlgorithm | ( | typeName, | |
instanceName | |||
) |
Create a reentrant algorithm configurable This function is used to create an algorithm "configurable" in a dual-use way, either returning an actual Athena configurable, or an appropriately configured EL::AnaAlgorithmConfig instance. Keyword arguments: typeName -- The C++ type name of the algorithm instanceName -- The instance name of the algorithm to create
Definition at line 70 of file DualUseConfig.py.
def python.DualUseConfig.createService | ( | typeName, | |
serviceName, | |||
sequence = None |
|||
) |
Helper function for setting up a service for a dual-use algorithm This function is meant to be used to set up services in a dual-use manner, particularly for the common CP algorithms. This allows to use the same syntax in EventLoop and Athena, hiding the differences internally. Since in EventLoop the service gets added to a sequence (but in Athena does not), that sequence needs to be passed into this function. Keyword arguments: typeName -- The C++ type name of the service serviceName -- The name with which the service handle was configured on the algorithm. Also the instance name of the service. sequence -- an optional argument of an algorithm sequence to add it to in EventLoop (ignored in Athena)
Definition at line 127 of file DualUseConfig.py.
bool python.DualUseConfig.isAthena = False |
Definition at line 4 of file DualUseConfig.py.
python.DualUseConfig.useComponentAccumulator = False |
Definition at line 3 of file DualUseConfig.py.