Loading [MathJax]/extensions/tex2jax.js
ATLAS Offline Software
All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Modules Pages
SystObjectLinkConfig.py
Go to the documentation of this file.
1 # Copyright (C) 2002-2023 CERN for the benefit of the ATLAS collaboration
2 
3 # AnaAlgorithm import(s):
4 from AnalysisAlgorithmsConfig.ConfigBlock import ConfigBlock
5 
6 
7 class SystObjectLinkBlock (ConfigBlock):
8  """the ConfigBlock for linking systematic variation and nominal objects"""
9 
10  def __init__ (self, containerName='') :
11  super (SystObjectLinkBlock, self).__init__ ()
12  self.addOption('containerName', containerName, type=str,
13  noneAction='error',
14  info="the name of the input container.")
15 
16  def makeAlgs (self, config) :
17 
18  alg = config.createAlgorithm('CP::SystObjectLinkerAlg', f'SystObjLinker_{self.containerName}', reentrant=True)
19  alg.input = config.readName (self.containerName)
20 
21 
22 
python.SystObjectLinkConfig.SystObjectLinkBlock.makeAlgs
def makeAlgs(self, config)
Definition: SystObjectLinkConfig.py:16
python.SystObjectLinkConfig.SystObjectLinkBlock
Definition: SystObjectLinkConfig.py:7
python.SystObjectLinkConfig.SystObjectLinkBlock.__init__
def __init__(self, containerName='')
Definition: SystObjectLinkConfig.py:10